summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe ROGER <darwiin@users.noreply.github.com>2019-06-30 15:45:39 +1100
committerChristophe ROGER <darwiin@users.noreply.github.com>2019-06-30 15:45:39 +1100
commit0917ec57b08798e094fc0ea533b070663b63bb33 (patch)
treedcb833ff304b8358ad3999700939b663b2293fa3
parent8b4a7d917a6b051358e7cc88b22bb8e44157f418 (diff)
downloadcv-0917ec57b08798e094fc0ea533b070663b63bb33.tar.gz
cv-0917ec57b08798e094fc0ea533b070663b63bb33.tar.bz2
cv-0917ec57b08798e094fc0ea533b070663b63bb33.tar.xz
cv-0917ec57b08798e094fc0ea533b070663b63bb33.zip
[EVO] Add new size option
[FIX] Change demo adresse
-rwxr-xr-xexample/cv.tex4
-rwxr-xr-xyaac-another-awesome-cv.cls12
2 files changed, 12 insertions, 4 deletions
diff --git a/example/cv.tex b/example/cv.tex
index 1d94839..3b67a54 100755
--- a/example/cv.tex
+++ b/example/cv.tex
@@ -10,10 +10,10 @@
% Template license:
% CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/)
-\documentclass[localFont,alternative]{yaac-another-awesome-cv}
+\documentclass[localFont,alternative,10pt]{yaac-another-awesome-cv}
\name{Christophe}{Roger}
\tagline{Architecte Logiciel | Développeur/Concepteur Senior Java/JEE}
-\photo{2.5cm}{cr}
+\photo{2.5cm}{darwiin}
\socialinfo{
\linkedin{christopheroger}
\github{darwiin}\\
diff --git a/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv.cls
index 66daa59..e002a33 100755
--- a/yaac-another-awesome-cv.cls
+++ b/yaac-another-awesome-cv.cls
@@ -17,9 +17,17 @@
%
% This work consists of the files awesome-source-cv.cls
-\ProvidesClass{yaac-another-awesome-cv}[2018/10/17 v1.10.2 'YAAC: Another Awesome CV' Class]
+\ProvidesClass{yaac-another-awesome-cv}[2019/06/18 v2.0.0 'YAAC: Another Awesome CV' Class]
-\LoadClass[a4paper]{article}
+\def\@@ptsize{10pt}
+
+\DeclareOption{10pt}{\def\@@ptsize{10pt}}
+\DeclareOption{11pt}{\def\@@ptsize{11pt}}
+\DeclareOption{12pt}{\def\@@ptsize{12pt}}
+
+\ProcessOptions\relax
+
+\LoadClass[a4paper,\@@ptsize]{article}
\newif\if@showLinks \@showLinksfalse