[OS X TeX] Re: MacOSX-TeX Digest #1997 - 02/06/07

Jeffrey J Weimer weimerj at email.uah.edu
Wed Feb 7 12:51:18 EST 2007


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}}}}%

--
J. J. Weimer, Chemistry / Chemical & Materials Engineering
University of Alabama in Huntsville, MSB 125, 301 Sparkman Dr
Huntsville, AL 35899                phone: 256-824-6954



------------------------- 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 MacOSX-TeX mailing list