TimmyChan / data-science-tech-resume-template

I was just trying to make a resume... I ended up with a LaTeX template too, might as well share
Creative Commons Attribution 4.0 International
59 stars 15 forks source link

Line not break when zitemize contains too much items #1

Closed xiazeyu closed 2 years ago

xiazeyu commented 2 years ago

If my zitemize contains too much items, the line won't break. eg. in sections/activities.md

\subsection{{Section}}
\begin{zitemize}
\item test \hfill  test
\item test \hfill  test
\item test \hfill  test
\item test \hfill  test
\item test \hfill  test
\item test \hfill  test
\item test \hfill  test
\item test \hfill  test
\item test \hfill  test
\item test \hfill  test
\item test \hfill  test
\item test \hfill  test
\item test \hfill  test
\item test \hfill  test
\item test \hfill  test
\item test \hfill  test
\item test \hfill  test
\end{zitemize}

It will just turns like: image

xiazeyu commented 2 years ago

\newpage can help, but I don't know if there're automatical ways doing that

TimmyChan commented 2 years ago

zitemize is rly itemize with a couple of options put in

% tighter spacing than itemize
\setlist[itemize]{align=parleft,left=0pt..1em}
\newenvironment{zitemize}{
\begin{itemize} \itemsep 0pt \parskip 0pt \parsep 1pt}
{\end{itemize}\vspace{-.5em}}

I'm not entirely sure why that's happening I'll have to read a little...

I'm wondering if this has to do with fancyhdr package where I had to hack the page style...

xiazeyu commented 2 years ago

It seems that it was worked in yout latest template in Overleaf. Is it correct?

TimmyChan commented 2 years ago

It seems that it was worked in yout latest template in Overleaf. Is it correct?

I believe so; I haven't seen this issue after tinkering with fancyhdr and page style for unrelated reasons?

Let me know if the issue persists :)

xiazeyu commented 2 years ago

It works for me. Just don't know if there are any way to leave some blank at the bottom of the page when break a new line. Current it just leave no space when the content is full, seems not quite elegent for me.