Re: cutpage
- From: "Ulrich Diez" <ulrich.diez@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 23 Sep 2005 23:10:31 +0200
Dirk Schlimm uttered:
> Now, after trying it out a bit, I've noticed some undesireable behavior
> with Dan's second suggestion: If a footnote appears after the \cutpage
> command, but on the line that still has to be finished, the
> footnotemark is set correctly, but the footnote itself appears only on
> the next page. I can solve this problem, by being careful where to set
> the \cutpage, but it would be nice not to have to worry about this.
I recommend not to end lines of paragraphs that should be
non-ragged with paragraph-breaks or spaces.
> Sample code:
>
> \documentclass[12pt]{article}
>
> \newcommand{\cutpage}{\vadjust{\newpage}}
>
> \begin{document}
>
> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
> nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
> sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
> rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
> ipsum dolor sit amet. Now comes the part with the\footnote{Before cut.}
>
> cut,
> \cutpage
Right after the first footnote, you have 2 empty lines, that means a
paragraph-break. The following paragraph in consequence has
only one ord, the word "cut,". And this following paragraph ends
with a space/a <return> which equals a space.
> this\footnote{After cut.} is after the cut.
> And this is the line which continues happily ever after.
>
> \end{document}
>
> - Dirk
>
I changed your example a little bit. This way it should do what you
expect.
Ulrich
\documentclass[12pt]{article}
\newcommand{\cutpage}{\vadjust{\newpage}}
\begin{document}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
ipsum dolor sit amet. Now comes the part with the\footnote{Before cut.}
cut,%<-line does not end by space!
\cutpage
this\footnote{After cut.} is after the cut.
And this is the line which continues happily ever after.
\end{document}
.
- References:
- cutpage
- From: Dirk Schlimm
- Re: cutpage
- From: Dan
- cutpage
- Prev by Date: Re: bold math with Times body?
- Next by Date: CTAN package update: The Comprehensive LaTeX Symbol List
- Previous by thread: Re: cutpage
- Next by thread: Re: cutpage
- Index(es):
Relevant Pages
|