[OS X TeX] Tinkering with the argument of a \chapter
Ross Moore
ross.moore at mq.edu.au
Mon Oct 24 16:27:22 EDT 2011
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.
>
>>> 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.
>
> 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.
>
>> 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?
LaTeX is the perfect platform to produce enriched PDFs to meet this.
>
> Grateful regards
> --schremmer
Cheers,
Ross
------------------------------------------------------------------------
Ross Moore ross.moore at mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 (0)2 9850 8955
Sydney, Australia 2109 fax: +61 (0)2 9850 8114
------------------------------------------------------------------------
More information about the MacOSX-TeX
mailing list