\setlength{\oddsidemargin}{3.0cm}                   %intended inner margin
\setlength{\textwidth}{15.5cm}                      %intended textwidth
% Remember: dina4 has 21cm breadth
% Thus Your outer margin is 21cm-\oddsidemargin-\textwidth 


\setlength{\topmargin}{3cm}                         %intended topmargin
\setlength{\textheight}{23cm}                       %intended textheight
% Remember: dina4 has 30cm height
% Thus Your bottom margin is 30cm-\topmargin-\textheight


% Further settings:
\setlength{\parindent}{0pt}                         %not nice, but kept for
                                                    %upward compatibility
\setlength{\parskip}{5pt}
\setlength{\marginparwidth}{1.5cm}
\setlength{\marginparsep}{0.5cm}


% Follows some computation. Please don't modify!
\setlength{\evensidemargin}{21.0cm}	            %dina4 breadth
\addtolength{\evensidemargin}{-1.0\textwidth}       %adjust right
\addtolength{\evensidemargin}{-1.0\oddsidemargin}   %set margin
\addtolength{\evensidemargin}{-1.0in}               %internal correction factor
\addtolength{\evensidemargin}{-0.1cm}               %fine tuning
\addtolength{\oddsidemargin}{-1.0in}                %internal correction factor
\addtolength{\topmargin}{-1in}		            %internal correction factor
\addtolength{\topmargin}{-1cm}		            %internal correction factor
