docs(thesis): resolve review findings and verify examples
This commit is contained in:
@@ -6,13 +6,16 @@
|
||||
\usepackage[dvipsnames]{xcolor}
|
||||
\usepackage{fancyhdr}
|
||||
\usepackage{float}
|
||||
% Let screenshots share a page with their explanation before using float pages.
|
||||
\floatplacement{figure}{htbp}
|
||||
\renewcommand{\topfraction}{0.85}
|
||||
\renewcommand{\textfraction}{0.1}
|
||||
\renewcommand{\floatpagefraction}{0.75}
|
||||
\pagestyle{fancy}
|
||||
\usepackage{seqsplit}
|
||||
|
||||
% Pandoc emits inline code as \texttt{...}. This blunt wrapper keeps long
|
||||
% paths and commands from overflowing PDF table cells.
|
||||
\let\origtexttt\texttt
|
||||
\renewcommand{\texttt}[1]{{\origtexttt{\seqsplit{#1}}}}
|
||||
% Keep inline identifiers intact. Move unusually long paths to a code block
|
||||
% or shorten their prose label instead of splitting callable names mid-word.
|
||||
% Libertinus Mono permits ordinary word hyphenation, so disable that too.
|
||||
\DeclareTextFontCommand{\texttt}{\ttfamily\hyphenchar\font=-1\relax}
|
||||
|
||||
\usepackage{fvextra}
|
||||
\fvset{breaklines=true, breaknonspaceingroup=true, breakanywhere=true}
|
||||
|
||||
Reference in New Issue
Block a user