🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.tex
Article #209

Re: Some questions, Document outline viewing

#209
From: Stephen Harker
Date: Fri, 13 Mar 1998 00:00
70 lines
4172 bytes
"Geoff Daly" <megdd@alinga.newcastle.edu.au> writes:

> Hey all, I've got a few questions which I don't seem to be able to
> find the answer to in the books that I have.
> 
> 1. Where do I find the codes for various non-math symbols like the
> registered trade mark (R)?  Is there a command/package which prints
> a complete list of these symbols and/or the math symbols and their
> codes for easy reference?

Most of the non-math symbols should be covered in up to date books, in
fact most have not changed since the early versions of LaTeX.  The
symbols you are probably after, since you mention the trade mark
symbol, were added in various releases of LaTeX2e.  These extra
symbols are documented in the file usrguide.tex that should come with
any distribution.  If you don't have this document in source form it
can be obtained in source form, .dvi or PostScript output from a CTAN
ftp server or mirror (such as ctan.unsw.edu.au).  It can be found in
/tex-archive/macros/latex/doc/.  Several other useful pieces of
documentation can be found in /tex-archive/info/.  For example the
subdirectory lshort has a good guide to LaTeX.

> 2. I want to have my subsubsections numbered, and included in my
> table of contents automatically without having to put a
> \addcontentsline.  I also want subsubsubsections.  I'd also like the
> Abstract and other frontmatter 'chapters', and the bibliography in
> the table of contents as well.  Will I have to fiddle with the
> book.cls, or are there packages available?

The level to which sections are included in the table of contents is
controlled by the tocdepth counter.  The book class has the command
\setcounter{tocdepth}}{2}, to increase this just redefine it in the
preamble for your document (or put it in your own .cls file).  For
your needs you should try \setcounter{tocdepth}}{4}, subsubsubsections
are called by \paragraph.  To automatically add the abstract,
frontmatter chapters and bibliography to the toc you will need to
change the definitions, adding the appropriate \addtocontentsline
command in their definitions.  This is best done in your own .cls
file, I don't know of a package that does this but then I fiddled with
the class definitions and did not look for one.

> I'm finding that with large LaTeX documents (200 pages+), something
> like the outline view of Word97 would be handy, where you could move
> chapters, sections, figures, equations, tables, and subdocuments
> around in a tree-like environment under the main tex document.  Does
> anyone know of something appropriate that currently exists?  If I
> were to develop something like this for LaTeX docs would anyone else
> find a use for it?  You see, doing something like that would be
> infinitely more interesting than actually writing the thesis
> itself... :)

For chapters what most people do is use the \include facility.  The
document has a main file that uses \include on the various chapters.
You can then just swap the order of chapters as you like.  You can
then also use the \includeonly command to do partial document
processing, that is only run LaTeX on the chapters you are currently
working on while it recalls the page numbers etc of the other
chapters.

I don't know of anything more directly of a tree/outline nature for
LaTeX, but it is possible that the outline mode of the editor emacs
implements such a scheme.  Although I use emacs I have not ever used
the outline mode.

-- 
Stephen Harker                                        s-harker@adfa.edu.au
School of Physics               Baloney Baffles brains: Eric Frank Russell
University College
UNSW, ADFA
Technical Details
Message-ID: <xlllnuf7e67.fsf@phadfa.ph.adfa.oz.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6dvf99$mio$1@seagoon.newcastle.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10b0c4,234502d13b99951f
X-Google-Attributes: gid10b0c4,public
From: Stephen Harker <sjh@phadfa.ph.adfa.oz.au>
Subject: Re: Some questions, Document outline viewing
Date: 1998/03/13
Message-ID: <xlllnuf7e67.fsf@phadfa.ph.adfa.oz.au>
X-Deja-AN: 333470663
Sender: sjh@phadfa
References: <6dvf99$mio$1@seagoon.newcastle.edu.au>
Organization: School of Physics, ADFA, UNSW, Canberra, Australia
Newsgroups: aus.computers.tex