Text Formattingtext in wrap figure enviroment

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
allevo
Posts: 49
Joined: Sat Apr 11, 2009 12:09 pm

text in wrap figure enviroment

Post by allevo »

hi!!!!
i put a text in a wrapfigure enviroment as I have been suggested in this forum. but in this text there're a foot note. in the pdf file there're the numbers of note but in botton of the page there aren't the notes.

How i can resolve this problem?

thanks!!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

text in wrap figure enviroment

Post by gmedina »

Hi,

we will need a minimal working example (MWE) showing this undesired behaviour; I ask you for this MWE since the following test code works OK for me (see the resulting pdf file included as an attachment):

Code: Select all

\documentclass{book}
\usepackage{wrapfig}

\begin{document}

\begin{wrapfigure}{r}{5.2cm} 
  \rule{5cm}{2cm}%to simulate an actual figure
  \caption{A test figure}
  \label{fig:testfig}
\end{wrapfigure}
text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text\footnote{a test footnote} text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text\footnote{another test footnote} text text text text text text text text text text text text text text text text text text text text text

\end{document}
Attachments
test.pdf
(14.96 KiB) Downloaded 433 times
1,1,2,3,5,8,13,21,34,55,89,144,233,...
allevo
Posts: 49
Joined: Sat Apr 11, 2009 12:09 pm

text in wrap figure enviroment

Post by allevo »

excuse me!!

Code: Select all

\documentclass{book}

\usepackage{wrapfig}

\begin{document}
\begin{wrapfigure}{r}{0.5 \textwidth}
blablabla lfjf fie feie fdiew
blablabla lfjf fie feie fdiew
blablabla lfjf fie feie fdiew\footnote{fed}
blablabla lfjf fie feie fdiew
blablabla lfjf fie feie fdiew
\end{wrapfigure}
\end{document}
i use the wrap figure enviroment beacuse it is the answere of this tipic http://www.latex-community.org/forum/vi ... =44&t=4866
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

text in wrap figure enviroment

Post by gmedina »

You can use the \footnotemark and \footnotetext commands instead of the standard \footnote command, as the following example shows:

Code: Select all

\documentclass{book}
\usepackage{wrapfig}

\begin{document}

\begin{wrapfigure}{r}{0.5\textwidth}
blablabla lfjf fie feie fdiew
blablabla lfjf fie feie fdiew
blablabla lfjf fie feie fdiew\footnotemark[1]
blablabla lfjf fie feie fdiew
blablabla lfjf fie feie fdiew
\end{wrapfigure}
\footnotetext[1]{fed}
\stepcounter{footnote}%to increase the standard footnote's counter

text text\footnote{a standard test footnote}
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
allevo
Posts: 49
Joined: Sat Apr 11, 2009 12:09 pm

Re: text in wrap figure enviroment

Post by allevo »

thank a million!!!
Post Reply