[OS X TeX] Tinkering with the argument of a \chapter
Alain Schremmer
schremmer.alain at gmail.com
Mon Oct 24 17:47:29 EDT 2011
On Oct 24, 2011, at 4:27 PM, Ross Moore wrote:
> Hi Alain,
>
> On 25/10/2011, at 6:53 AM, Alain Schremmer wrote:
>
>>> Also, if you are using hyperref to create bookmarks and hyperlinks,
>>> then you can specify a plain text (no styling) version for use in
>>> these structures.
>>
>> God forbid. Back at the beginning of my LaTeX affair, I tried to
>> use hyperref. That nearly turned me completely off LaTeX.
>
> It is the use of non-robust macros and mixing style commands with
> content, that makes hyperref seem difficult.
> Once you appreciate that distinction, and develop methods
> to cope, then hyperref adds *a lot* of value to your PDFs.
> Publishing in the future will become entirely electronic
> (for reading on iPad/iPhone, tablet devices, etc.)
> so those features that hyperref supports will become
> a necessity.
Sigh. See below.
>>>> but also understands and preserves
>>>>
>>>> \section[Base Ten]{Base \textsc{Ten}}
>>>>
>>>> But \smaller looks better.
>>>
>>> Look inside the .toc file to see what this approach produces.
>>
>> \@input{../Text-contents/3.aux}
>>
>> \contentsline {chapter}{\numberline {3}Base T{\smaller EN} Place
>> System}{21}
>
> So \smaller is robust already --- I wasn't sure about that.
> Try is with something like \it or \tt instead.
> Then you may see what I'd hoped you would be getting here.
>
\chapter[Base T{\it EN} Place System]{Base T{\it EN} Place System}
seems to do what it is supposed to do in all three places.
>> And, so, why is the latter worse than having \BaseTEN in the aux
>> and toc files?
>
> Provided \smaller is a *relative* sizing command, this will work
> with all the places where you need the logo/name typeset.
> It may *not* (probably!) work for a bookmark --- you'll probably
> get the word 'smaller' and explicit '{' and '}' showing.
That I can easily believe.
>>> Then try again with my robust solution as described above.
>>> You will quickly understand why this is a better approach.
>>
>> I am of course more than certain that you are right but ... here,
>> my reaction is that of a typical student.
>
> If you are producing educational materials, as I'm pretty sure that
> you are, then are you not feeling the push to go fully electronic?
No. My students are provided printed copies by the college. None of
the people downloading from the site have complained. But, yes, going
fully electronics would be nice. Unfortunately,there is this time
problem. So, I am concentrating on the contents.
> LaTeX is the perfect platform to produce enriched PDFs to meet this.
I do have that feeling.
Very grateful regards
--schremmer
More information about the MacOSX-TeX
mailing list