Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[a4paper]{report}% http://ctan.org/pkg/amsproc
- usepackage[utf8]{inputenc}
- usepackage[T1]{fontenc}
- usepackage[x11names,]{xcolor}
- usepackage{fourier}
- usepackage{microtype}
- SetTracking[no ligatures={f}]{encoding=*}{80}
- usepackage{lipsum}
- usepackage[explicit]{titlesec}%
- titleformat{chapter}[hang]
- {bfseriesfontsize{14pt}{14pt}selectfontcolor{IndianRed3}lsstyle}
- {thechapter}
- {0.5em}
- {MakeUppercase{#1}hfill rlap{makebox[dimexprtextwidth + marginparsep][l]{hspace{marginparsep}rlap{rule[-1.25ex]{marginparwidth}{0.5ex}}thechapter}}}%titlerule[1.5pt]
- titlespacing*{chapter}{0pt}{2ex}{1ex}
- titleformat{section}
- {bfserieslarge}
- {thesection}
- {0.5em}
- {#1hfill rlap{makebox[dimexprtextwidth + marginparsep][l]{hspace{marginparsep}rlap{smash{rule[-1.25ex]{marginparwidth}{0.5ex}}}thesection}}}%titlerule[1.5pt]
- titlespacing*{section}{0pt}{1ex}{0.5ex}
- titleformat{subsection}
- {bfseries}
- {thesubsection}
- {0.5em}
- {#1hfill rlap{makebox[dimexprtextwidth + marginparsep][l]{hspace{marginparsep}rlap{smash{rule[-1.25ex]{marginparwidth}{0.5ex}}}thesubsection}}}%titlerule[1.5pt]
- titlespacing*{subsection}{0pt}{1ex}{0.5ex}
- begin{document}
- % lipsum[11]
- chapter{Introduction}
- lipsum[1]
- section{Motivation}
- lipsum[2]
- subsection{A First Motivation}
- lipsum[3]
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement