Skip to content

Instantly share code, notes, and snippets.

@literalplus
Created January 11, 2018 10:41
Show Gist options
  • Save literalplus/7db32832fc361fa1dee99e8fd75e74b9 to your computer and use it in GitHub Desktop.
Save literalplus/7db32832fc361fa1dee99e8fd75e74b9 to your computer and use it in GitHub Desktop.
A4 margins for the Chi-Ext LaTeX template - this keeps the page margins the same (to about 2mm accuracy) as the original template has for the US Letter paper size
% Note the a4paper - patch start (line 33, cbhi-ext.cls)
\LoadClass[10pt,a4paper,landscape]{article}[1996/10/31]
% -----------------------------------------------------------------------------
% Set paper and margin sizes
% Original freedom margins and sizes
% \setlength{\paperheight}{8.5in}
% \setlength{\paperwidth}{11in}
% \setlength{\textwidth}{7.25in}
% \setlength{\textheight}{6in}
% \setlength{\oddsidemargin}{1.5in}
% \setlength{\topmargin}{0.25in}
% \setlength{\columnsep}{0.5in}
% \setlength{\voffset}{-0.2in}
% \setlength{\parindent}{0pt}
% \setlength{\footskip}{0.5in}
% \setlength{\marginparsep}{15pt}
% \setlength{\marginparwidth}{1.8in}
% \setlength{\itemsep}{0pt}
% \setlength{\parsep}{0pt}
% \setlength{\topsep}{0pt}
% \setlength{\parskip}{9pt}
\setlength{\paperheight}{210mm}
\setlength{\paperwidth}{297mm}
\setlength{\textwidth}{200mm}
\setlength{\textheight}{145mm}
\setlength{\oddsidemargin}{38mm}
\setlength{\topmargin}{6.25mm}
\setlength{\columnsep}{12.5mm}
\setlength{\voffset}{-5mm}
\setlength{\parindent}{0pt}
\setlength{\footskip}{12.5mm}
\setlength{\marginparsep}{15pt}
\setlength{\marginparwidth}{45mm}
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
\setlength{\topsep}{0pt}
\setlength{\parskip}{9pt}
% patch end
% -----------------------------------------------------------------------------
% Set paper columns and avoid justifying text, according to CHI's MS Word template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment