[OS X TeX] Memoir question
Alan Munn
amunn at gmx.com
Sun Jan 8 18:24:22 CET 2012
On Jan 8, 2012, at 7:39 AM, Themis Matsoukas wrote:
> Normally, using \ref inside \chapter, as in \chapter{Derivation of Eq.\ \ref{xyz}} works fine, except when I use \chapterstyle{thatcher}, in which case the reference appears as ??? in the chapter title but correctly in the table of contents. The chapterstyle thatcher forces capitalization of the chapter title and this seems to cause \ref{xyz}. to be read as \ref{XYZ}. Indeed, when I labeled the equation in question in all caps, the reference appeared correctly. I wonder then if there is a way to protect xyz in \ref{xyz} frm being capitalized. I tried the naive {\ref{xyz}} but it did not work.
Can you post a minimal example? The following seems to work as you would expect:
\documentclass{memoir}
\usepackage[utf8]{inputenc}
\chapterstyle{thatcher}
\begin{document}
\tableofcontents
\chapter{A chapter}
\begin{equation}
y = x^{2}
\label{abc}
\end{equation}
\chapter{Another chapter Eq.~\ref{abc}}
\end{document}
Alan
>
> Themis
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
--
Alan Munn
amunn at gmx.com
More information about the macostex-archives
mailing list