Skip to content

Commit

Permalink
Avoid widow lines carried onto follwoing page in a section
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrandin committed Mar 2, 2021
1 parent d7cb6d2 commit ca25f3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/assessment-section/assessment-section.rnw
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,8 @@ be available in the Burke Museum in Seattle.
First steps will be to investigate whether otoliths at the museum are in usable shape, and to
create summaries of what is potentially available.}
\newpage
\subsection{Modeling results}\label{sec:assessment-modeling-results}
Expand Down
4 changes: 4 additions & 0 deletions doc/hake.sty
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@
% \usepackage[normalem]{ulem} % The ulem package: underlining for emphasis
\hypersetup{colorlinks, plainpages=true, linkcolor=black, citecolor=black, urlcolor=black}
\urlstyle{same}

% Keep whole paragraph on one page instead of a single line on the next page.
\usepackage[all]{nowidow}

% Create a blue underlined hyperlink (e.g., http://tex.stackexchange.com/questions/233668/new-ulem-command-not-working)
% \newcommand\bluline{\bgroup\markoverwith
% {\textcolor{blue}{\rule[-0.5ex]{2pt}{0.4pt}}}\ULon} % wtf
Expand Down

0 comments on commit ca25f3c

Please sign in to comment.