mirror of
https://github.com/saymrwulf/CertTransparencySearch.git
synced 2026-07-30 20:07:44 +00:00
Clean PDF page style headers
This commit is contained in:
parent
d77730390a
commit
4729082938
4 changed files with 8 additions and 8 deletions
|
|
@ -1319,11 +1319,11 @@ def render_latex(args: argparse.Namespace, assessment: HistoricalAssessment) ->
|
|||
r"\hypersetup{colorlinks=true,linkcolor=Accent,urlcolor=Accent,pdfauthor={CertTransparencySearch},pdftitle={Historical Certificate Lineage Analysis}}",
|
||||
r"\setlength{\parindent}{0pt}",
|
||||
r"\setlength{\parskip}{6pt}",
|
||||
r"\setlength{\headheight}{16pt}",
|
||||
r"\setcounter{tocdepth}{2}",
|
||||
r"\pagestyle{fancy}",
|
||||
r"\fancyhf{}",
|
||||
r"\fancyhead[L]{\sffamily\footnotesize Historical Certificate Lineage Analysis}",
|
||||
r"\fancyhead[R]{\sffamily\footnotesize \nouppercase{\leftmark}}",
|
||||
r"\renewcommand{\headrulewidth}{0pt}",
|
||||
r"\fancyfoot[C]{\sffamily\footnotesize \thepage}",
|
||||
r"\titleformat{\section}{\sffamily\bfseries\LARGE\color{Ink}}{\thesection}{0.8em}{}",
|
||||
r"\titleformat{\subsection}{\sffamily\bfseries\Large\color{Ink}}{\thesubsection}{0.8em}{}",
|
||||
|
|
|
|||
|
|
@ -614,11 +614,11 @@ def render_latex(path: Path, report: dict[str, object]) -> None:
|
|||
r"\hypersetup{colorlinks=true,linkcolor=Accent,urlcolor=Accent,pdfauthor={CertTransparencySearch},pdftitle={Consolidated CT, Certificate, and DNS Report}}",
|
||||
r"\setlength{\parindent}{0pt}",
|
||||
r"\setlength{\parskip}{6pt}",
|
||||
r"\setlength{\headheight}{16pt}",
|
||||
r"\setcounter{tocdepth}{2}",
|
||||
r"\pagestyle{fancy}",
|
||||
r"\fancyhf{}",
|
||||
r"\fancyhead[L]{\sffamily\footnotesize Consolidated CT Report}",
|
||||
r"\fancyhead[R]{\sffamily\footnotesize \nouppercase{\leftmark}}",
|
||||
r"\renewcommand{\headrulewidth}{0pt}",
|
||||
r"\fancyfoot[C]{\sffamily\footnotesize \thepage}",
|
||||
r"\titleformat{\section}{\sffamily\bfseries\LARGE\color{Ink}}{\thesection}{0.8em}{}",
|
||||
r"\titleformat{\subsection}{\sffamily\bfseries\Large\color{Ink}}{\thesubsection}{0.8em}{}",
|
||||
|
|
|
|||
|
|
@ -945,11 +945,11 @@ def render_latex(
|
|||
r"\hypersetup{colorlinks=true,linkcolor=Accent,urlcolor=Accent,pdfauthor={CertTransparencySearch},pdftitle={CT and DNS Monograph}}",
|
||||
r"\setlength{\parindent}{0pt}",
|
||||
r"\setlength{\parskip}{6pt}",
|
||||
r"\setlength{\headheight}{16pt}",
|
||||
r"\setcounter{tocdepth}{2}",
|
||||
r"\pagestyle{fancy}",
|
||||
r"\fancyhf{}",
|
||||
r"\fancyhead[L]{\sffamily\footnotesize CT and DNS Monograph}",
|
||||
r"\fancyhead[R]{\sffamily\footnotesize \nouppercase{\leftmark}}",
|
||||
r"\renewcommand{\headrulewidth}{0pt}",
|
||||
r"\fancyfoot[C]{\sffamily\footnotesize \thepage}",
|
||||
r"\titleformat{\section}{\sffamily\bfseries\LARGE\color{Ink}}{\thesection}{0.8em}{}",
|
||||
r"\titleformat{\subsection}{\sffamily\bfseries\Large\color{Ink}}{\thesubsection}{0.8em}{}",
|
||||
|
|
|
|||
|
|
@ -1055,11 +1055,11 @@ def render_latex_report(
|
|||
r"\setlength{\parindent}{0pt}",
|
||||
r"\setlength{\parskip}{6pt}",
|
||||
r"\setlength{\emergencystretch}{3em}",
|
||||
r"\setlength{\headheight}{16pt}",
|
||||
r"\setcounter{tocdepth}{2}",
|
||||
r"\pagestyle{fancy}",
|
||||
r"\fancyhf{}",
|
||||
r"\fancyhead[L]{\sffamily\footnotesize Certificate Transparency Endpoint Atlas}",
|
||||
r"\fancyhead[R]{\sffamily\footnotesize \nouppercase{\leftmark}}",
|
||||
r"\renewcommand{\headrulewidth}{0pt}",
|
||||
r"\fancyfoot[C]{\sffamily\footnotesize \thepage}",
|
||||
r"\titleformat{\section}{\sffamily\bfseries\LARGE\color{Ink}}{\thesection}{0.8em}{}",
|
||||
r"\titleformat{\subsection}{\sffamily\bfseries\Large\color{Ink}}{\thesubsection}{0.8em}{}",
|
||||
|
|
|
|||
Loading…
Reference in a new issue