Skip to content

Commit

Permalink
pagebreak at sections
Browse files Browse the repository at this point in the history
  • Loading branch information
mytbk committed May 21, 2018
1 parent 308b897 commit 93d382e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pdf/template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
% \usepackage[lining]{ebgaramond}
\usepackage[CJKspace]{xeCJK}
\usepackage{tocbibind} % for toc show inside pdf

% section break, and related titlesec and hyperref loading order
% https://tex.stackexchange.com/questions/9497/start-new-page-with-each-section
% https://tex.stackexchange.com/questions/219174/issue-with-page-breaks-before-section-and-toc-hyperlinks
\usepackage{titlesec} % texlive-latex-extra package
\newcommand{\sectionbreak}{\clearpage}
\usepackage[
%urlbordercolor = {1 1 1},
%linkbordercolor = {1 1 1},
Expand All @@ -23,7 +29,6 @@
\usepackage{array}
\usepackage[font=small,format=plain,labelfont=bf,up,textfont=it,up]{caption}

\usepackage{titlesec} % texlive-latex-extra package
\usepackage[titletoc]{appendix} % this is used for \appendices
\usepackage{xltxtra}
\usepackage{upquote}
Expand Down

0 comments on commit 93d382e

Please sign in to comment.