mirror of
https://github.com/wassname/greater_tables_project.git
synced 2026-06-27 18:24:00 +08:00
77 lines
2.3 KiB
TeX
77 lines
2.3 KiB
TeX
% tex header includes
|
|
|
|
|
|
%\usepackage[T1]{fontenc} % Ensures proper character encoding
|
|
%\usepackage{textcomp} % Provides additional symbols
|
|
%\usepackage{newtxtext} % Equivalent to Stix Two Text for text
|
|
%\usepackage{stix2} % GPT says load here Equivalent to Stix Two Math for math
|
|
|
|
\usepackage{amsmath}
|
|
\usepackage{amssymb} % If needed
|
|
|
|
\usepackage{multirow}
|
|
\usepackage{url}
|
|
\usepackage{tikz}
|
|
\usepackage{color}
|
|
|
|
%==============================
|
|
% TikZ Related
|
|
%==============================
|
|
\usetikzlibrary{arrows,calc,positioning,shadows.blur,decorations.pathreplacing}
|
|
\usetikzlibrary{automata}
|
|
\usetikzlibrary{fit}
|
|
\usetikzlibrary{snakes}
|
|
\usetikzlibrary{intersections}
|
|
\usetikzlibrary{decorations.markings,decorations.text, decorations.pathmorphing,decorations.shapes}
|
|
\usetikzlibrary{decorations.fractals,decorations.footprints}
|
|
\usetikzlibrary{graphs}
|
|
\usetikzlibrary{matrix}
|
|
\usetikzlibrary{shapes.geometric}
|
|
\usetikzlibrary{mindmap, shadows}
|
|
\usetikzlibrary{backgrounds}
|
|
\usetikzlibrary{cd}
|
|
|
|
\newcommand{\grtspacer}{\vphantom{lp}}
|
|
|
|
|
|
%==============================
|
|
% Float placement customization
|
|
%==============================
|
|
\usepackage{float} % Required for \floatplacement and [H] (force here)
|
|
|
|
% Default float placement preferences:
|
|
% These set global default positions for all floats of the given type.
|
|
|
|
\floatplacement{table}{h} % Try to place tables "here" by default
|
|
\floatplacement{figure}{t} % Try to place figures at the top of the page
|
|
|
|
% Notes on float specifiers:
|
|
% h = here (if LaTeX thinks it fits)
|
|
% t = top of page
|
|
% b = bottom of page
|
|
% p = on a separate float-only page
|
|
% H = exactly here (requires \usepackage{float})
|
|
|
|
% You can still override per float:
|
|
% \begin{table}[htbp] % Try here, then top, bottom, float page
|
|
% \begin{figure}[H] % Force placement exactly here
|
|
|
|
|
|
%==============================
|
|
% Listing formats
|
|
%==============================
|
|
\usepackage{listings}
|
|
% size: \tiny, \scriptsize, \footnotesize, \small, \normalsize
|
|
\lstset{
|
|
% Uses footnotesize and typewriter font
|
|
basicstyle=\footnotesize\ttfamily,
|
|
% Add other listings options here if needed, e.g.,
|
|
% numbers=left,
|
|
% numberstyle=\tiny,
|
|
% keywordstyle=\color{blue},
|
|
% stringstyle=\color{red},
|
|
% commentstyle=\color{green},
|
|
% breaklines=true,
|
|
% showstringspaces=false,
|
|
}
|