emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* CV, org-mode, and pdf
@ 2015-09-14 14:31 Dan Griswold
  2015-09-14 15:46 ` Eric S Fraga
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Griswold @ 2015-09-14 14:31 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 2274 bytes --]

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.

I had contributed once to that thread, offering a broken example of what I
do. Then I dropped out of sight.

Now I'm finally getting around to filling in the blanks, should anyone
still be interested.

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.

Here's are some elisp commands that will effect the first step:

(require 'ox-latex)
(add-to-list 'org-latex-classes
             '("cv" "\\documentclass[10pt]{article}
\\usepackage[margin=.75in]{geometry}
\\usepackage[T1]{fontenc}
\\usepackage{sectsty}
\\sectionfont{\\normalsize\\fontfamily{phv}\\slshape}
\\renewcommand*\\oldstylenums[1]{{\\fontfamily{fxlj}\\selectfont #1}}"
               ("\\section{%s}" . "\\section*{%s}"))
             t)
(customize-variable 'org-latex-classes)

then save the customization.

And here's what I include at the top of my cv.org:

#+OPTIONS: author:nil timestamp:nil
#+TITLE:
#+DATE:
#+LaTeX_CLASS: cv

#+BEGIN_LATEX
\begin{flushleft}
  \bfseries\Large Curriculum Vitae\hfill Daniel M. Griswold\normalfont
\end{flushleft}

\vspace{-12pt}%
\begin{flushright}
  69 Stratton Road\\
  Rochester, NY 14610\\
  (585) xxx-xxxx\\
  dgriswol@xxxxx.com\\
  \hrulefill
\end{flushright}
#+END_LATEX

Within the org file, I use top level headings (single bullet) for major
sections, such as:

* Education

* Areas of Specialization

* Areas of Competence

* Employment History

* Publications

* Honors and Awards

and then within each of those sections I use unordered lists for the
relevant details, such as

* Education
  - Ph. D., Southern Methodist University, Dallas, Texas, 2010
  - M. Div., Union Theological Seminary in Virginia, Richmond, Virginia,
1991
  - A. B., Hope College, Holland, Michigan, 1986


With all this in place, I export to pdf and end up with something like the
attached pdf.

I really like managing my CV this way. It's very easy to keep track of
what's what and to move things around.

I hope this helps someone who is still looking for a way to manage CVs in
org.

Cheers,

Dan Griswold
Rochester, NY

[-- Attachment #1.2: Type: text/html, Size: 3050 bytes --]

[-- Attachment #2: cvdemo.pdf --]
[-- Type: application/pdf, Size: 17354 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CV, org-mode, and pdf
  2015-09-14 14:31 CV, org-mode, and pdf Dan Griswold
@ 2015-09-14 15:46 ` Eric S Fraga
  0 siblings, 0 replies; 2+ messages in thread
From: Eric S Fraga @ 2015-09-14 15:46 UTC (permalink / raw)
  To: Dan Griswold; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-14 15:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-14 14:31 CV, org-mode, and pdf Dan Griswold
2015-09-14 15:46 ` Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).