From b57173a5ed52b52a8112d71d8c6b839f8a2fe1fc Mon Sep 17 00:00:00 2001 From: Felipe Portales-Oliva Date: Thu, 28 Mar 2019 22:11:34 -0300 Subject: [PATCH] A4 stablished as default paper size --- fphw.cls | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fphw.cls b/fphw.cls index f31c77d..21a9d43 100644 --- a/fphw.cls +++ b/fphw.cls @@ -32,9 +32,6 @@ % UTF-8 is best coding \RequirePackage[utf8]{inputenc} -% We won't need those ugly margins -\RequirePackage{geometry} - % Header and footers, we will use the titles also \RequirePackage{fancyhdr} @@ -58,7 +55,10 @@ \renewcommand{\StudentLang}{Nombre estudiante} } +\PassOptionsToClass{a4paper}{article} + \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} + \ProcessOptions\relax %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -82,6 +82,8 @@ \titleformat{\subsubsection}[runin]{\bfseries\itshape}{ \thesubsubsection.} {1mm}{}[.\quad] +% Geometry lets us modify the sizes of the document nicely +\RequirePackage{geometry} % Decent margins for the documents, as it is meant to be printed \geometry{left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm}