Miscellaneous LaTeX notes

From Notes_Wiki
Revision as of 12:34, 10 July 2014 by Saurabh (talk | contribs)

<yambe:breadcrumb>LaTeX</yambe:breadcrumb>

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.


Hiding boxes around pdf exported using hyperref

Sometimes pdf exported using hyperref package have boxes around all links which is not desirable. To prevent box generation use:

\hypersetup{hidelinks}

command to change default configuration. One can also pass hidelinks option while including hyperref package to achieve same effect.


<yambe:breadcrumb>LaTeX</yambe:breadcrumb>