راهنمای بستهی Hyperref در این مورد توضیح داده.
\pdfbookmark[level]{text}{name}
در راهنما آمده:
\pdfbookmark[level]{text}{name}
در راهنما آمده:
Setting bookmarks
Usually hyperref automatically adds bookmarks for \section and similar macros. But they can
also set manually.
\pdfbookmark[level]{text}{name}
creates a bookmark with the specified text and at the given level (default is 0). As name for
the internal anchor name is used (in conjunction with level). Therefore the name must be unique
(similar to \label).
4 ADDITIONAL USER MACROS 19
\currentpdfbookmark{text}{name}
creates a bookmark at the current level.
\subpdfbookmark{text}{name}
creates a bookmark one step down in the bookmark hierarchy. Internally the current level is
increased by one.
\belowpdfbookmark{text}{name}
creates a bookmark below the current bookmark level. However after the command the current
bookmark level has not changed.
Hint: Package bookmark replaces hyperref’s bookmark organization by a new algorithm:
• Usually only one LATEX run is needed.
• More control over the bookmark appearance (color, font).
• Different bookmark actions are supported (external file links, URLs, …).
Therefore I recommend using this package.
Usually hyperref automatically adds bookmarks for \section and similar macros. But they can
also set manually.
\pdfbookmark[level]{text}{name}
creates a bookmark with the specified text and at the given level (default is 0). As name for
the internal anchor name is used (in conjunction with level). Therefore the name must be unique
(similar to \label).
4 ADDITIONAL USER MACROS 19
\currentpdfbookmark{text}{name}
creates a bookmark at the current level.
\subpdfbookmark{text}{name}
creates a bookmark one step down in the bookmark hierarchy. Internally the current level is
increased by one.
\belowpdfbookmark{text}{name}
creates a bookmark below the current bookmark level. However after the command the current
bookmark level has not changed.
Hint: Package bookmark replaces hyperref’s bookmark organization by a new algorithm:
• Usually only one LATEX run is needed.
• More control over the bookmark appearance (color, font).
• Different bookmark actions are supported (external file links, URLs, …).
Therefore I recommend using this package.