GeneralMoving a box upwards

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Laurentius
Posts: 132
Joined: Wed Feb 11, 2009 11:38 pm

Moving a box upwards

Post by Laurentius »

Code: Select all

\documentclass{article}

\begin{document}

Cats and dogs.%
	\newcount\nextfootnote
	\nextfootnote=\thefootnote
	\advance\nextfootnote by 2
	\footnote{Bla bla bla bla bla bla bla. Simplicius, 426:\,32\,sq.\hfill$^{\the\nextfootnote}$\,\box1}

Red and black.\footnotemark
	\setbox1=\hbox{pace Ross.}

\end{document}
This doesn't work. Can it?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Moving a box upwards

Post by cgnieder »

Laurentius wrote:

Code: Select all

\documentclass{article}

\begin{document}

Cats and dogs.%
	\newcount\nextfootnote
	\nextfootnote=\thefootnote
	\advance\nextfootnote by 2
	\footnote{Bla bla bla bla bla bla bla. Simplicius, 426:\,32\,sq.\hfill$^{\the\nextfootnote}$\,\box1}

Red and black.\footnotemark
	\setbox1=\hbox{pace Ross.}

\end{document}
This doesn't work. Can it?
What is it supposed to do?

Regards
site moderator & package author
Laurentius
Posts: 132
Joined: Wed Feb 11, 2009 11:38 pm

Re: Moving a box upwards

Post by Laurentius »

Sorry if that was unclear. I wanted ‘pace Ross’ to appear in the footnote (on the right side of the line). It is really the next footnote, but since there is space in the first note's break-line, I want it to appear there. (See my post on Oxford-style short footnotes.) The problem is that TeX doesn't seem to remember the contents of the box from the last pass. I think I've seen it do that before, but can't remember how.
Post Reply