1# Package titlesec 2# http://ctan.org/tex-archive/macros/latex/contrib/titlesec 3# By astroscion: 2012-02-15 4# muzimuzhi, 5 Jun 2020, 22 Jun 2020 5# Matthew Bertucci 12/3/2021 for v2.14 6 7#keyvals:\usepackage/titlesec#c 8rm 9sf 10tt 11md 12bf 13up 14it 15sl 16sc 17big 18medium 19small 20tiny 21raggedleft 22center 23raggedright 24compact 25uppercase 26indentafter 27noindentafter 28rigidchapters 29rubberchapters 30bottomtitles 31nobottomtitles 32nobottomtitles* 33aftersep 34largestsep 35pageatnewline 36nostruts 37calcwidth 38explicit 39oldparttoc 40newparttoc 41clearempty 42toctitles 43newlinetospace 44notocpart* 45loadonly 46pagestyles 47floatps 48psfloats 49extramarks 50outermarks 51topmarks 52botmarks 53innermarks 54footmarks 55#endkeyvals 56 57\titlelabel{label-format} 58\thetitle 59\titleformat*{command%plain}{format} 60\titleformat{command%plain}{format}{label}{sep%l}{before-code} 61\titleformat{command%plain}[shape%keyvals]{format}{label}{sep%l}{before-code} 62\titleformat{command%plain}[shape%keyvals]{format}{label}{sep%l}{before-code}[after-code] 63#keyvals:\titleformat#c 64hang 65block 66display 67runin 68leftmargin 69rightmargin 70drop 71wrap 72frame 73#endkeyvals 74\chaptertitlename#* 75\titlespacing{command%plain}{left%l}{before-sep%l}{after-sep%l} 76\titlespacing{command%plain}{left%l}{before-sep%l}{after-sep%l}[right-sep%l] 77\titlespacing*{command%plain}{left%l}{before-sep%l}{after-sep%l} 78\titlespacing*{command%plain}{left%l}{before-sep%l}{after-sep%l}[right-sep%l] 79\beforetitleunit#* 80\aftertitleunit#* 81\filright 82\filcenter 83\filleft 84\fillast 85\filinner 86\filouter 87\wordsep#* 88\bottomtitlespace#* 89\nostruts#* 90\titleline{horizontal material%text} 91\titleline[align%keyvals]{horizontal material%text} 92#ifOption:calcwidth 93\titleline*{horizontal material%text} 94\titleline*[align%keyvals]{horizontal material%text} 95#endif 96#keyvals:\titleline,\titleline* 97l 98c 99r 100#endkeyvals 101\titlerule 102\titlerule[height] 103\titlerule*{text} 104\titlerule*[width]{text} 105\titlewidth#* 106\titlewidthfirst#* 107\titlewidthlast#* 108\iftitlemeasuring{true}{false} 109\assignpagestyle{command%plain}{pagestyle} 110\sectionbreak#* 111\subsectionbreak#* 112\subsubsectionbreak#* 113\paragraphbreak#* 114\subparagraphbreak#* 115\chaptertolists#* 116\titleclass{name}{class%plain} 117\titleclass{name}{class%plain}[super-level-cmd] 118\titleclass{name}[start-level-num]{class%plain}#* 119#ifOption:pagestyles 120#include:titleps 121#endif 122