[OS X TeX] Re: MacOSX-TeX Digest #1997 - 02/06/07
Alan Munn
amunn at msu.edu
Wed Feb 7 20:12:49 CET 2007
At 11:51 AM -0600 2/7/07, Jeffrey J Weimer wrote:
>On Feb 7, 2007, at 11:17 AM, Alan Munn wrote:
>
>>At 11:41 AM -0500 2/7/07, Chabot Denis wrote:
>>>Hi Alan,
>>>
>>>I tried your suggestion but my document would not compile.
>>>
>>...
>>Remove the call to titlesec and instead place the following early
>>in your preamble:
>>
>>\renewcommand\section{\@startsection {section}{1}{\z@}%
>> {-3.5ex \@plus -1ex \@minus -.2ex}%
>> {2.3ex \@plus.2ex}%
>>
>>{\normalfont\Large\bfseries\MakeUppercase}}
>>\makeatother
>
>Out of curiosity and from a principled standpoint, instead of
>mucking about within the section definition, why would the following
>(or its syntactically correct equivalent) not work and/or not be the
>the preferred option?
>
>\let\osection\section%
>\renewcommand{\section}{\osection{{\Large\MakeUppercase\textbf{#1}}}}%
Even with correct syntax It doesn't work. BTW, the correct syntax is:
\renewcommand{\section}[1]{\osection{{\Large\bfseries\MakeUppercase{#1}}}}
It's something to do with how hyperref interacts with MakeUppercase,
but I don't know the actual reason. Otherwise, this would have been
a simpler solution.
Alan
--
Alan Munn
amunn at msu.edu
Department of Linguistics
and Germanic, Slavic, Asian and African Languages Fax. +1-517-432-2736
Michigan State University, East Lansing MI 48824 Tel. +1-517-355-7491
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the macostex-archives
mailing list