feature/update-cv #3

Merged
pcabral merged 19 commits from feature/update-cv into main 2026-03-17 22:11:11 +01:00
4 changed files with 54 additions and 19 deletions
Showing only changes of commit 4e97205c67 - Show all commits

3
moderncv/.gitignore vendored
View File

@@ -3,4 +3,5 @@
*.* *.*
!.gitignore !.gitignore
!*.tex !*.tex
!*.pdf !*.pdf
!*.cls

View File

@@ -1,5 +1,5 @@
\documentclass[11pt,a4paper,sans]{moderncv} \documentclass[11pt,a4paper,sans]{pedro-moderncv}
\moderncvstyle{classic} % Style options: 'casual', 'classic', 'oldstyle', 'banking' \moderncvstyle{classic} % Style options: 'casual', 'classic', 'oldstyle', 'banking'
\moderncvcolor{blue} % Color options: 'blue', 'orange', 'green', 'red', 'purple', 'grey', 'black' \moderncvcolor{blue} % Color options: 'blue', 'orange', 'green', 'red', 'purple', 'grey', 'black'

View File

@@ -0,0 +1,22 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{pedro-moderncv}[2026/02/23 Custom moderncv wrapper]
\LoadClassWithOptions{moderncv}
\RequirePackage{tikz}
\RequirePackage{etoolbox}
\AtBeginDocument{%
\makeatletter
\patchcmd{\makecvhead}
{\includegraphics[width=\@photowidth]{\@photo}}
{%
\begin{tikzpicture}
\clip (0,0) circle (\@photowidth/2);
\node at (0,0)
{\includegraphics[width=\@photowidth]{\@photo}};
\end{tikzpicture}
}
{}{}
\makeatother
}