summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-21 23:33:01 +0000
committerKarl Berry <karl@freefriends.org>2012-05-21 23:33:01 +0000
commit3dd17842ae1b32b6a9387176e93ac2ace767192a (patch)
tree93dfbf6457c92467fc6dcea2afd52f836fa7da58
parent92498c477e222a7fb71aa16b13956666ebf88c44 (diff)
new latex package harnon-cv 1.0 (19may12)
git-svn-id: svn://tug.org/texlive/trunk@26543 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/harnon-cv/README41
-rw-r--r--Master/texmf-dist/doc/latex/harnon-cv/sample.pdfbin0 -> 54335 bytes
-rw-r--r--Master/texmf-dist/doc/latex/harnon-cv/sample.tex48
-rw-r--r--Master/texmf-dist/tex/latex/harnon-cv/harnon-cv.cls179
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rw-r--r--Master/tlpkg/tlpsrc/collection-langother.tlpsrc2
-rw-r--r--Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/harnon-cv.tlpsrc0
8 files changed, 271 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/harnon-cv/README b/Master/texmf-dist/doc/latex/harnon-cv/README
new file mode 100644
index 00000000000..977cafee344
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/harnon-cv/README
@@ -0,0 +1,41 @@
+
+----------------------------------
+harnon-cv (Latex Document Class)
+----------------------------------
+
+This is a latex document class for building a neat CV document using a 'timeline' for displaying your recent experience. A minimal working example is provided in sample.tex, which also provides some basic examples of the special commands provided.
+
+Include the class by starting your .tex file with
+
+ \documentclass{harnon-cv}
+
+You can add your information by writing
+
+ % add your user information
+ \author{My Name}
+ \youremail{your@email.com}
+ \yourwebsite{http://github.com}
+ \youraddress{121 Your Address, \\Your Town\\Your Postcode}
+
+
+You can add headers to document sections as follows
+
+ \adddocumentheader{Top of Page Super heading}
+ \addheadertext{Section Heading}
+ \addsubheader{Sub section heading}
+ \addcallout{Some emphasised text, similar to sub section}
+
+You can also add a timeline as follows
+
+ \starttimeline
+ \timelineitem{2009}{Did some stuff}
+ \timelinespacer
+ \timelineitem{2010}{
+ \addtimelinebullet{Some text in a bullet pt}
+ \addtimelinebullet{Some more text in a bullet point}
+ }
+ \stoptimeline
+
+The \timelineseparator command just adds some white space between timeline items. It is optional.
+
+This is provided as public domain (with no warranty), so use, change, modify however you wish. If you find or add something particularly cool, feel free to push some changes at https://github.com/mecharius/latex-timelineCV \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/harnon-cv/sample.pdf b/Master/texmf-dist/doc/latex/harnon-cv/sample.pdf
new file mode 100644
index 00000000000..7c3a01e83ef
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/harnon-cv/sample.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/harnon-cv/sample.tex b/Master/texmf-dist/doc/latex/harnon-cv/sample.tex
new file mode 100644
index 00000000000..788abb20534
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/harnon-cv/sample.tex
@@ -0,0 +1,48 @@
+\documentclass{harnon-cv}
+
+
+ % personal details
+ \author{My Name} % OR - \yourname{My Name}
+ \yournumber{1800 123 456}
+ \youraddress{1 Smiths Road\\Smithsville OXON \\OX33 0HX}
+ \yourwebsite{http//yourweburl.com}
+
+
+ %personal statement
+ \recenthistory{A bit about yourself - a mini 3 sentence summary that an employer can read to `get to know you'. This can be useful so that they can read about you `at a glance'. It is also a chance for you to sell yourself! If you leave out the line defining \emph{recent history}, then this section will not appear.}
+
+ \begin{document}
+
+ \maketitle
+
+ % add your recent experience 'timeline'
+ \addheadertext{Experience}
+ \starttimeline
+ \timelineitem{2009}{
+ \addsubheader{Office Manager, ACME Inc.}
+ \addtimelinebullet{A very short line}
+ \addtimelinebullet{A very long line to show that wraps. Note that by using the \emph{addtimelinebullet} command, the indentation is also fixed.}
+ }
+ \timelinespacer
+
+ \timelineitem{2007}{
+ \addsubheader{CEO, San Antonio Spurs}
+ \addtimelinebullet{You can even use a list inside a \emph{timeline}!}
+ \begin{enumerate}
+ \item List item 1
+ \item List item 2
+ \end{enumerate}\par
+ \addtimelinebullet{Just make sure you throw in a \emph{par} when you add an item after a list otherwise following \emph{addtimelinebullets} will be indented strangely}
+ \addtimelinebullet{A little bit of care needs to be taken with the length of your timeline items, as as page breaks will \textbf{not} occur within a \emph{timelineitem}}
+ }
+ \stoptimeline
+
+ % add a skills section
+ \addheadertext{Skills}
+ \begin{itemize}
+ \item Computers and stuff
+ \item Basically you can build the rest of your document however you would like
+ \item Just use the header styles to maintain \addcallout{formatting} (the word formatting was formatted using the \emph{addcallout} command).
+ \end{itemize}
+
+ \end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/harnon-cv/harnon-cv.cls b/Master/texmf-dist/tex/latex/harnon-cv/harnon-cv.cls
new file mode 100644
index 00000000000..e3c558efc70
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/harnon-cv/harnon-cv.cls
@@ -0,0 +1,179 @@
+% harnon-cv.cls
+% By William Hart, 2012
+%
+% A template for providing a neat CV
+% Find it at https://github.com/mecharius/latex-timelineCV
+%
+% Released as public domain, so use in any way you see fit
+% with no warranty.
+%
+
+
+\ProvidesClass{harnon-cv}
+\LoadClass[a4paper, 11pt]{article}
+
+% margins
+\usepackage[top=0.75in,bottom=0.75in,left=0.75in,right=0.75in]{geometry}
+
+% turn off all page styling
+\pagestyle{plain}
+\usepackage{nopageno}
+
+% add etoolbox for if/then/else enhancements
+\usepackage{etoolbox}
+
+% framed package for borders
+\usepackage{framed}
+
+% define a custom timeline framed section based on leftbar
+\newenvironment{timelinebar}{%
+ \def\FrameCommand{\color{verylightgrey}\vrule width 1pt \hspace{10pt}\color{black}}%
+ \MakeFramed {\advance\hsize-\width \FrameRestore}}%
+{\endMakeFramed}
+
+% package for tables
+\usepackage{tabularx}
+
+% fields that user can set
+\makeatletter
+
+ \newcommand{\yourname}[1]{\def \@yourname{#1}}
+ \newcommand{\yournumber}[1]{\def \@yournumber{#1}}
+ \newcommand{\youraddress}[1]{\def \@youraddress{#1}}
+ \newcommand{\youremail}[1]{\def \@youremail{#1}}
+ \newcommand{\yourwebsite}[1]{\def \@yourwebsite{#1}}
+ \newcommand{\recenthistory}[1]{\def \@recenthistory{#1}}
+
+ \yourname{}
+ \yournumber{}
+ \youraddress{}
+ \youremail{}
+ \yourwebsite{}
+ \recenthistory{}
+
+ % redefine the author command
+ \renewcommand{\author}[1]{\yourname{#1}}
+\makeatother
+
+% images - such as a headshot if desired
+\usepackage[pdftex]{graphicx}
+
+% colours
+\usepackage{xcolor}
+\definecolor{verylightgrey}{rgb}{0.85,0.85,0.85}
+\definecolor{lightgrey}{rgb}{0.5,0.5,0.5}
+\definecolor{darkgrey}{rgb}{0.3,0.3,0.3}
+
+% fonts
+\usepackage[default]{cantarell}
+\usepackage[T1]{fontenc}
+
+% set some default lengths
+\setlength{\parindent}{18pt}
+
+% some custom font styling
+\makeatletter
+ % for document headers
+ \newcommand{\adddocumentheader}[1]{{\huge \textsc{#1}}}
+
+ % for section headers
+ \newenvironment{sectionheader}{\vspace{1.2cm} \color{darkgrey} \LARGE \noindent}{\par\vspace{3mm}}
+ \newcommand{\addheadertext}[1]{\begin{sectionheader}#1\end{sectionheader}}
+
+ % for sub headings
+ \newenvironment{subheader}{\color{darkgrey} \large}{\par}
+ \newcommand{\addsubheader}[1]{\begin{subheader}#1\end{subheader}}
+
+ % for bold callouts
+ \newenvironment{callout}{\color{darkgrey} \large}{}
+ \newcommand{\addcallout}[1]{\begin{callout}#1\end{callout}}
+
+ % for timeline headers
+ \newenvironment{timelineheader}{\color{lightgrey} \large}{}
+ \newcommand{\addtimelineheader}[1]{\begin{timelineheader}#1\end{timelineheader}}
+
+ % for list items with a particular format
+ \newcommand\listitem[1]{\item{\addcallout{#1}\enspace}}
+\makeatother
+
+% title
+\makeatletter
+\def \@maketitle {%
+ \noindent\begin{minipage}{0.5\textwidth}
+ \begin{flushleft}
+ \ifdefempty{\@yourname}{\relax}{\adddocumentheader{\@yourname}\\}
+ \ifdefempty{\@youremail}{\relax}{l\small\@youremail\\}
+ \ifdefempty{\@yourwebsite}{\relax}{\small\url{\@yourwebsite}\\}
+ \ifdefempty{\@yournumber}{\relax}{\small\@yournumber}
+ \end{flushleft}
+ \end{minipage}
+ \begin{minipage}{0.5\textwidth}
+ \begin{flushright}
+ \ifdefempty{\@youraddress}{\relax}{\hfill\small\@youraddress}
+ \end{flushright}
+ \end{minipage}
+
+ % add a closing rule
+ \vspace{0.5cm}
+ \noindent\rule{\textwidth}{0.2mm}
+
+ % draw recent history if there is any
+ \ifdefempty{\@recenthistory}{\relax}{%
+ \vspace{7mm}
+ \noindent\@recenthistory\\
+
+ % add a closing rule
+ \noindent\rule{\textwidth}{0.2mm}
+ }
+ \vspace{-1cm}
+}
+\makeatother
+
+% timeline
+\makeatletter
+
+ % start a timeline - fixes spacing before the timeline
+ \newcommand{\starttimeline}{\vspace{0.2cm}}
+
+ % end a timeline - fix up spacing after a timeline
+ \newcommand{\stoptimeline}{\vspace{0.5cm}}
+
+ % add a timeline bullet point
+ \newenvironment{timelinebullet}{\leftskip=12mm \parindent=-6mm $\bullet$ \hspace{2mm}}{\par\parindent=18pt}
+ \newcommand{\addtimelinebullet}[1]{\begin{timelinebullet}#1\end{timelinebullet}}
+
+ % recent summary listing in the form of a timeline - takes 2 arguments
+ % - First is the 'year' or date you want to apply
+ % - Second is the comments against that date
+ \newcommand{\timelineitem}[2]{
+ \noindent
+ \begin{minipage}[t]{0.2\textwidth}
+ \vspace{0.2cm}
+ \begin{center}
+ \addtimelineheader{#1}\quad\color{verylightgrey}\leaders\vrule height 5pt depth -4pt \hfill\color{black} \null
+ \end{center}
+ \end{minipage}
+ \hspace{-2mm}
+ \begin{minipage}[t]{0.8\textwidth}
+ \begin{timelinebar}
+ \vspace{2mm}
+ #2
+ \vspace{4mm}
+ \end{timelinebar}
+ \end{minipage}
+ \vspace{-1cm}
+ }
+
+ % make a timeline space, between two timeline items to pad them out
+ \newcommand{\timelinespacer}{
+ \par\noindent\begin{minipage}{0.2\textwidth}\quad\end{minipage}
+ \hspace{-2mm}
+ \begin{minipage}{0.8\textwidth}\begin{timelinebar}
+ \vspace{1.5cm}\quad
+ \end{timelinebar}\end{minipage}\par
+ \vspace{-5mm}
+ }
+\makeatother
+
+% hyperref package for links etc
+\usepackage{hyperref} \ No newline at end of file
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 7a2d6a929c8..2199d4a907a 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -192,7 +192,7 @@ my @TLP_working = qw(
gradientframe grafcet graphics graphics-pln
graphicx-psmin greek-inputenc greekdates greenpoint grfpaste
grid gridset grverb gtrcrd gu guitar guitlogo
- hands hanging hanoi happy4th har2nat hardwrap harmony harpoon
+ hands hanging hanoi happy4th har2nat hardwrap harmony harnon-cv harpoon
harvard harvmac hatching hausarbeit-jura
hc he-she hep hepnames
hepparticles hepthesis hepunits here hexgame hfbright hfoldsty
diff --git a/Master/tlpkg/tlpsrc/collection-langother.tlpsrc b/Master/tlpkg/tlpsrc/collection-langother.tlpsrc
index e3b92ea20f4..075d4280b76 100644
--- a/Master/tlpkg/tlpsrc/collection-langother.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-langother.tlpsrc
@@ -3,7 +3,7 @@ shortdesc Other hyphenation patterns
longdesc Hyphenation patterns for languages without (much) other support.
#
# Some actually do have extra packages (cbcoptic, friulan, romansh,
-# serbian-lig, serbianc, maybe others -- all in collection-latextra at
+# serbian-lig, serbianc, maybe others -- all in collection-latexextra at
# present), but I just didn't want to split them off into tiny
# collections of their own. Maybe another time. --karl
#
diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
index 0e10b781ca3..8f4bae3fb28 100644
--- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
@@ -319,6 +319,7 @@ depend gridset
depend guitlogo
depend hanging
depend hardwrap
+depend harnon-cv
depend harpoon
depend hc
depend he-she
diff --git a/Master/tlpkg/tlpsrc/harnon-cv.tlpsrc b/Master/tlpkg/tlpsrc/harnon-cv.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/harnon-cv.tlpsrc