Panagiotis Mavrogiorgos avatar Panagiotis Mavrogiorgos committed e0791b5

[minor] clean-up

Comments (0)

Files changed (3)

Add a comment to this file

cover-letter-example.pdf

Binary file modified.

cover-letter-example.tex

 % By default the footer is empty. If you uncomment the following line, the
 % footer will display the message "Page N of M".
 % If it is active, the document must be compiled twice.
-\ShowPageNumbers
+%\ShowPageNumbers
 
 \TypesetPersonal
 \TypesetRecipient
 \newrobustcmd*{\SetRecipient}[1]{%
     % Create keys
     \pgfqkeys{/Recipient}{%
-        Firstname/.store in = \RecipFirstname,
-        Lastname/.store in = \RecipLastname,
-        AddressA/.store in = \RecipAddressA,
-        AddressB/.store in = \RecipAddressB,
-        AddressC/.store in = \RecipAddressC,
+        Firstname/.store in = \RecipientFirstname,
+        Lastname/.store in = \RecipientLastname,
+        AddressA/.store in = \RecipientAddressA,
+        AddressB/.store in = \RecipientAddressB,
+        AddressC/.store in = \RecipientAddressC,
     }%
     % Set key values
-    \typeout{before}
     \pgfqkeys{/Recipient}{#1}%
-    \typeout{before}
 }
 
 %===============================================================================
 \newrobustcmd{\TypesetPersonal}{
     \begin{minipage}[t]{\textwidth}
         \raggedleft
-        \textbf{\PersonalFirstname \xspace \PersonalLastname}\\[.35ex]
+        \textbf{\PersonalFullname}\\[.35ex]
         \small\itshape\color{\SecondaryColor}%
         \hfill
         % address lines
 \newrobustcmd{\TypesetRecipient}{
     \begin{minipage}[t]{.4\textwidth}
         \raggedright%
-        \textbf{\RecipFirstname \xspace \RecipLastname}\\[.35ex]
+        \textbf{\RecipientFullname}\\[.35ex]
         \small\itshape\color{\SecondaryColor}%
         % address line
-        \ifdefvoid{\RecipAddressA}{}{\RecipAddressA \hfill \\}
-        \ifdefvoid{\RecipAddressB}{}{\RecipAddressB \hfill \\}
-        \ifdefvoid{\RecipAddressC}{}{\RecipAddressC \hfill \\}
+        \ifdefvoid{\RecipientAddressA}{}{\RecipientAddressA \hfill \\}
+        \ifdefvoid{\RecipientAddressB}{}{\RecipientAddressB \hfill \\}
+        \ifdefvoid{\RecipientAddressC}{}{\RecipientAddressC \hfill \\}
     \end{minipage}\newline
 }
 
 }
 
 % Typeset Enclosures
+% Enclosures are typeset only if `EnclosureA` has been set.
 \newrobustcmd{\TypesetEnclosures}{
     \ifdefvoid{\EnclosureA}{}{%
         \vfill
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.