diff --git a/ctufit-thesis.cls b/ctufit-thesis.cls index a56c5b2ef09b4810a7c1d7e7518f44d69cdd6a85..6e1690cd53ef837088117bf66d929660413bd2c1 100644 --- a/ctufit-thesis.cls +++ b/ctufit-thesis.cls @@ -210,7 +210,6 @@ \kern0.05em{\color{decoration}\rule{0.73em}{0.73em}}% \hspace*{0.67em}\bothIfFirst{#1}{~}#2} \captionsetup{labelformat=boxed} -\captionsetup[table]{position=top} % captions settings end % lists settings @@ -231,13 +230,13 @@ % \makeatletter \renewcommand\labelitemi{% \textcolor{enumgray}{\ifnum\@listdepth=\@ne - \rule{0.67em}{0.33em}% + \rule[0.3ex]{0.67em}{0.33em}% \else - \rule{0.45em}{0.225em}% + \rule[0.4ex]{0.45em}{0.225em}% \fi}} % \makeatother \renewcommand\labelitemii{% - \textcolor{enumgray}{\rule{0.45em}{0.225em}}} + \textcolor{enumgray}{\rule[0.4ex]{0.45em}{0.225em}}} \renewcommand\labelitemiii{% \textcolor{enumgray}{\bfseries\textasteriskcentered}} \renewcommand\labelitemiv{% diff --git a/ctufit-thesis.tex b/ctufit-thesis.tex index 626f4676e7d63cbbbadcec32bacc08a0a93ba064..871e5a76a74b18d7a726bd812e740067b908698b 100644 --- a/ctufit-thesis.tex +++ b/ctufit-thesis.tex @@ -95,6 +95,7 @@ \usepackage{lipsum,tikz} \usepackage[style=iso-numeric]{biblatex} \addbibresource{text/bib-database.bib} +\usepackage{xurl} \usepackage{listings} % typesetting of sources %\usepackage{minted} \usepackage{csquotes} diff --git a/text/bib-database.bib b/text/bib-database.bib index 8f170321a99f4f42e83dc69e2d866edb1cbf27be..7a3b997ecd0a0cf497d2e49b6d0ee3f7877a7a89 100644 --- a/text/bib-database.bib +++ b/text/bib-database.bib @@ -451,7 +451,6 @@ pages={58-64}, publisher={IBM} } -% Following reference will overflow page, because the link cannot be broken into lines automatically. We can include package xurl (\usepackage{xurl}), which will break the line where it is needed. @misc{test, author = {{Joe Black}}, title = {Foobar 1.0},