Advertisement
Guest User

Untitled

a guest
May 12th, 2020
105
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. \documentclass{article}
  2.  
  3. \usepackage{duckuments}
  4.  
  5. \usepackage{etoolbox}
  6. \preto{\section}{\filbreak}
  7. \preto{\subsection}{\filbreak}
  8.  
  9. \begin{document}
  10.  
  11. \section*{title}
  12. \blindduck
  13.  
  14. \subsection*{title}
  15. \blindduck
  16.  
  17. \subsection*{title}
  18. \blindduck
  19.  
  20. \subsection*{title}
  21. \blindduck[-3]
  22.  
  23. \subsection*{title}
  24. \blindduck
  25.  
  26. \subsection*{title}
  27. \blindduck
  28.  
  29. \subsection*{title}
  30. \blindduck
  31.  
  32. \section*{title}
  33. \blindduck
  34.  
  35. \end{document}
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement