Panagiotis Mavrogiorgos avatar Panagiotis Mavrogiorgos committed e8f9524

* Changed the document class to scrartcl in order to allow various font sizes.
* Added comment with instructions for choosing the "correct" \textwidth.
* removed raggedright.

Comments (0)

Files changed (2)

Add a comment to this file

cover-letter-example.pdf

Binary file modified.

cover-letter-example.tex

-\documentclass[12pt]{article}
+\documentclass[12pt]{scrartcl}
 
 %%----------------------------------------------------
 % Geometry - Layout
 %%----------------------------------------------------
-\usepackage[a4paper,xetex,scale=0.85]{geometry}
-\usepackage{parskip}
+
+% Generally, it is considered a good practise to have no have more than 70 and
+% no less than 60 characters per line.  Text is more readable this way.
+%
+% Since the number of characters per line depends both on the "length of the
+% lowercase alphabet" and the "\textwidth", you have to adjust the layout of the
+% page according to the font you use.
+%
+% For measuring the font width you can see here:
+% http://tex.stackexchange.com/questions/17399/measure-the-length-of-the-lowercase-alphabet
+%
+% Once you know the "length of the lowercase alphabet", you can use the
+% following formula to determine the "correct" "\textwidth".
+%
+% textwidth = 2.042 * alphabet_length + 33.41
+%
+\usepackage[a4paper,xetex,width=335pt]{geometry} \usepackage{parskip}
 
 %%----------------------------------------------------
 % fonts
 % Cover letter
 %%----------------------------------------------------
 \usepackage[
-    /sender/Firstname=Charris,
+    /sender/Firstname=Charis,
     /sender/Lastname=Papadopoulos,
     /sender/Title={Civil Engineer, M.Sc.},
     /sender/AddressA={Syntagma Sqr. 1},
 
 \typesetDate
 
-% If you want justified text just comment the following line
-\raggedright
-
 % This is where your letter starts!
 Dear Sir or Madam
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.