Skip to content

Commit

Permalink
margins ready for prensas unizar
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiomtzlosa committed Sep 20, 2024
1 parent 64e529f commit 4c1b728
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
Binary file modified report.pdf
Binary file not shown.
3 changes: 3 additions & 0 deletions report.tex
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
\twosidelayout % default twoside layout active
%\onesidelayout % equivalent to \twosidelayout[false]

%\printunizartrue % margins READY to print by PRENSAS UNIZAR
\printunizarfalse % margins NOT READY to print by PRENSAS UNIZAR

\checkforceprintable

\input{utils/imports}
Expand Down
17 changes: 16 additions & 1 deletion utils/imports.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,22 @@
%\usepackage{courier}
\usepackage{booktabs}
%\usepackage[a4paper, margin=2.2cm]{geometry}
\usepackage[a4paper, tmargin=2.2cm, lmargin=2.2cm, rmargin=2.2cm, bmargin=1.0in]{geometry}

\ifprintunizar
\usepackage[a4paper,
tmargin=45mm,
lmargin=40mm,
textwidth=130mm,
textheight=210mm,
headsep=5mm]{geometry}
\else
\usepackage[a4paper,
tmargin=2.2cm,
lmargin=2.2cm,
rmargin=2.2cm,
bmargin=1.0in]{geometry}
\fi

%\usepackage[letterpaper,margin=2.2cm]{geometry}
%\usepackage[pdftex]{graphicx} %% loaded twice
\usepackage[nodayofweek]{datetime}
Expand Down
7 changes: 7 additions & 0 deletions utils/super_macro.tex
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@

\newcommand{\onesidelayout}{\twosidelayout[false]}

\newif\ifprintunizar

% set true or false toset margins for PRENSAR UNIZAR
% \printunizartrue % margins READY to print by PRENSAS UNIZAR
% \printunizarfalse % margins NOT READY to print by PRENSAS UNIZAR
\printunizarfalse

% set document title
\global\def\THETITLE{Report workbook}

Expand Down

0 comments on commit 4c1b728

Please sign in to comment.