From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: CV, org-mode, and pdf Date: Mon, 14 Sep 2015 16:46:36 +0100 Message-ID: <87si6h80mb.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbVxz-0005DM-99 for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 11:46:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbVxu-00043Z-P2 for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 11:46:51 -0400 Received: from mail-am1on0109.outbound.protection.outlook.com ([157.56.112.109]:15084 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbVxu-00041p-E2 for emacs-orgmode@gnu.org; Mon, 14 Sep 2015 11:46:46 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Griswold Cc: emacs-orgmode@gnu.org 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