From cb642e6cd8e4493706b97361e1277818df81b00e Mon Sep 17 00:00:00 2001 From: Christophe Roger Date: Wed, 19 Aug 2015 18:41:23 +1100 Subject: - Updated README.md - Updated cv.tex with demo mode set to true - Added new section_references_demo.tex for demo mode --- README.md | 15 ++++++++++++++- cv.tex | 4 ++-- section_references_demo.tex | 9 +++++++++ 3 files changed, 25 insertions(+), 3 deletions(-) create mode 100755 section_references_demo.tex diff --git a/README.md b/README.md index 9cd47d3..2655d34 100755 --- a/README.md +++ b/README.md @@ -10,7 +10,8 @@ More informations can be found here In my version, Personal data have moved on top of the page just before the professional title. -I have also created little macros have been created to make easier and cleaner Latex source code +I have also created little Latex macros to make easier and cleaner Latex source code + ```TeX \user{firstname}{LASTNAME} \linkedin{{link}{Link Description}} @@ -19,3 +20,15 @@ I have also created little macros have been created to make easier and cleaner L \smartphone{+687 000 000} \email{mail@dummy-mail.com} ``` + +Another macro has been set to perform conditional include. You have to put \demotrue or \demofalse once in your file to use \conditionalinput macro + +```TeX +%These two lines will include section_references_demo +\demotrue +\conditionalinput{section_references_demo}{references} + +%These two lines will include references +\demotrue +\conditionalinput{section_references_demo}{references} +``` diff --git a/cv.tex b/cv.tex index 51881f7..825f880 100755 --- a/cv.tex +++ b/cv.tex @@ -60,7 +60,7 @@ \pagestyle{empty} % non-numbered pages \font\fb=''[cmr10]'' % for use with \LaTeX command -\demofalse % Set Demo mode to true +\demotrue % Set Demo mode to true \conditionalinput{section_perso_demo}{section_perso} % Personal data section @@ -78,6 +78,6 @@ \input{langues} % Section langues \input{scolarite} %\input{interets} -\conditionalinput{references_demo}{references} % Section références +\conditionalinput{section_references_demo}{references} % Section références \end{document} \ No newline at end of file diff --git a/section_references_demo.tex b/section_references_demo.tex new file mode 100755 index 0000000..9dcf392 --- /dev/null +++ b/section_references_demo.tex @@ -0,0 +1,9 @@ +%Section: Références +\section{\texorpdfstring{\color{Blue}Références}{Références}} + +\begin{tabular}{>{\small}r >{\small}p{8cm} >{\small}r >{\small}l} + \multicolumn{2}{l}{\textsc{First Reference}, \emph{Dummy Position}, DummyCompany} & \multicolumn{2}{l}{\textsc{Second Reference}, \emph{Fake Position}, Fake Corp } \\ + \quad \faMobilePhone & +33 0 00 00 00 00 & \quad \faMobilePhone & +33 0 00 00 00 04\\ + \quad \faPhone & +33 0 00 00 00 01 & \quad \faPhone& +33 0 00 00 00 03\\ + \quad \faEnvelope & \href{mailto:mail@dummy.com}{mail@dummy.com}& \quad \faEnvelope & \href{mailto:mail@fake.com}{mail@fake.com}\\ +\end{tabular} \ No newline at end of file -- cgit v1.2.3