Skip to content

Instantly share code, notes, and snippets.

@marsam
Created November 27, 2011 01:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marsam/1396693 to your computer and use it in GitHub Desktop.
Save marsam/1396693 to your computer and use it in GitHub Desktop.
% ----------------------------------------------------------------------------------------%
% Created by Alessandro with TeXShop %
% ----> Sep 1, 2009 %
% Compiled with XeLaTeX, on Mac OS X 10.5 %
% Licensed under the Creative Commons Attribution 3.0 Unported %
% Share, change, spread, and have fun! %
% http://creativecommons.org/licenses/by/3.0/ %
% You can find more at http://cv-templates.info %
% ----------------------------------------------------------------------------------------%
\documentclass{article}
%% LaTeX Preamble - Common packages
\usepackage[utf8]{inputenc} % Any characters can be typed directly from the keyboard, eg \u221a©\u221aß\u221a±
\usepackage{textcomp} % provide lots of new symbols
\usepackage{graphicx} % Add graphics capabilities
\usepackage{xcolor} % Colors
% Define Colors
\definecolor{lightg}{HTML}{999999}
\definecolor{medg}{HTML}{666666}
\definecolor{darkg}{HTML}{333333}
\usepackage{wrapfig}
%FONTS
\usepackage{fontspec} % not using this much although I should have
\font\head="Qlassik Medium:letterspace=4" at 34pt % http://www.dafont.com/qlassik.font
\font\subhead="Linux Libertine O Bold" at 15pt
\font\Quote="Linux Libertine O Bold Italic:mapping=tex-text" at 16pt
\font\Text="Linux Libertine O" at 11pt
\font\Textit="Linux Libertine O/I:+onum" at 11pt % /I select Italic
\font\Textblack="Linux Libertine O/BI" at 9pt % /BI select Bold Italic
\font\Textsc="Linux Libertine O:+smcp" at 11pt % +smcp selects Small Caps
\font\wdate="Linux Libertine O:+smcp, letterspace=4,+onum" at 9pt % +onum old style numerals
\usepackage[margin=10mm]{geometry} % Margins
\usepackage[pdftex,bookmarks,colorlinks,breaklinks]{hyperref} % PDF
\usepackage{setspace} % leading
% Commands to keep the code clean
% Below experience section you can see this structure
% WorkDate -> Keyword
% ^^ Multi line WorkDescription ^^
\newcommand{\workdate}[1]{%
\textcolor{lightg}{\wdate #1}}
\newcommand{\workdescription}[1]{%
\raggedright\textcolor{medg}{\Text \begin{spacing}{1.1818}#1 \end{spacing}}}
% Variation with reduced leading
\newcommand{\workdescriptionVAR}[1]{
\raggedright\textcolor{medg}{\Text \begin{spacing}{1.1}#1 \end{spacing}}}
%Styling Itemizations
\usepackage{enumitem}
\renewcommand{\labelitemi}{\textcolor{lightg}{\symbol{"F6B9}}}
% Bullets
\definecolor{noteone}{HTML}{999999}
\definecolor{notetwo}{HTML}{848484}
\definecolor{notethree}{HTML}{424242}
\definecolor{notefour}{HTML}{212121}
\definecolor{notefive}{HTML}{000000}
\newcommand{\fivenotes}{%
\textcolor{noteone}{\symbol{"2022}}
\textcolor{notetwo}{\symbol{"2022}}
\textcolor{notethree}{\symbol{"2022}}
\textcolor{notefour}{\symbol{"2022}}
\textcolor{notefive}{\symbol{"2022}}
}
\newcommand{\fournotes}{%
\textcolor{noteone}{\symbol{"2022}}
\textcolor{notetwo}{\symbol{"2022}}
\textcolor{notethree}{\symbol{"2022}}
\textcolor{notefour}{\symbol{"2022}}
\textcolor{white}{\symbol{"2022}}
}
\newcommand{\threenotes}{%
\textcolor{noteone}{\symbol{"2022}}
\textcolor{notetwo}{\symbol{"2022}}
\textcolor{notethree}{\symbol{"2022}}
\textcolor{white}{\symbol{"2022}}
\textcolor{white}{\symbol{"2022}}
}
\newcommand{\twonotes}{%
\textcolor{noteone}{\symbol{"2022}}
\textcolor{notetwo}{\symbol{"2022}}
\textcolor{white}{\symbol{"2022}}
\textcolor{white}{\symbol{"2022}}
\textcolor{white}{\symbol{"2022}}
}
\newcommand{\onenote}{%
\textcolor{noteone}{\symbol{"2022}}
\textcolor{white}{\symbol{"2022}}
\textcolor{white}{\symbol{"2022}}
\textcolor{white}{\symbol{"2022}}
\textcolor{white}{\symbol{"2022}}
}
% Important: This is not an official package, is a customized typogrid
% .sty file which I wrote and enables the 5 column grid
\usepackage[draft, columns=5]{mytypogrid}
\begin{document}
\parindent=0cm
\begin{minipage}[t]{0.59\linewidth}
\head \textcolor{darkg}{RICHARD STALLMAN}\\ \\
\begin{wrapfigure}{i}{0pt}
\includegraphics[scale=0.5]{gnu.png}
\hspace{25pt}
\end{wrapfigure}
\raggedright\Quote\color{darkg} \kern -10pt``\ I like computers, music and butterflies --- among other things.''
\vspace{3em}
\hrule
\end{minipage}
\hfill
\begin{minipage}[t]{0.38\textwidth}
\Textit \textcolor{darkg}{born}\ \textcolor{lightg}{ March 16, 1953}
\vspace{2.2em}
\subhead \textcolor{darkg}{Contacts}\\\color{medg}
\Text \textcolor{medg}{
Free Software Foundation\\
Boston, Massachusetts, USA}\\
\textcolor{darkg}{phone} : 123 456 789\\
\textcolor{darkg}{email} : rms@gnu.org
\vspace{1em}
\textcolor{lightg}{http://www.stallman.org/}
\end{minipage}
\vspace{2.3em}
\subhead \symbol{"E000}\ Experience
\hspace{0.205\textwidth}\begin{minipage}[t]{0.38\textwidth}
\vspace{0pt}
\workdate{1983}\hfill\Textblack Manifesto
\workdescription{Published the GNU Manifesto, which outlined his motivation for creating a free operating system called GNU, which would be compatible with Unix.}
\end{minipage}
\hfill
\begin{minipage}[t]{0.387\textwidth}
\vspace{0pt}
\workdate{1985}\hfill\Textblack Emacs
\workdescription{Popularized the concept of copyleft, a legal mechanism to protect the modification and redistribution rights for free software. It was first implemented in the GNU Emacs General Public License.}
\end{minipage}
\vspace{1em}
\hspace{0.205\textwidth}\begin{minipage}[t]{0.38\textwidth}
\workdate{1987}\hfill\Textblack GNU
\workdescription{The first program-independent GNU General Public License (GPL) was released. By then, much of the GNU system had been completed.}
\end{minipage}
\hfill
\begin{minipage}[t]{0.38\textwidth}
\workdate{1991}\hfill\Textblack Linux
\workdescription{Linus Torvalds, a Finnish student, used the GNU development tools to produce the Linux kernel}
\end{minipage}
\vspace{3em}
\hrule
\vspace{4.1em}
\subhead\kern -13pt\symbol{"E000} Computer Specialties \symbol{"E050} Programming Languages\\
\hspace{0.205\textwidth}\begin{minipage}[t]{0.38\textwidth}
\hfill\Textblack ...in words...
\workdescriptionVAR{\vspace{5pt}
The GNU Compiler Collection (usually shortened to GCC) is a compiler system produced by the GNU Project supporting various programming languages. \\\vspace{10pt}GCC is a key component of the GNU toolchain.
\\\vspace{10pt} As well as being the official compiler of the GNU operating system, GCC has been adopted as the standard compiler by most other modern Unix-like computer operating systems, including GNU/Linux, the BSD family and Mac OS X. \\\vspace{10pt}GCC has been ported to a wide variety of processor architectures, and is widely deployed as a tool in commercial, proprietary and closed source software development environments.}
\end{minipage}
\hspace{3.1mm}
\begin{minipage}[t]{0.38\textwidth}
\Textblack ...and in bullets.
\vspace{5pt}
\begin{itemize}[leftmargin=25pt, rightmargin=55pt, labelsep=10pt, itemsep=0pt, topsep=0pt]\Text
\item \textcolor{medg}{C++}\hfill \fournotes
\item \color{medg}C\hfill \threenotes
\item Lisp\hfill \fivenotes
\item Bash \hfill \twonotes
\item GNU/Linux \hfill \fournotes
\item Lisp\hfill \fivenotes
\item Bash \hfill \twonotes
\item GNU/Linux \hfill \fournotes
\item Lisp\hfill \fivenotes
\item Bash \hfill \twonotes
\item GNU/Linux \hfill \fournotes
\item Lisp\hfill \fivenotes
\item Bash \hfill \twonotes
\item GNU/Linux \hfill \fournotes
\end{itemize}
\end{minipage}
\vfill
\raggedleft\wdate Typeset \today
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment