Search This Blog

Wednesday, December 18, 2013

Mactex for USletter

Need to change the following file:


/usr/local/texlive/2013/texmf-dist/tex/latex/vmargin/vmargin.sty

Change the default setting in the following way:

% Fixed for USletter paper size
%\setpapersize{A4}
\setpapersize{USletter}
\def\@hf@dflt{}
\@ifundefined{DeclareOption}{
}{
  \DeclareOption{shiftmargins}{\shiftmargins}
  \DeclareOption{portrait}{\Landscapefalse}
  \DeclareOption{landscape}{\Landscapetrue}
  \DeclareOption{nohf}{\def\@hf@dflt{y}}
  \DeclareOption*{\@@@setps{\CurrentOption}}
  \ProcessOptions\relax  % process options in order of declaration!
}
\if y\@hf@dflt
  \setmargnohfrb{35mm}{20mm}{25mm}{15mm}%
\else
% Fixed for USletter paper size
%  \setmarginsrb{35mm}{20mm}{25mm}{15mm}{12pt}{11mm}{0pt}{11mm}%
  \setmarginsrb{1in}{1in}{1in}{1in}{0pt}{0mm}{0pt}{0mm}%

No comments:

Post a Comment

Blog Archive