SHARE
TWEET

Untitled

a guest Jun 19th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass{article}
  2. usepackage[sf,pagestyles]{titlesec} % make section headings sffamily
  3. % make headers sffamily
  4. newpagestyle{main}[sffamily]{
  5.     sethead{thepage}{}{sectiontitle}
  6.     }
  7. pagestyle{main}
  8. usepackage{titling}
  9. % make titling elements sffamily
  10. pretitle{begin{center}sffamilyLARGE}
  11. preauthor{begin{center}
  12.             largesffamily lineskip 0.5em%
  13.             begin{tabular}[t]{c}}
  14. predate{begin{center}sffamilylarge}
  15. usepackage{abstract}
  16. % make abstract title sffamily
  17. renewcommandabstractnamefont{sffamily}
  18. usepackage{kantlipsum}
  19. title{A title}
  20. author{An author}
  21. date{today}
  22. begin{document}
  23. maketitle
  24. begin{abstract}
  25. kant[1]
  26. end{abstract}
  27. section{A section}
  28. subsection{A subsection}
  29. kant
  30. end{document}
  31.      
  32. documentclass{scrartcl}
  33. usepackage{kantlipsum}
  34. title{A title}
  35. author{An author}
  36. date{today}
  37. begin{document}
  38. maketitle
  39. begin{abstract}
  40.   kant[1]
  41. end{abstract}
  42. section{A section}
  43. subsection{A subsection}
  44. kant
  45. end{document}
  46.      
  47. usepackage{sectsty}
  48.  
  49. begin{document}
  50. allsectionsfont{sffamily}
  51. [...]
  52. end{document}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top