LaTeX forum ⇒ 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).
DominikaM
Posts: 1
Joined: Sat Apr 16, 2016 11:29 am

Set one margin for whole document

Postby DominikaM » Sat Apr 16, 2016 11:44 am

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:
  1. %%
  2. %% Copyright 2006-2011 Christoph P. Neumann, Bernd Haberstumpf
  3. %%
  4. %% This LaTeX file provides a template for a german CV.
  5. %%
  6. %% This file is free property; as a special exception the author
  7. %% gives unlimited permission to copy and/or distribute it, with
  8. %% or without modifications, as long as this notice is
  9. %% preserved.
  10. %%
  11. %% This file is distributed in the hope that it will be useful,
  12. %% but WITHOUT ANY WARRANTY, to the extent permitted by law;
  13. %% without even the implied warranty of MERCHANTABILITY or
  14. %% FITNESS FOR A PARTICULAR PURPOSE.
  15. %%
  16.  
  17. \documentclass[english]{ecv}
  18.  
  19. % Dateiname: images/<portrait>.jpg
  20. \ecvPortrait{portrait}
  21. \ecvName{<Surname(s), Name>}
  22.  
  23. \begin{document}
  24.  
  25. \begin{ecv}
  26.  
  27. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  28. %%% Person
  29. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  30. \ecvSec{\hypertarget{hypertarget:\ecvPerson}{\ecvPerson}}
  31.  
  32. \ecvEPR{Name} {\textsc{<Name>}, <Surname(s)>}
  33. \ecvEPR{Addresse}{<House number> <Street>\ecvNewLine
  34. <City>, <Postcode>, <Country>}
  35. \ecvEPR{Telephone}{<Area code>--<Telephone number>}
  36. \ecvEPR{Fax}{<Area code>--<Faxnumber>}
  37. \ecvEPR{E-Mail} {\ecvHyperEMail{<E-Mail>}}
  38. \ecvEPR{Nationality}
  39. {<Nationality>}
  40. \ecvEPR{Date of birth}
  41. {<Date of birth>}
  42.  
  43. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  44. %%% Profession
  45. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  46. \ecvBSec{\hypertarget{hypertarget:\ecvProfession}{\ecvProfession}}
  47.  
  48. % Chronologisch beginnend mit den juengsten Beschaeftigungen
  49. \ecvEFR{Period}{<Year>--<Year>}
  50. \ecvENR{Employer}
  51. {\ecvBold{<Company name>}\\
  52. <House number><Street>, <City>, <Postcode>, <Country>}
  53. %
  54. \ecvEFR{Project <From> until <To>}
  55. {<Topic>}
  56. \ecvENR{Position}{<Position held>}
  57. \ecvENR{Main responsibilities}
  58. {<List of activities>}
  59.  
  60. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  61. %%% Education
  62. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  63. \ecvBSec{\hypertarget{hypertarget:\ecvEducation}{\ecvEducation}}
  64.  
  65. % Universit"at
  66. \ecvEFR{Period}{<Year>--<Year>}
  67. \ecvENR{Accquired qualifications}
  68. {\ecvBold{<Title>}}
  69. \ecvENR{Institute}
  70. {<Name of educational institution>}
  71. \ecvENR{Principal subjects}
  72. {<List of the major subjects>}
  73. \ecvENR{Minor subjects}
  74. {<List of minor subjects>}
  75. \ecvENR{Grade} {Avarage grade <overall avarage grade>}
  76. % Schule
  77. \ecvEFR{Period}{<Year>--<Year>}
  78. \ecvENR{Accquired qualifications}
  79. {<Title>}
  80. \ecvENR{Graduate school}
  81. {<Name of the school>}
  82.  
  83. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  84. %%% Research
  85. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  86. \ecvBSec{\hypertarget{hypertarget:\ecvResearch}{\ecvResearch}}
  87.  
  88. \ecvEFB{Diploma thesis}{"`<Title of the diploma thesis>"' --- <Institute>}
  89. \ecvEFB{Seminar paper}{"`<Title of the seminar paper>"'
  90. --- <Institute>}
  91.  
  92. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  93. %%% Publications
  94. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  95. \ecvBSec{\hypertarget{hypertarget:\ecvPublications}{\ecvPublications}}
  96.  
  97. \ecvEFR{Publication}{<Author>:
  98. \emph{<Title of the publication>}
  99. <Name of the journal>. <Publisher>,
  100. <City>, <Year>}
  101.  
  102.  
  103.  
  104. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  105. %%% Jobs
  106. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  107. \ecvBSec{\hypertarget{hypertarget:\ecvJobs}{\ecvJobs}}
  108.  
  109. \ecvEFR{Period}{<Year>--<Year>}
  110. \ecvENR{Employer}
  111. {\ecvBold{<Name of the Company>}, <City>/<Country>}
  112. \ecvENR{Employment}
  113. {<Type of the employment>}
  114. \ecvENR{Main responsibilities}
  115. {<List of activities>
  116. }
  117.  
  118. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  119. %%% Languages
  120. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  121. \ecvBSec{\hypertarget{hypertarget:\ecvLanguages}{\ecvLanguages}}
  122.  
  123. \ecvERSub{First language}{\ecvBold{English}}
  124.  
  125. \ecvEBSub{Other languages}
  126. {<Language> -- Read: <Degree>, Write:
  127. <Degree>, Talk: <Degree>}
  128.  
  129. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  130. %%% Language Travels
  131. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  132. \ecvBSub{\ecvLanguageTravels}
  133.  
  134. \ecvEFR{Period}{<Date>--<Date>}
  135. \ecvENR{Place} {<City>/<Country>}
  136. \ecvENR{Vendor}
  137. {<Organizer>}
  138. \ecvENR{Certificate}
  139. {<Name of the accquired certificate>}
  140.  
  141.  
  142. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  143. %%% Abilities
  144. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  145. \ecvPageBreak
  146. \ecvBSec{\hypertarget{hypertarget:\ecvAbilities}{\ecvAbilities}}
  147. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  148. %%% Abilities / social
  149. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  150. \ecvEBSub{Social Skills}
  151. {<Description of the social strengths>
  152. }
  153. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  154. %%% Abilities / organisational
  155. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  156. \ecvEBSub{Organisational Skills}
  157. {<Description of organisational skills>
  158. }
  159. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  160. %%% Abilities / professional
  161. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  162. \ecvBEBSub{Technical Skills}
  163. {<Description of technical skills>}
  164. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  165. %%% Hobbies
  166. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  167. \ecvBEBSub{Hobbies}
  168. {<List of major hobbies and private interests>
  169. }
  170.  
  171. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  172. %%% Attachments
  173. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  174. \ecvBSec{\hypertarget{hypertarget:\ecvAttachements}{\ecvAttachements}}
  175.  
  176. \ecvOVR {<Lsit of all attachements>
  177. }
  178.  
  179. \end{ecv}
  180.  
  181. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  182. %%% Signature
  183. %%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  184. \ecvSig{<Name>, <Surname(s)>}{<City>}
  185.  
  186. \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.
Reason: added code markup

Tags:

User avatar
Johannes_B
Site Moderator
Posts: 4077
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sun Apr 17, 2016 12:05 pm

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.


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 2 guests