mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Added a macro to control what is visible upon opening compiled pdfs
This commit is contained in:
parent
5c64e4e961
commit
c08522abcc
2 changed files with 7 additions and 1 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
version 1.3.0 (xx xxx 201x)
|
version 1.3.0 (xx xxx 201x)
|
||||||
|
- added a macro (\pdfpagemode) to control what is visible upon opening compiled
|
||||||
|
pdfs (assuming pdf reader support), as suggested by U. Stöhr.
|
||||||
|
Possible values include: "UseNone" (only the document), "UseThumbs" (show
|
||||||
|
thumbnails), "UseOutlines" (show bookmarks) and "FullScreen" (open in
|
||||||
|
fullscreen mode).
|
||||||
- added a 3rd, fully optional (can be omitted or left blank) argument to
|
- added a 3rd, fully optional (can be omitted or left blank) argument to
|
||||||
\address to specify a country, as requested on launchpad (launchpad bug
|
\address to specify a country, as requested on launchpad (launchpad bug
|
||||||
#1063995).
|
#1063995).
|
||||||
|
|
|
||||||
|
|
@ -120,6 +120,7 @@
|
||||||
%\fi
|
%\fi
|
||||||
|
|
||||||
% hyper links (hyperref is loaded at the end of the preamble to pass options required by loaded packages such as CJK)
|
% 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}
|
\RequirePackage{url}
|
||||||
\urlstyle{tt}
|
\urlstyle{tt}
|
||||||
\AtEndPreamble{
|
\AtEndPreamble{
|
||||||
|
|
@ -129,7 +130,7 @@
|
||||||
breaklinks,
|
breaklinks,
|
||||||
baseurl = http://,
|
baseurl = http://,
|
||||||
pdfborder = 0 0 0,
|
pdfborder = 0 0 0,
|
||||||
pdfpagemode = UseNone,
|
pdfpagemode = \pdfpagemode,
|
||||||
pdfstartpage = 1,
|
pdfstartpage = 1,
|
||||||
pdfcreator = {\LaTeX{} with 'moderncv' package},
|
pdfcreator = {\LaTeX{} with 'moderncv' package},
|
||||||
% pdfproducer = {\LaTeX{}},% will/should be set automatically to the correct TeX engine used
|
% pdfproducer = {\LaTeX{}},% will/should be set automatically to the correct TeX engine used
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue