LaTeX forum ⇒ Text FormattingRotate a footnote marker

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

Rotate a footnote marker

Postby avoyance » Sat Dec 31, 2016 2:00 pm

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?

Tags:

User avatar
Stefan Kottwitz
Site Admin
Posts: 8209
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Sat Dec 31, 2016 2:37 pm

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
Site admin

rais
Posts: 123
Joined: Sun Nov 16, 2014 8:51 pm

Postby rais » Sat Dec 31, 2016 6:40 pm

\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.
  1. \documentclass{article}
  2. \usepackage{rotating}
  3. \let\origfn\thefootnote
  4. \renewcommand{\thefootnote}{\protect\rotatebox[origin=cc]{-90}{\origfn}}
  5. \begin{document}
  6. bla\footnote{blubb}
  7. \end{document}

Happy New Year :)
Rainer


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 4 guests