fix paper size

This commit is contained in:
David Daily 2024-12-18 02:18:36 -06:00
parent 52cc2c3656
commit 367497aa79
2 changed files with 9 additions and 10 deletions

BIN
main.pdf

Binary file not shown.

View File

@ -1,23 +1,22 @@
\documentclass{article} \documentclass{article}
\usepackage[fontsize=8pt]{fontsize} % will need adjusted if you change the paper size \usepackage[fontsize=12pt]{fontsize} % will need adjusted if you change the paper size
\usepackage{lmodern,fontspec,lipsum,tabularray,qrcode,tikz,parskip,hyperref} \usepackage{lmodern,fontspec,lipsum,tabularray,qrcode,tikz,parskip,hyperref}
\usepackage[% \usepackage[%
papersize={4.25in,2.75in}, papersize={5.5in,4.25in},
bottom=2mm bottom=2mm
]{geometry} ]{geometry}
\setlength{\headsep}{2em} \setlength{\headsep}{2em}
\pagestyle{empty} \pagestyle{empty}
\def\table{% \def\paste{%
\begin{tblr}{% \begin{tblr}{%
column{1}={halign=r}, column{1}={halign=r},
column{2}={halign=l,wd=15em}, % set the width of the writing line here column{2}={halign=l,wd=15em}, % set the width of the writing line here
vline{2}={text=:}, vline{2}={text=:},
hline{2-Z}={2}{dotted}, hline{2-Z}={2}{dotted},
row{2}={abovesep=2em}, row{2-Z}={abovesep=1.5em}}
row{3-Z}={abovesep=1.5em}}
{\LARGE Title}&\\ {\LARGE Title}&\\
{\small Owner}&\\ Owner&\\
Model&\\ Model&\\
Layout&\\ Layout&\\
Switches&\\ Switches&\\
@ -30,9 +29,9 @@
\begin{document} \begin{document}
{\fontfamily{lmss}\selectfont\begin{center} {\fontfamily{lmss}\selectfont\begin{center}
% \setmainfont{[Hellvetica.ttf]} % uncomment if you want a better font % \setmainfont{[Hellvetica.ttf]} % uncomment if you want a better font
\table \paste
\table \paste
\table \paste
\table \paste
\end{center} \end{center}
}\end{document} }\end{document}