Guest User

Untitled

a guest
Oct 22nd, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. documentclass[11pt,]{book}
  2. usepackage[utf8]{inputenc}
  3. usepackage{fourier, erewhon, cabin}
  4. usepackage[left=3.5cm]{geometry}
  5. usepackage{titlesec}
  6.  
  7. titleformat{chapter}[display]{filcentertitlerule[1.5pt]sffamilybfseriesHugebigskip}{thechapter}{1.5pc}{}[vspace{2ex}{titlerule[1.5pt]}]
  8. titlespacing*{chapter}{-0.5marginparwidth}{50pt}{40pt}
  9. titleformat{section}[hang]{sffamilybfseriesLARGE}{thesection}{0.8em}{}
  10. titlespacing*{section}{-0.5marginparwidth}{3.5ex}{2.3ex}%
  11.  
  12. begin{document}
  13. setcounter{chapter}{1}
  14. chapter{Vector geometry}
  15.  
  16. section{Affine spaces}
  17. In Chapter 1, we explained how Euclid built up the whole of geometry from a small number of fundamental assumptions or emph{axioms}. Following Euclid’s method, we stated nine axioms and from them developed the theory of emph{vectors}.
  18.  
  19. end{document}
  20.  
  21. documentclass{book}
  22. usepackage{titlesec}
  23. titleformat{chapter}[display]{}{hrule}{0pt}{centerbfseriesthechapter\[3ex]}[endcenterhrule]
  24. begin{document}
  25. chapter{test}
  26. alkasdjalsk laskj laskj ldsakj dl
  27. end{document}
  28.  
  29. documentclass{book}
  30. usepackage{titlesec}
  31. titleformat{chapter}[display]{}{hrule}{0pt}{centersffamilythechapter\[3ex]}[endcenterhrule]
  32. begin{document}
  33. chapter{test}
  34. alkasdjalsk laskj laskj ldsakj dl
  35. end{document}
Add Comment
Please, Sign In to add comment