summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-09-08 21:15:11 +0000
committerKarl Berry <karl@freefriends.org>2023-09-08 21:15:11 +0000
commitc97b51b5d30990da62a555a0f5c2089a9b2ab56e (patch)
treeedf75d847126d998346a7c3d2678a9b01eb7bd0a
parent9238267d6012b5b60c03dc4a6f070307e5b523d4 (diff)
curriculum-vitae (8sep23)
git-svn-id: svn://tug.org/texlive/trunk@68211 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/curriculum-vitae/README.md19
-rw-r--r--Master/texmf-dist/doc/latex/curriculum-vitae/curriculum-vitae-example.pdfbin0 -> 103100 bytes
-rw-r--r--Master/texmf-dist/doc/latex/curriculum-vitae/curriculum-vitae-example.tex40
-rw-r--r--Master/texmf-dist/tex/latex/curriculum-vitae/curriculum-vitae.cls51
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rw-r--r--Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/curriculum-vitae.tlpsrc0
7 files changed, 112 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/curriculum-vitae/README.md b/Master/texmf-dist/doc/latex/curriculum-vitae/README.md
new file mode 100644
index 00000000000..6951c93206b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/curriculum-vitae/README.md
@@ -0,0 +1,19 @@
+# *Curriculum vitae* class for LaTeX
+
+This is a lightweight class file that makes it convenient to typeset CVs/resumes with LaTeX. It provides a `\cvsection` command and `detail` environment. A sample is included in curriculum-vitae.tex.
+
+```
+Copyright 2023 Sumukh Prasad
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+``` \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/curriculum-vitae/curriculum-vitae-example.pdf b/Master/texmf-dist/doc/latex/curriculum-vitae/curriculum-vitae-example.pdf
new file mode 100644
index 00000000000..669f0d40049
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/curriculum-vitae/curriculum-vitae-example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/curriculum-vitae/curriculum-vitae-example.tex b/Master/texmf-dist/doc/latex/curriculum-vitae/curriculum-vitae-example.tex
new file mode 100644
index 00000000000..e11fb3b394b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/curriculum-vitae/curriculum-vitae-example.tex
@@ -0,0 +1,40 @@
+\documentclass[12pt]{curriculum-vitae}
+\usepackage[a4paper, total={7.3in, 9.7in}]{geometry}
+
+\name{Name Namename}
+\mailingaddr{123 High Street, Anytown, County, Postcode}
+\desc{Professional Action Figure Collector}
+\webpage{www.example.com}
+\phone{01234 567 890}
+
+
+
+\begin{document}
+
+ \maketitle
+
+ \cvsection[Education]{
+ \begin{detail}[School of Action Figure Collecting]{Jan 2000}{Jan 2003}
+ \begin{itemize}
+ \item Learnt how to organise action figures
+ \item Conducted research on action figure heights
+ \end{itemize}
+ \end{detail}
+ }
+
+ \cvsection[Rando Research]{
+ \begin{detail}[Action Figure Heights: Are they growing smaller?]{Jan 2000}{Jan 2003}
+ Very important research article.
+ \end{detail}
+ \begin{detail}[Action Figure Heights: Are they growing taller?]{Jan 2000}{Jan 2003}
+ Another very important research article.
+ \end{detail}
+ \subsection{Journals}
+ \begin{itemize}
+ \item Journal of Action vol 333
+ \item Journal of Action vol 334
+ \item Journal of Action vol 335
+ \end{itemize}
+ }
+
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/curriculum-vitae/curriculum-vitae.cls b/Master/texmf-dist/tex/latex/curriculum-vitae/curriculum-vitae.cls
new file mode 100644
index 00000000000..cf4b03e3c27
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/curriculum-vitae/curriculum-vitae.cls
@@ -0,0 +1,51 @@
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesClass{curriculum-vitae}[2023/05/17 v1.0 LaTeX class for curriculum vitae]
+
+\LoadClass[onecolumn]{article}
+\def\@name{}
+\newcommand{\name}[1]{%
+ \def\@name{#1}%
+}
+\def\@webpage{}
+\newcommand{\webpage}[1]{%
+ \def\@webpage{#1}%
+}
+\def\@phone{}
+\newcommand{\phone}[1]{%
+ \def\@phone{#1}%
+}
+\def\@desc{}
+\newcommand{\desc}[1]{%
+ \def\@desc{#1}%
+}
+\def\@email{}
+\newcommand{\email}[1]{%
+ \def\@email{#1}%
+}
+\def\@mailingaddr{}
+\newcommand{\mailingaddr}[1]{%
+ \def\@mailingaddr{#1}%
+}
+\renewcommand{\maketitle}{%
+ \begin{center}
+ \noindent{\bf\Huge\@name}\vspace{0.5cm}\\{\sc\@desc}\vspace{0.5cm}\\{\it\@mailingaddr}\\{\@phone $\vert$ \@webpage}\vspace{0.25cm}\\%
+ \noindent\rule{5cm}{0.4pt}\vspace{0.75cm}\\
+ \end{center}
+}
+
+\RequirePackage{titlesec}
+\titleformat{\section}{\scshape\Large}{\thesection}{1em}{}
+\titleformat{\subsection}{\normalfont\bfseries}{\thesubsection}{0.5em}{}
+\setcounter{secnumdepth}{-1}
+\newcommand{\cvsection}[2][]{
+ \noindent\begin{minipage}[t]{4cm}
+ \begin{flushleft}{{\scshape\Large#1}\addcontentsline{toc}{section}{#1}}\end{flushleft}
+ \end{minipage}
+ \hspace{0.5cm}\begin{minipage}[t]{\dimexpr\linewidth-4.5cm\relax}
+ {#2}
+ \end{minipage}\vspace{0.2cm}\\
+}
+
+\newenvironment{detail}[3][]{%
+ {{\bfseries#1}\addcontentsline{toc}{subsection}{#1}}\hfill#2 -- #3\\%
+\small}{\normalsize\noindent\vspace{0.5cm}\\} \ No newline at end of file
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index d4d2a0471b5..c00a21730de 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -240,7 +240,7 @@ my @TLP_working = qw(
ctan-o-mat ctan_chk ctanbib ctanify ctanupload
ctable ctablestack ctex ctex-faq
culmus cuprum cursolatex cuisine
- currency currfile currvita curve curve2e curves
+ currency currfile curriculum-vitae currvita curve curve2e curves
custom-bib customdice cutwin cv cv4tw cvss cweb-latex
cyber cybercic cyklop cyrillic cyrplain
dad dancers dantelogo darkmode
diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
index 69cac6ab5d9..92c94814ed9 100644
--- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
@@ -282,6 +282,7 @@ depend csvsimple
depend cuisine
depend currency
depend currfile
+depend curriculum-vitae
depend currvita
depend cutwin
depend cv
diff --git a/Master/tlpkg/tlpsrc/curriculum-vitae.tlpsrc b/Master/tlpkg/tlpsrc/curriculum-vitae.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/curriculum-vitae.tlpsrc