From d0c4c7601d20b2bde94a08e0cec36da4685254d9 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Fri, 14 Apr 2023 20:08:23 +0300 Subject: [PATCH] Add language variable and language specific address part --- contact_info.tex | 12 ++++++++---- marko_korhonen_cv_en.tex | 4 ++++ marko_korhonen_cv_fi.tex | 4 ++++ 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/contact_info.tex b/contact_info.tex index ec8c7b8..625391d 100644 --- a/contact_info.tex +++ b/contact_info.tex @@ -1,5 +1,9 @@ -Ankeriaantie 3 A -54915 Saimaanharju -Finland -+358407658800 +Ankeriaantie 3 A\\ +54915 Saimaanharju\\ +\ifx\cvLang\fi +Etelä-Karjala, Suomi\\ +\else +South Karelia, Finland\\ +\fi ++358407658800\\ \href{mailto:marko@korhonen.cc}{marko@korhonen.cc} diff --git a/marko_korhonen_cv_en.tex b/marko_korhonen_cv_en.tex index eb5f721..90dc798 100644 --- a/marko_korhonen_cv_en.tex +++ b/marko_korhonen_cv_en.tex @@ -26,6 +26,8 @@ % 'nocolors' to disable colors in section headers \documentclass[]{friggeri-cv-a4} +\def\cvLang{en} + \begin{document} \header{Marko }{Korhonen}{software developer} % Your name and current job title/field @@ -36,7 +38,9 @@ \begin{aside} % In the aside, each new line forces a line break \section{contact} +\restorecr \include{contact_info} +\obeycr \section{languages} \textbf{fluent} finnish \& english diff --git a/marko_korhonen_cv_fi.tex b/marko_korhonen_cv_fi.tex index c7f2d72..e6d1dec 100644 --- a/marko_korhonen_cv_fi.tex +++ b/marko_korhonen_cv_fi.tex @@ -26,6 +26,8 @@ % 'nocolors' to disable colors in section headers \documentclass[]{friggeri-cv-a4} +\def\cvLang{fi} + \begin{document} \header{Marko }{Korhonen}{Ohjelmistokehittäjä} % Your name and current job title/field @@ -36,7 +38,9 @@ \begin{aside} % In the aside, each new line forces a line break \section{Yhteystiedot} +\restorecr \include{contact_info} +\obeycr \section{Kielet} \textbf{Sujuva} suomi \& englanti