[XeTeX] Footnote refs

Meho R. meho_r at yahoo.com
Sat Dec 18 21:55:16 CET 2010


> From: Fr. Michael Gilmary <FrMichaelGilmary at maronitemonks.org>
> To: Unicode-based TeX for Mac OS X and other platforms <xetex at tug.org>
> Sent: Saturday, December 18, 2010 21:09:44
> Subject: Re: [XeTeX] Footnote refs
> 
> Meho R. wrote:
> 
> > And another shot:
>>  
> > 
>>  \documentclass{article}
> 
> 
> Thanks, Meho --- the second one worked. I don't know why the first one didn't. 
>But, strangely, what seems to be the problem is in memoir class! Using, as you 
>did, the article > > > class, it worked. I'll post something over on 
>comp.text.tex. I've had a look into the memoir documentation ... but I couldn't 
>get the right things together, it seems.
> 
> Many thanks for the help!
> 
> 
> -- United in adoration of Jesus, 
> 
> 
> fr. michael gilmary, mma
> 
> Most Holy Trinity Monastery
> 67 Dugway Road
> Petersham, MA 01366-9725
> 
> www.MaroniteMonks.org


You're right about memoir, I got the same result as you did. After playing a 
little bit, I redefined separately footnote mark in text and footnote mark in 
footnotes and it seems that this code is working fine with memoir too:


\documentclass{memoir}

\usepackage{fontspec}

\setmainfont[Numbers={OldStyle,Proportional}]{Latin Modern Roman}
\newfontfamily\fnmarkfont{Latin Modern Roman}

\makeatletter

\renewcommand{\@makefnmark}{\mbox{%
\textsuperscript{\fnmarkfont\@thefnmark}}}

\renewcommand\@makefntext[1]{%
\setlength\parindent{1em}%
\noindent
\makebox[1.8em][r]{\textsuperscript{\fnmarkfont\@thefnmark}}{#1}}

\makeatother

\begin{document}

\noindent Test\footnote{Some text 1234567890.}\\
Test\footnote{Some text 1234567890.}\\
Test\footnote{Some text 1234567890.}\\
Test\footnote{Some text 1234567890.}\\
Test\footnote{Some text 1234567890.}\\
Test\footnote{Some text 1234567890.}\\
Test\footnote{Some text 1234567890.}\\
Test\footnote{Some text 1234567890.}\\
Test\footnote{Some text 1234567890.}\\
Test\footnote{Some text 1234567890.}\\
Test\footnote{Some text 1234567890.}\\

\end{document}

usoPreviewPopup

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20101218/2f2458e8/attachment-0001.html>


More information about the XeTeX mailing list