Text Formattingfootnote number format switches mid-page

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Ovadya
Posts: 6
Joined: Tue Dec 21, 2010 1:09 pm

footnote number format switches mid-page

Post by Ovadya »

Hi,

I encounter a strange error which is new to me: mid-page the footnote numbers turn from superscript to normalsize, both in the main text and in the footnotes. Worse still, there is no error message in the log.

There are also footnote numbers which have the first digit in superscript but the second in normalsize (?), or those with three digits, where the first two are correct. There are occasionally also footnotes entirely in superscript. I am absolutely baffled.

I am using XeLaTeX. The file has been processed numerous times before without this error. I made no significant changes to the text, cannot think of something I did to create this mess.

Any ideas?

Recommended reading 2024:

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

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

jocom
Posts: 25
Joined: Fri May 07, 2010 4:28 pm

Re: footnote number format switches mid-page

Post by jocom »

Hi,

Welcome on this forum.

If you don't provide any code we can't help.
Please give a MWE. Then we can examine it and see where it goes wrong.

jocom
Ovadya
Posts: 6
Joined: Tue Dec 21, 2010 1:09 pm

Re: footnote number format switches mid-page

Post by Ovadya »

I just found the reason. Looking at the preamble, I realised I'd added the xltxtra package (to typeset the logo of XeLaTeX). Removing that package resolved the problem.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

footnote number format switches mid-page

Post by localghost »

Now that the problem is solved, please be so kind and mark the topic (not the last post) accordingly as clearly written in Section 3 of the Board Rules (to be read before posting). Please keep that in mind for the future so that further reminders will not be necessary.


Best regards and welcome to the board
Thorsten
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

footnote number format switches mid-page

Post by frabjous »

If you want to keep the XeLaTeX logo but avoid this problem, load the package like this:

Code: Select all

\usepackage[no-sscript]{xltxtra}
Without that option, xltxtra tries to use special Unicode characters for sub- and superscripts. However, only certain fonts have all of these characters, and if the font you're using does not (--yours apparently has some of them but not all of them--), you'll see the problem you reported.
Post Reply