% W180xH59 for W900 x H297

\newcommand{\mytextwidth}{180}
\newcommand{\mytextheight}{59}

\ifthenelse{\boolean{trim}}{%
	\usepackage[paperwidth=\mytextwidth mm,
    			    paperheight=\mytextheight mm]{geometry}
        \setlength{\topmargin}{-29.6mm}
        \setlength{\oddsidemargin}{-25.4mm}
}{%
	\usepackage{geometry}
        \setlength{\topmargin}{10mm}
        \setlength{\oddsidemargin}{0mm}
}

\setlength{\textwidth}{\mytextwidth mm}
\setlength{\textheight}{\mytextheight mm}
