Text FormattingRotate a footnote marker

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
avoyance
Posts: 13
Joined: Sun Feb 13, 2011 1:53 am

Rotate a footnote marker

Post by avoyance »

I tried

\renewcommand{\thefootnote}{\rotatebox[origin=cc]{-90}{footnote}}

but got an error message....so what is the correct way to rotate the footnote marker?

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Rotate a footnote marker

Post by Stefan Kottwitz »

avoyance wrote:but got an error message
It's like calling a doctor on the phone and telling: "I got a symptom." ;-)

What is the error message?

Stefan
LaTeX.org admin
rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

Rotate a footnote marker

Post by rais »

\thefootnote is usually placed in what is called a moving argument.
\rotatebox from the rotating package, however, is fragile (which means it breaks, if placed in a moving argument). Just protect it.

Code: Select all

\documentclass{article}
\usepackage{rotating}
\let\origfn\thefootnote
\renewcommand{\thefootnote}{\protect\rotatebox[origin=cc]{-90}{\origfn}}
\begin{document}
bla\footnote{blubb}
\end{document}
Happy New Year :)
Rainer
Post Reply