Miscellaneous LaTeX notes

From Notes_Wiki
Revision as of 00:37, 24 November 2012 by Saurabh (talk | contribs) (Created page with "=Miscellaneous LaTeX notes= ==Per chapter table of contents== If we want mini per-Chapter Table of contents before each chapter then we can use 'minitoc' package. When we us...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Miscellaneous LaTeX notes

Per chapter table of contents

If we want mini per-Chapter Table of contents before each chapter then we can use 'minitoc' package. When we use minitoc package we must use '\dominitoc' once before using '\tableofcontents' to initialize package. Then after each '\chapter{}' we can use '\minitoc' to generate per-Chapter mini table of contents.


Embedding fonts at compile time

To embed fonts in pdf at compile time (as required by IEEE, ACM, etc. papers) use 'updmap --edit' command and set

dvipsDownloadBase35 true
pdftexDownloadBase14 true
dvipdfmDownloadBase14 true

Note that sometimes default dvi viewer does not shows fonts correctly. In such cases use 'Okular' to see dvi files properly.