sb2nov: allow unbolding and unitalicizing of text

This commit is contained in:
Sina Atalay 2024-03-21 18:59:05 +01:00
parent 7fd57c9f3a
commit 7bfa3c9bb0
4 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
\resumeSubheading
{<<entry.institution>>}{<<entry.location>>}
{((* if entry.degree *))<<entry.degree>> in ((* endif *))<<entry.area>>}{<<entry.date_string>>}
{\textbf{<<entry.institution>>}}{\textit{<<entry.location>>}}
{\textit{((* if entry.degree *))<<entry.degree>> in ((* endif *))<<entry.area>>}}{\textit{<<entry.date_string>>}}
((* for item in entry.highlights *))
((* if loop.first *))
\resumeItemListStart

View File

@ -1,6 +1,6 @@
\resumeSubheading
{<<entry.company>>}{<<entry.location>>}
{<<entry.position>>}{<<entry.date_string>>}
{\textbf{<<entry.company>>}}{\textit{<<entry.location>>}}
{\textit{<<entry.position>>}}{\textit{<<entry.date_string>>}}
((* for item in entry.highlights *))
((* if loop.first *))
\resumeItemListStart

View File

@ -116,8 +116,8 @@
\newcommand{\resumeSubheading}[4]{
\item
\begin{tabularx}{0.98\textwidth-<<design.margins.entry_area.left_and_right|divide_length_by(0.5)>>}[t]{X R{<<design.margins.entry_area.date_and_location_width>>}}
\textbf{#1} & \textit{\small\ifthenelse{\equal{#2}{}}{#4}{#2}} \\
\textit{\small#3} & \textit{\small\ifthenelse{\equal{#2}{}}{}{#4}} \\
#1 & \small\ifthenelse{\equal{#2}{}}{#4}{#2} \\
{\small#3} & \small\ifthenelse{\equal{#2}{}}{}{#4} \\
\end{tabularx}
}

View File

@ -1,14 +1,14 @@
\resumeSubheading
{<<entry.title>>}{<<entry.date_string>>}
{\textbf{<<entry.title>>}}{\textit{<<entry.date_string>>}}
{
((*- if entry.doi != "" -*))
\textit{((*- if entry.doi != "" -*))
\href{<<entry.doi_url>>}{<<entry.doi>>}
((*- endif -*))
((*- if entry.doi != "" and entry.journal != "" *)) (((* endif -*))
((*- if entry.journal != "" -*))
<<entry.journal>>
((*- endif -*))
((*- if entry.doi != "" and entry.journal != "" *)))((* endif -*))
((*- if entry.doi != "" and entry.journal != "" *)))((* endif -*))}
}{}
\resumeItemListStart
\resumeItem{}{\raggedright <<entry.authors|map("make_it_nolinebreak")|join(", ")>> \par}