diff --git a/rendercv/themes/moderncv/EducationEntry.j2.tex b/rendercv/themes/moderncv/EducationEntry.j2.tex index af45ae9..2ba4c34 100644 --- a/rendercv/themes/moderncv/EducationEntry.j2.tex +++ b/rendercv/themes/moderncv/EducationEntry.j2.tex @@ -1,4 +1,10 @@ -\cventry{((* if design.show_only_years *))<>((* else *))<>((* endif *))}{((* if entry.degree != "" *))<>, ((* endif *))<>}{<>}{<>}{}{} +\cventry{ + ((*- if design.show_only_years *))<<-entry.date_string_only_years->>((* else *))<<-entry.date_string->>((* endif -*)) +}{\textbf{<>}}{ +((*- if entry.degree != "" *))<> in ((* endif *))<> +}{ + <<-entry.location->> +}{}{} ((* for item in entry.highlights *)) \cvlistitem{<>} ((* endfor *)) \ No newline at end of file diff --git a/rendercv/themes/moderncv/ExperienceEntry.j2.tex b/rendercv/themes/moderncv/ExperienceEntry.j2.tex index b1cb787..7a49fe6 100644 --- a/rendercv/themes/moderncv/ExperienceEntry.j2.tex +++ b/rendercv/themes/moderncv/ExperienceEntry.j2.tex @@ -1,4 +1,10 @@ -\cventry{((* if design.show_only_years *))<>((* else *))<>((* endif *))}{<>}{<>}{<>}{}{} +\cventry{ + ((*- if design.show_only_years *))<<-entry.date_string_only_years->>((* else *))<<-entry.date_string->>((* endif -*)) +}{\textbf{<>}}{ + <<-entry.position->> +}{ + <<-entry.location->> +}{}{} ((* for item in entry.highlights *)) \cvlistitem{<>} ((* endfor *)) \ No newline at end of file diff --git a/rendercv/themes/moderncv/NormalEntry.j2.tex b/rendercv/themes/moderncv/NormalEntry.j2.tex index f75b363..4b2b18f 100644 --- a/rendercv/themes/moderncv/NormalEntry.j2.tex +++ b/rendercv/themes/moderncv/NormalEntry.j2.tex @@ -1,4 +1,10 @@ -\cventry{((* if design.show_only_years *))<>((* else *))<>((* endif *))}{<>}{}{<>}{}{} +\cventry{ + ((*- if design.show_only_years *))<<-entry.date_string_only_years->>((* else *))<<-entry.date_string->>((* endif -*)) +}{ + <<-entry.name->> +}{ + <<-entry.location->> +}{}{}{} ((* for item in entry.highlights *)) \cvlistitem{<>} ((* endfor *)) \ No newline at end of file diff --git a/rendercv/themes/moderncv/Preamble.j2.tex b/rendercv/themes/moderncv/Preamble.j2.tex index 9dbebef..48840da 100644 --- a/rendercv/themes/moderncv/Preamble.j2.tex +++ b/rendercv/themes/moderncv/Preamble.j2.tex @@ -85,3 +85,13 @@ % \social[signal]{12345678901} % optional, remove / comment the line if not wanted % \social[matrix]{@johndoe:matrix.org} % optional, remove / comment the line if not wanted % \social[googlescholar]{googlescholarid} % optional, remove / comment the line if not wanted + +% new command for cventry (this is done to allow users unbold or unitalicize the text in the cventry command) +\renewcommand*{\cventry}[6][.25em]{% + \cvitem[#1]{#2}{% + #3% + \ifthenelse{\equal{#4}{}}{}{, #4}% + \ifthenelse{\equal{#5}{}}{}{, #5}% + \ifthenelse{\equal{#6}{}}{}{, #6}% + } +} \ No newline at end of file diff --git a/rendercv/themes/moderncv/PublicationEntry.j2.tex b/rendercv/themes/moderncv/PublicationEntry.j2.tex index 1862b0c..90ba510 100644 --- a/rendercv/themes/moderncv/PublicationEntry.j2.tex +++ b/rendercv/themes/moderncv/PublicationEntry.j2.tex @@ -1,6 +1,8 @@ -\cventry{<>}{<>}{<>}{ -((*- if entry.doi != "" -*)) -\href{<>}{<>} -((*- endif -*)) +\cventry{ + <<-entry.date_string->> +}{\textbf{<>}}{ + <<-entry.journal->> +}{ +((*- if entry.doi != "" -*))\href{<>}{<>}((*- endif -*)) }{}{} \cvline{}{\small <>} \ No newline at end of file