This is my résumé made using latex.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

128 lines
3.7 KiB

  1. \ProvidesClass{includes}[2020/02/18 CV]
  2. \NeedsTeXFormat{LaTeX2e}
  3. \DeclareOption{print}{\def\@cv@print{}}
  4. \DeclareOption*{
  5. \PassOptionsToClass{\CurrentOption}{scrartcl}
  6. }
  7. \ProcessOptions\relax
  8. \LoadClass{scrartcl}
  9. \usepackage[english,spanish]{babel}
  10. \usepackage[utf8x]{inputenc}
  11. \usepackage[default,scale=0.95]{opensans}
  12. \usepackage[T1]{fontenc}
  13. \usepackage[protrusion=true,expansion=true]{microtype}
  14. \usepackage{amsmath,amsfonts,amsthm}
  15. \usepackage[pdftex]{graphicx}
  16. \usepackage{wrapfig}
  17. \usepackage[hmargin=1.25cm, vmargin=0.7cm]{geometry}
  18. \usepackage[usenames,dvipsnames]{xcolor}
  19. \usepackage{sidecap}
  20. \usepackage{geometry}
  21. \usepackage{url}
  22. \usepackage{float}
  23. \usepackage{dirtytalk}
  24. % Better looking spacings after periods
  25. \frenchspacing
  26. % No pagenumbers/headers/footers
  27. \pagestyle{empty}
  28. % Color definitions
  29. \definecolor{date}{HTML}{666666}
  30. \definecolor{primary}{HTML}{191919}
  31. \definecolor{headings}{HTML}{025178}
  32. \definecolor{subheadings}{HTML}{002648}
  33. % Custom sectioning (sectsty package)
  34. \usepackage{sectsty}
  35. \sectionfont{\usefont{OT1}{phv}{b}{n}\sectionrule{0pt}{0pt}{-5pt}{3pt}}
  36. \subsectionfont{\color{headings}\usefont{OT1}{phv}{b}{n}}
  37. \subsubsectionfont{\sectionrule{0pt}{0pt}{-5pt}{3pt}}
  38. % Remove numbers from sections
  39. \renewcommand{\@seccntformat}[1]{%
  40. \ifcsname prefix@#1\endcsname
  41. \csname prefix@#1\endcsname
  42. \else
  43. \csname the#1\endcsname\quad
  44. \fi}
  45. \newcommand\prefix@section{}
  46. % Macros
  47. % ------------------------------------------------
  48. % If english is true use it, otherwise use spanish
  49. \newif\ifen
  50. \newcommand{\en}[2]{\ifen#1\else#2\fi}
  51. % Skill levels
  52. \newcommand{\basic}[0]{\ifen{Basic}\else{Básico}\fi}
  53. \newcommand{\intermediate}[0]{\ifen{Intermediate}\else{Intermedio}\fi}
  54. \newcommand{\advanced}[0]{\ifen{Advanced}\else{Avanzado}\fi}
  55. \newcommand{\beginner}[0]{\ifen{Beginner}\else{Principiante}\fi}
  56. \newcommand{\native}[0]{\ifen{Native}\else{Nativo}\fi}
  57. \newcommand{\professional}[0]{\ifen{Professional}\else{Profesional}\fi}
  58. % Box style
  59. \newlength{\spacebox}
  60. \settowidth{\spacebox}{8888888888} % Box to align text
  61. \newcommand{\sepspace}{\vspace*{1em}} % Vertical space macro
  62. \newcommand{\MyName}[1]{
  63. \huge \usefont{OT1}{phv}{b}{n} \hfill \textcolor{headings}{#1}
  64. \par \normalsize \normalfont
  65. }
  66. \newcommand{\NewPart}[2]{\en{\section{ \color{headings} \uppercase{#1}}}{\section{ \color{headings} \uppercase{#2}}}}
  67. \newcommand{\SkillsEntry}[2]{ % Same as \PersonalEntry
  68. \noindent\hangindent=2em\hangafter=0 % Indentation
  69. \parbox{\spacebox}{ % Box to align text
  70. \textit{#1}} % Entry name (birth, address, etc.)
  71. \hspace{1.5em} #2 \par % Entry value
  72. }
  73. \newcommand{\WorkEntry}[9]{
  74. \begin{minipage}{0.08\linewidth}
  75. \includegraphics[width=1.2cm] {#9}
  76. \end{minipage}%
  77. \begin{minipage}{0.84\linewidth}
  78. \noindent {\color{subheadings}\bfseries\uppercase {\en{#1}{#2}}}, {\color{subheadings}\textit{\en{#3}{#4}}}
  79. \hfill {\color{headings}\fontsize{10pt}{12pt}\en{#5}{#6}}
  80. \par
  81. \noindent\hangindent=2em\hangafter=0 \small \en{#7}{#8} % Description
  82. \normalsize \par
  83. \end{minipage}
  84. }
  85. \newcommand{\EducationEntry}[9]{
  86. \begin{minipage}{0.08\linewidth}
  87. \includegraphics[width=1.2cm] {#9}
  88. \end{minipage}%
  89. \begin{minipage}{0.84\linewidth}
  90. \noindent {\color{subheadings}\bfseries\uppercase {\en{#1}{#2}}}
  91. \hfill {\color{headings}\fontsize{10pt}{12pt}\en{#3}{#4}}
  92. \par
  93. \noindent {\color{subheadings}\textit{\en{#5}{#6}}} \par
  94. \noindent\hangindent=2em\hangafter=0 \small \en{#7}{#8} % Description
  95. \normalsize \par
  96. \end{minipage}
  97. }
  98. \newcommand{\flag}[1]{
  99. \includegraphics[height=9pt, width= 15pt]{#1}
  100. }
  101. \newcommand{\software}[1]{
  102. \includegraphics[height=9pt]{#1}
  103. }
  104. \newcommand{\softwareb}[1]{
  105. \raisebox{-.6\height}{\includegraphics[height=18pt]{#1}}
  106. }