Skip to content

Commit

Permalink
feat(cv): extract cv common files/commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy Chu authored and chujimmy committed Jun 11, 2021
1 parent 4332efe commit f281ea1
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 11 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions src/cv/common/cv_common_main.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
\input{../../../cv/common/package}
\input{../../../cv/common/cv_override}

\input{../../../common/style/spacing}
\input{../../../common/style/symbol}
File renamed without changes.
6 changes: 1 addition & 5 deletions src/cv/common/main.tex → src/cv/common/package.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,4 @@
\usepackage{etoolbox}
\usepackage{fontawesome5}
\usepackage{xpatch}
\usepackage{xstring}

\input{../../common/moderncv_override}
\input{../../common/spacing}
\input{../../common/style}
\usepackage{xstring}
2 changes: 1 addition & 1 deletion src/cv/lang/en/cv.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
\moderncvtheme[blue]{classic}

\usepackage[margin=1.55cm]{geometry}
\input{../../common/main}
\input{../../../cv/common/cv_common_main}
\input{./sections/00_header}

\nopagenumbers
Expand Down
2 changes: 1 addition & 1 deletion src/cv/lang/en/sections/00_header.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\input{../../common/sections/header}
\input{../../../common/sections/header}
\extrainfo{
\begin{tabular}[t]{@{}r@{}}
Date of birth: 01/01/1970 \\
Expand Down
2 changes: 1 addition & 1 deletion src/cv/lang/fr/cv.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
\moderncvtheme[blue]{classic}

\usepackage[margin=1.55cm]{geometry}
\input{../../common/main}
\input{../../../cv/common/cv_common_main}
\input{./sections/00_header}

\nopagenumbers
Expand Down
2 changes: 1 addition & 1 deletion src/cv/lang/fr/sections/00_header.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\input{../../common/sections/header}
\input{../../../common/sections/header}
\extrainfo{
\begin{tabular}[t]{@{}r@{}}
Date~de~naissance~:~01/01/1970 \\
Expand Down
2 changes: 1 addition & 1 deletion src/template/cv/cv.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
\moderncvtheme[blue]{classic}

\usepackage[margin=1.55cm]{geometry}
\input{../../common/main}
\input{../../../cv/common/cv_common_main}
\input{./sections/00_header}

\nopagenumbers
Expand Down
2 changes: 1 addition & 1 deletion src/template/cv/sections/00_header.tex
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
\input{../../common/sections/header}
\input{../../../common/sections/header}
\extrainfo{}

0 comments on commit f281ea1

Please sign in to comment.