sb2nov: fix templating bugs

This commit is contained in:
Sina Atalay 2024-04-16 15:50:43 +03:00
parent 2860053f4c
commit 3bc42aa77f
6 changed files with 19 additions and 19 deletions

View File

@ -3,5 +3,5 @@
((* endif *)) ((* endif *))
\begin{onecolentry} \begin{onecolentry}
\textbullet \hspace{3pt} <<entry.bullet>> \textbullet \hspace{<<design.margins.entry_area.bullet_width>>-0.2cm}<<entry.bullet>>
\end{onecolentry} \end{onecolentry}

View File

@ -1,5 +1,5 @@
((* if not is_first_entry *)) ((* if not is_first_entry *))
\vspace{<<design.margins.entry_area.vertical_between>>} \vspace{<<design.margins.entry_area.vertical_between>>-3px}
((* endif *)) ((* endif *))
((* if entry.date_string or entry.location *)) ((* if entry.date_string or entry.location *))
@ -9,10 +9,10 @@
\vspace*{3px} \vspace*{3px}
\vspace*{\fill} \vspace*{\fill}
}{ }{
((* if entry.date_string *))\textit{<<entry.date_string>>}((* endif *))
((* if entry.location *))\textit{<<entry.location>>}((* endif *)) ((* if entry.location *))\textit{<<entry.location>>}((* endif *))
((* if entry.date_string *))\textit{<<entry.date_string>>}((* endif *))
} }
((* else *)) ((* else *))
\begin{onecolentrybulleted} \begin{onecolentrybulleted}
@ -28,7 +28,7 @@
((* for item in entry.highlights *)) ((* for item in entry.highlights *))
((* if loop.first *)) ((* if loop.first *))
\vspace{<<design.margins.highlights_area.top>>} \vspace{<<design.margins.highlights_area.top>>-3px}
\begin{onecolentry} \begin{onecolentry}
\begin{highlights} \begin{highlights}
((* endif *)) ((* endif *))

View File

@ -1,5 +1,5 @@
((* if not is_first_entry *)) ((* if not is_first_entry *))
\vspace{<<design.margins.entry_area.vertical_between>>} \vspace{<<design.margins.entry_area.vertical_between>>-3px}
((* endif *)) ((* endif *))
((* if entry.date_string or entry.location *)) ((* if entry.date_string or entry.location *))
@ -9,10 +9,10 @@
\vspace*{3px} \vspace*{3px}
\vspace*{\fill} \vspace*{\fill}
}{ }{
((* if entry.date_string *))\textit{<<entry.date_string>>}((* endif *))
((* if entry.location *))\textit{<<entry.location>>}((* endif *)) ((* if entry.location *))\textit{<<entry.location>>}((* endif *))
((* if entry.date_string *))\textit{<<entry.date_string>>}((* endif *))
} }
((* else *)) ((* else *))
\begin{onecolentrybulleted} \begin{onecolentrybulleted}
@ -28,7 +28,7 @@
((* for item in entry.highlights *)) ((* for item in entry.highlights *))
((* if loop.first *)) ((* if loop.first *))
\vspace{<<design.margins.highlights_area.top>>} \vspace{<<design.margins.highlights_area.top>>-3px}
\begin{onecolentry} \begin{onecolentry}
\begin{highlights} \begin{highlights}
((* endif *)) ((* endif *))

View File

@ -1,5 +1,5 @@
((* if not is_first_entry *)) ((* if not is_first_entry *))
\vspace{<<design.margins.entry_area.vertical_between>>} \vspace{<<design.margins.entry_area.vertical_between>>-3px}
((* endif *)) ((* endif *))
((* if entry.date_string or entry.location *)) ((* if entry.date_string or entry.location *))
@ -9,10 +9,10 @@
\vspace*{3px} \vspace*{3px}
\vspace*{\fill} \vspace*{\fill}
}{ }{
((* if entry.date_string *))\textit{<<entry.date_string>>}((* endif *))
((* if entry.location *))\textit{<<entry.location>>}((* endif *)) ((* if entry.location *))\textit{<<entry.location>>}((* endif *))
((* if entry.date_string *))\textit{<<entry.date_string>>}((* endif *))
} }
((* else *)) ((* else *))
\begin{onecolentrybulleted} \begin{onecolentrybulleted}
@ -26,7 +26,7 @@
((* for item in entry.highlights *)) ((* for item in entry.highlights *))
((* if loop.first *)) ((* if loop.first *))
\vspace{<<design.margins.highlights_area.top>>} \vspace{<<design.margins.highlights_area.top>>-3px}
\begin{onecolentry} \begin{onecolentry}
\begin{highlights} \begin{highlights}
((* endif *)) ((* endif *))

View File

@ -70,7 +70,7 @@
\pagestyle{customFooterStyle} \pagestyle{customFooterStyle}
((* endif *)) ((* endif *))
\titleformat{\section}{\needspace{4\baselineskip}\bfseries\large}{}{0pt}{}[\vspace{1pt}\titlerule] \titleformat{\section}{\scshape\needspace{4\baselineskip}\bfseries\large}{}{0pt}{}[\vspace{1pt}\titlerule]
\titlespacing{\section}{ \titlespacing{\section}{
% left space: % left space:

View File

@ -1,5 +1,5 @@
((* if not is_first_entry *)) ((* if not is_first_entry *))
\vspace{<<design.margins.entry_area.vertical_between>>} \vspace{<<design.margins.entry_area.vertical_between>>-3px}
((* endif *)) ((* endif *))
\begin{samepage} \begin{samepage}
@ -15,7 +15,7 @@
\end{threecolentry} \end{threecolentry}
((* if entry.doi or entry.journal *)) ((* if entry.doi or entry.journal *))
\vspace{<<design.margins.highlights_area.vertical_between_bullet_points>>} \vspace{<<design.margins.highlights_area.vertical_between_bullet_points>>-3px}
\begin{onecolentry} \begin{onecolentry}
\hspace{<<design.margins.entry_area.bullet_width>>}% \hspace{<<design.margins.entry_area.bullet_width>>}%