Added a macro to control what is visible upon opening compiled pdfs

This commit is contained in:
Xavier Danaux
2012-12-07 01:48:21 -05:00
parent 5c64e4e961
commit c08522abcc
2 changed files with 7 additions and 1 deletions

View File

@ -120,6 +120,7 @@
%\fi
% hyper links (hyperref is loaded at the end of the preamble to pass options required by loaded packages such as CJK)
\newcommand*\pdfpagemode{UseNone}% do not show thumbnails or bookmarks on opening (on supporting browsers); set \pdfpagemode to "UseOutlines" to show bookmarks
\RequirePackage{url}
\urlstyle{tt}
\AtEndPreamble{
@ -129,7 +130,7 @@
breaklinks,
baseurl = http://,
pdfborder = 0 0 0,
pdfpagemode = UseNone,
pdfpagemode = \pdfpagemode,
pdfstartpage = 1,
pdfcreator = {\LaTeX{} with 'moderncv' package},
% pdfproducer = {\LaTeX{}},% will/should be set automatically to the correct TeX engine used