Browse Source

move LaTeX geometry package from base class to templates

remotes/origin/HEAD
spalax 11 years ago
committed by Romain Goffe
parent
commit
1dbdbd7f32
  1. 11
      templates/ancient.tmpl
  2. 11
      templates/minimal.tmpl
  3. 11
      templates/patacrep.tmpl
  4. 15
      tex/crepbook.cls

11
templates/ancient.tmpl

@ -88,6 +88,17 @@
\pagestyle{empty}
% Customization of the page appearance
\RequirePackage[
a4paper % paper size
,includeheadfoot % include header and footer into text size
,hmarginratio=1:1 % ratio between inner and outer margin (default)
,outer=1.8cm % outer margin (right)
,vmarginratio=1:1 % ratio between top and bottom margin
,bmargin=1.3cm % bottom margin
% ,bindingoffset=1.7cm % space reserved to bound pages together
]{geometry}
\begin{document}
\maketitle

11
templates/minimal.tmpl

@ -52,6 +52,17 @@
\nosongnumbers
\pagestyle{empty}
% Customization of the page appearance
\RequirePackage[
a4paper % paper size
,includeheadfoot % include header and footer into text size
,hmarginratio=1:1 % ratio between inner and outer margin (default)
,outer=1.8cm % outer margin (right)
,vmarginratio=1:1 % ratio between top and bottom margin
,bmargin=1.3cm % bottom margin
% ,bindingoffset=1.7cm % space reserved to bound pages together
]{geometry}
\begin{document}
\begin{songs}{}

11
templates/patacrep.tmpl

@ -86,6 +86,17 @@
\pagestyle{empty}
% Customization of the page appearance
\RequirePackage[
a4paper % paper size
,includeheadfoot % include header and footer into text size
,hmarginratio=1:1 % ratio between inner and outer margin (default)
,outer=1.8cm % outer margin (right)
,vmarginratio=1:1 % ratio between top and bottom margin
,bmargin=1.3cm % bottom margin
% ,bindingoffset=1.7cm % space reserved to bound pages together
]{geometry}
\begin{document}
% translate default title

15
tex/crepbook.cls

@ -54,7 +54,7 @@
\ProcessOptions
% Base class
\LoadClass[a4paper]{article}
\LoadClass{article}
% Main packages
\RequirePackage{graphicx,xcolor}
@ -335,19 +335,6 @@
\renewcommand{\idxheadfont}{\sffamily\it\LARGE}
\renewcommand{\idxrefsfont}{\bfseries}
%
% Customization of the page appearance
%
\RequirePackage[
a4paper % paper size
,includeheadfoot % include header and footer into text size
,hmarginratio=1:1 % ratio between inner and outer margin (default)
,outer=1.8cm % outer margin (right)
,vmarginratio=1:1 % ratio between top and bottom margin
,bmargin=1.3cm % bottom margin
% ,bindingoffset=1.7cm % space reserved to bound pages together
]{geometry}
% Paragraph indentation space
\setlength{\parindent}{0.3cm}

Loading…
Cancel
Save