[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] CV, org-mode, and pdf
From: |
Eric S Fraga |
Subject: |
Re: [O] CV, org-mode, and pdf |
Date: |
Mon, 14 Sep 2015 16:46:36 +0100 |
On Monday, 14 Sep 2015 at 10:31, Dan Griswold wrote:
> Dear org-mode community,
>
> A year ago, there was a thread here, started by Rainer Krug, on using
> org-mode to produce nice looking CVs.
[...]
> There are two pieces to my solution: first, setting up org-mode with a new
> latex class, "cv"; and then including certain lines at the top of the org
> file that contains the CV.
I do something similar, including your use of top level headings for the
major sections. However, I use koma-script's article class (scrartcl,
my default latex class) and then have the following in my org file:
#+begin_src org
,#+latex_header: \usepackage{fancyhdr}
,#+latex_header: \usepackage[includefoot,margin=2cm]{geometry}
# -------------------- Change the section headings to stand out a little more
,#+latex_header: \usepackage{titlesec}
,#+latex_header:
\titleformat{\section}{\Large\bfseries}{}{0pt}{\color{blue}\centering}[\hrule]
,#+latex_header:
\titleformat{\subsection}{\large\bfseries}{}{0pt}{\color{blue}}
# -------------------- remove boxes etc. from links as they look ugly on a
printed document
,#+latex_header:
\hypersetup{colorlinks=true,linkcolor={black},citecolor={black},pagecolor={black},
urlcolor={black}}
,#+latex_header: \pagestyle{fancy} \fancyhead{}
\renewcommand{\headrulewidth}{0pt} \fancyfoot{} \lfoot{Curriculum Vitae}
\cfoot{} \rfoot{Eric S Fraga -- \thepage} \thispagestyle{empty}
,#+latex_header: \setlength{\parindent}{0pt}
,#+latex_header: \setlength{\parskip}{5pt}
,#+latex_header: \sloppy
#+end_src
I could have put all of these in a separate org latex class but since
it's a one-use class, I thought it made more sense to have the
customisations in the org file. YMMV, of course ;-)
As my cv is rather long, I put a table of contents on the second page
after all of my personal details.
For my list of publications, I use the =etaremune= (enumerate backwards)
environment, as in:
#+begin_src org
,#+latex_header: \usepackage{etaremune}
(much later)
,#+attr_latex: :environment etaremune
1. most recent publication
2. older one
3. and so on
#+end_src
HTH (somebody),
eric
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-234-g8c85c9