Page LayoutSet one margin for whole document

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
DominikaM
Posts: 1
Joined: Sat Apr 16, 2016 11:29 am

Set one margin for whole document

Post by DominikaM »

Hi everyone!

I'm new to Latex and I'm using template ECV Curriculum Vitae English Version. The margins on the last page appear to be bigger than on the first 2 pages, but I can't find anything related to it in the code. I need the margins on the last page to be as small as those on the first 2 pages.

Code:

Code: Select all

%%
%% Copyright 2006-2011 Christoph P. Neumann, Bernd Haberstumpf
%%
%% This LaTeX file provides a template for a german CV.
%%
%% This file is free property; as a special exception the author
%% gives unlimited permission to copy and/or distribute it, with
%% or without modifications, as long as this notice is
%% preserved.
%%
%% This file is distributed in the hope that it will be useful,
%% but WITHOUT ANY WARRANTY, to the extent permitted by law;
%% without even the implied warranty of MERCHANTABILITY or
%% FITNESS FOR A PARTICULAR PURPOSE.
%%

\documentclass[english]{ecv}

% Dateiname: images/<portrait>.jpg
\ecvPortrait{portrait}
\ecvName{<Surname(s), Name>}

\begin{document}

\begin{ecv}

%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Person
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ecvSec{\hypertarget{hypertarget:\ecvPerson}{\ecvPerson}}

\ecvEPR{Name}   {\textsc{<Name>}, <Surname(s)>}
\ecvEPR{Addresse}{<House number> <Street>\ecvNewLine
                 <City>, <Postcode>, <Country>}
\ecvEPR{Telephone}{<Area code>--<Telephone number>}
\ecvEPR{Fax}{<Area code>--<Faxnumber>}
\ecvEPR{E-Mail} {\ecvHyperEMail{<E-Mail>}}
\ecvEPR{Nationality}
                {<Nationality>}
\ecvEPR{Date of birth}
                {<Date of birth>}

%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Profession
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ecvBSec{\hypertarget{hypertarget:\ecvProfession}{\ecvProfession}}

% Chronologisch beginnend mit den juengsten Beschaeftigungen
\ecvEFR{Period}{<Year>--<Year>}
\ecvENR{Employer}
                {\ecvBold{<Company name>}\\
                 <House number><Street>, <City>, <Postcode>, <Country>}
%
\ecvEFR{Project <From> until <To>}
                {<Topic>}
\ecvENR{Position}{<Position held>}
\ecvENR{Main responsibilities}
                {<List of activities>}

%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Education
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ecvBSec{\hypertarget{hypertarget:\ecvEducation}{\ecvEducation}}

% Universit"at
\ecvEFR{Period}{<Year>--<Year>}
\ecvENR{Accquired qualifications}
                {\ecvBold{<Title>}}
\ecvENR{Institute}
                {<Name of educational institution>}
\ecvENR{Principal subjects}
                {<List of the major subjects>}
\ecvENR{Minor subjects}
                {<List of minor subjects>}
\ecvENR{Grade}   {Avarage grade <overall avarage grade>}
% Schule
\ecvEFR{Period}{<Year>--<Year>}
\ecvENR{Accquired qualifications}
                {<Title>}
\ecvENR{Graduate school}
                {<Name of the school>}

%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Research
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ecvBSec{\hypertarget{hypertarget:\ecvResearch}{\ecvResearch}}
             
\ecvEFB{Diploma thesis}{"`<Title of the diploma thesis>"' --- <Institute>}
\ecvEFB{Seminar paper}{"`<Title of the seminar paper>"' 
                      --- <Institute>}

%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Publications
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ecvBSec{\hypertarget{hypertarget:\ecvPublications}{\ecvPublications}}
             
\ecvEFR{Publication}{<Author>:
                     \emph{<Title of the publication>}
                     <Name of the journal>. <Publisher>, 
                     <City>, <Year>}



%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Jobs
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ecvBSec{\hypertarget{hypertarget:\ecvJobs}{\ecvJobs}}

\ecvEFR{Period}{<Year>--<Year>}
\ecvENR{Employer}
                 {\ecvBold{<Name of the Company>}, <City>/<Country>}
\ecvENR{Employment}
                 {<Type of the employment>}
\ecvENR{Main responsibilities}
                 {<List of activities>
                 }

%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Languages
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ecvBSec{\hypertarget{hypertarget:\ecvLanguages}{\ecvLanguages}}

\ecvERSub{First language}{\ecvBold{English}}

\ecvEBSub{Other languages}
                        {<Language> -- Read: <Degree>, Write: 
                         <Degree>, Talk: <Degree>}

%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Language Travels
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ecvBSub{\ecvLanguageTravels}

\ecvEFR{Period}{<Date>--<Date>}
\ecvENR{Place} {<City>/<Country>}
\ecvENR{Vendor}
                {<Organizer>}
\ecvENR{Certificate}
                {<Name of the accquired certificate>}


%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Abilities
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ecvPageBreak
\ecvBSec{\hypertarget{hypertarget:\ecvAbilities}{\ecvAbilities}}
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Abilities / social
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ecvEBSub{Social Skills}
                {<Description of the social strengths>
                }
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Abilities / organisational
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ecvEBSub{Organisational Skills}
                {<Description of organisational skills>
                }
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Abilities / professional
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ecvBEBSub{Technical Skills}
                {<Description of technical skills>}
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Hobbies
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ecvBEBSub{Hobbies}
                {<List of major hobbies and private interests>
                }

%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Attachments
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ecvBSec{\hypertarget{hypertarget:\ecvAttachements}{\ecvAttachements}}

\ecvOVR         {<Lsit of all attachements>
                } 

\end{ecv}

%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Signature
%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ecvSig{<Name>, <Surname(s)>}{<City>}

\end{document}



Any suggestions highly appreciated.

Thank you!
Dominika
Last edited by cgnieder on Sat Apr 16, 2016 12:19 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Set one margin for whole document

Post by Johannes_B »

Welcome, clicking in Open in Writelatex just above your code block shows me the very same margins for all pages. Something seems to be different in your real document.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply