Add 1-page short CV variant, ORCID, profile photo, pre-commit hook
- cv-short.tex: two-column paracol layout (66/34) with curated content
in the left column and an "at a glance" sidebar on the right.
Locally tightens parskip, \cvsection and \cvevent so everything fits
on a single A4 page, and redefines the sidebar list helper \sbitem
to replace altacv's non-wrapping tikz \cvtag in the narrow column.
- chapters/short/{current,education,grants-selected,products,
pubs-selected,sidebar}.tex: hand-curated highlight content
(top 6 publications, top 6 grants, condensed two-line products,
stats + recognition + leadership + research-focus sidebar blocks).
- chapters/header.tex / preamble.tex: ORCID 0000-0001-7512-8541
via a new \orcid info field (faOrcid icon); blog field for
giorgio.gilest.ro.
- images/gilestro.png: profile photo, used only by the short CV via
altacv's circular \photoR.
- hooks/pre-commit + `make install-hooks`: rebuilds every variant on
any .tex/.cls/Makefile change, aborts the commit on build failure,
and stages refreshed PDFs into pdf/.
- Makefile: short target, hook-install target, dep glob extended to
chapters/short/*.tex so the short build refreshes when its sources
change.
This commit is contained in:
parent
7e30ed5b48
commit
f8563e1336
12 changed files with 239 additions and 5 deletions
78
cv-short.tex
Normal file
78
cv-short.tex
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
% ============================================================
|
||||
% cv-short.tex -- 1-2 page highlight CV
|
||||
% Two-column layout via paracol: main content left, "at a glance"
|
||||
% + recognition tags in the right sidebar.
|
||||
% Build with: make short
|
||||
% ============================================================
|
||||
\documentclass[10pt,a4paper,ragged2e,withhyper]{altacv}
|
||||
|
||||
\input{preamble.tex}
|
||||
\usepackage{paracol}
|
||||
|
||||
% Narrow page margins for a denser look.
|
||||
\geometry{left=1.2cm,right=1.2cm,top=1.2cm,bottom=1.2cm,columnsep=0.9cm}
|
||||
|
||||
% Sidebar visual: light grey background colour for the right column.
|
||||
\definecolor{SidebarBG}{HTML}{F4F4F4}
|
||||
|
||||
% Tighter section spacing for the short variant.
|
||||
\renewcommand{\cvsectionfont}{\Large\bfseries}
|
||||
\renewcommand{\cvsubsectionfont}{\normalsize\bfseries}
|
||||
\setlength{\parskip}{1pt}
|
||||
|
||||
% Compress \cvsection: less top whitespace, thinner rule.
|
||||
\renewcommand{\cvsection}[2][]{%
|
||||
\nointerlineskip\medskip%
|
||||
{\color{heading}\cvsectionfont\MakeUppercase{#2}}\\[-0.6ex]%
|
||||
{\color{headingrule}\rule{\linewidth}{1.4pt}\par}\smallskip
|
||||
}
|
||||
|
||||
% Compress \cvevent: drop trailing \medskip.
|
||||
\makeatletter
|
||||
\renewcommand{\cvevent}[4]{%
|
||||
{\large\color{emphasis}#1\par}
|
||||
\smallskip\normalsize
|
||||
\ifstrequal{#2}{}{}{\textbf{\color{accent}#2}\par\smallskip}%
|
||||
\ifstrequal{#3}{}{}{%
|
||||
{\small\makebox[0.5\linewidth][l]{\cvDateMarker~#3}}}%
|
||||
\ifstrequal{#4}{}{}{%
|
||||
{\small\makebox[0.5\linewidth][l]{\cvLocationMarker~#4}}}\par
|
||||
\smallskip\normalsize
|
||||
}
|
||||
\makeatother
|
||||
|
||||
% Compact one-item-per-line list for the sidebar (replaces \cvtag pills,
|
||||
% which can't wrap inside the narrow column).
|
||||
\newcommand{\sbitem}[1]{%
|
||||
\par\noindent\textcolor{accent}{\small\faAngleRight}~\small #1\par%
|
||||
}
|
||||
|
||||
\begin{document}
|
||||
|
||||
% Photo (short CV only). altacv default: circular crop, no \normalphoto opt.
|
||||
\photoR{2.2cm}{images/gilestro}
|
||||
|
||||
% Full-width header at the top
|
||||
\input{chapters/header.tex}
|
||||
|
||||
% Two columns: main (left, 66%) / sidebar (right, 34%)
|
||||
\columnratio{0.66}
|
||||
\setlength{\columnsep}{2em}
|
||||
\setlength{\columnseprule}{0pt}
|
||||
\begin{paracol}{2}
|
||||
|
||||
% =============== MAIN COLUMN (left) ===========================
|
||||
\input{chapters/short/current.tex}
|
||||
\input{chapters/short/education.tex}
|
||||
\input{chapters/short/grants-selected.tex}
|
||||
\input{chapters/short/products.tex}
|
||||
\input{chapters/short/pubs-selected.tex}
|
||||
|
||||
\switchcolumn
|
||||
|
||||
% =============== SIDEBAR (right) ==============================
|
||||
\input{chapters/short/sidebar.tex}
|
||||
|
||||
\end{paracol}
|
||||
|
||||
\end{document}
|
||||
Loading…
Add table
Add a link
Reference in a new issue