SHARE
TWEET

Untitled

a guest Apr 21st, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass[a4paper, 12pt, english]{report}
  2. usepackage[rm, light]{roboto} %this makes roboto slab light the main document font
  3. usepackage[T1]{fontenc}
  4. usepackage[utf8]{inputenc}
  5.  
  6. usepackage{titling}
  7. titleformat*{section}{sffamilyLarge} %with sffamily I try to set roboto regular as section title font
  8.  
  9. begin{document}
  10. section{I need to be in roboto font}
  11. I am normal text and need to be in roboto slab light font.
  12. textit{I am in italics and need a different font, e.g. roboto}
  13. end{document}
RAW Paste Data
Top