Atlas - pdf-header.tex
Home / doc / linux-ref / docs / _static Lines: 5 | Size: 1268 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]1% Embed cover page (if any) as first page while keeping named destinations intact 2\usepackage{pdfpages} 3 4% Disable auto-generated LaTeX title page so external cover is page 1 5\AtBeginDocument{\let\maketitle\relax} 6 7% Underline hyperlinks (deferred so hyperref is already loaded) 8\AtBeginDocument{% 9 \hypersetup{ 10 colorlinks=false, 11 pdfborderstyle={/S/U/W 0.5}, 12 allbordercolors={0 0 0} 13 }% 14} 15 16% Running header with book title 17\usepackage{fancyhdr} 18\pagestyle{fancy} 19\fancyhf{} 20\fancyhead[L]{\small\textit{The 0x4248 Linux Systems Reference Manual}} 21\fancyhead[R]{\small\thepage} 22\fancyfoot{} 23\renewcommand{\headrulewidth}{0.4pt} 24% Keep plain style (chapter opening pages) consistent 25\fancypagestyle{plain}{% 26 \fancyhf{} 27 \fancyhead[L]{\small\textit{The 0x4248 Linux Systems Reference Manual}} 28 \fancyhead[R]{\small\thepage} 29 \renewcommand{\headrulewidth}{0.4pt} 30} 31 32% Make \paragraph (h5) and \subparagraph (h6) block-level headings 33\makeatletter 34\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}% 35 {1.5ex \@plus 0.5ex \@minus .2ex}% 36 {0.5ex}% 37 {\normalfont\normalsize\bfseries}} 38\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\z@}% 39 {1.25ex \@plus 0.5ex \@minus .2ex}% 40 {0.4ex}% 41 {\normalfont\normalsize\itshape}} 42\makeatother 43[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.