[{"data":1,"prerenderedAt":1879},["ShallowReactive",2],{"navigation_docs":3,"-programming-themes":351,"-programming-themes-surround":1874},[4,31,45,83,109,147,197,215,253,291,329],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":30},"Getting Started","i-lucide-play","\u002Fgetting-started","01.getting-started",[10,14,18,22,26],{"title":11,"path":12,"stem":13},"Introduction","\u002Fgetting-started\u002Fintroduction","01.getting-started\u002F01.introduction",{"title":15,"path":16,"stem":17},"Installation","\u002Fgetting-started\u002Finstallation","01.getting-started\u002F02.installation",{"title":19,"path":20,"stem":21},"Installing Extra Packages","\u002Fgetting-started\u002Finstalling-extra-packages","01.getting-started\u002F03.installing-extra-packages",{"title":23,"path":24,"stem":25},"Basics","\u002Fgetting-started\u002Fbasics","01.getting-started\u002F04.basics",{"title":27,"path":28,"stem":29},"How to Get Help","\u002Fgetting-started\u002Fhow-to-get-help","01.getting-started\u002F05.how-to-get-help",false,{"title":32,"icon":33,"path":34,"stem":35,"children":36,"page":30},"AI Integration","i-lucide-bot","\u002Fai-integration","02.ai-integration",[37,41],{"title":38,"path":39,"stem":40},"Model Context Protocol (MCP)","\u002Fai-integration\u002Fmcp","02.ai-integration\u002F01.mcp",{"title":42,"path":43,"stem":44},"Agent Skills","\u002Fai-integration\u002Fskills","02.ai-integration\u002F02.skills",{"title":46,"icon":47,"path":48,"stem":49,"children":50,"page":30},"Document Fundamentals","i-lucide-file-text","\u002Fdocument-fundamentals","03.document-fundamentals",[51,55,59,63,67,71,75,79],{"title":52,"path":53,"stem":54},"Document Structure","\u002Fdocument-fundamentals\u002Fdocument-structure","03.document-fundamentals\u002F01.document-structure",{"title":56,"path":57,"stem":58},"Text Formatting","\u002Fdocument-fundamentals\u002Ftext-formatting","03.document-fundamentals\u002F02.text-formatting",{"title":60,"path":61,"stem":62},"Paragraph Formatting","\u002Fdocument-fundamentals\u002Fparagraph-formatting","03.document-fundamentals\u002F03.paragraph-formatting",{"title":64,"path":65,"stem":66},"Fonts","\u002Fdocument-fundamentals\u002Ffonts","03.document-fundamentals\u002F04.fonts",{"title":68,"path":69,"stem":70},"Colors","\u002Fdocument-fundamentals\u002Fcolors","03.document-fundamentals\u002F05.colors",{"title":72,"path":73,"stem":74},"List Structures","\u002Fdocument-fundamentals\u002Flist-structures","03.document-fundamentals\u002F06.list-structures",{"title":76,"path":77,"stem":78},"Special Characters","\u002Fdocument-fundamentals\u002Fspecial-characters","03.document-fundamentals\u002F07.special-characters",{"title":80,"path":81,"stem":82},"Internationalization","\u002Fdocument-fundamentals\u002Finternationalization","03.document-fundamentals\u002F08.internationalization",{"title":84,"icon":85,"path":86,"stem":87,"children":88,"page":30},"Page Design","i-lucide-layout","\u002Fpage-design","04.page-design",[89,93,97,101,105],{"title":90,"path":91,"stem":92},"Page Layout","\u002Fpage-design\u002Fpage-layout","04.page-design\u002F01.page-layout",{"title":94,"path":95,"stem":96},"Page Headers and Footers","\u002Fpage-design\u002Fcustomizing-page-headers-and-footers","04.page-design\u002F02.customizing-page-headers-and-footers",{"title":98,"path":99,"stem":100},"Title Creation","\u002Fpage-design\u002Ftitle-creation","04.page-design\u002F03.title-creation",{"title":102,"path":103,"stem":104},"Footnotes and Margin Notes","\u002Fpage-design\u002Ffootnotes-and-margin-notes","04.page-design\u002F04.footnotes-and-margin-notes",{"title":106,"path":107,"stem":108},"Rotations","\u002Fpage-design\u002Frotations","04.page-design\u002F05.rotations",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":30},"Tables and Graphics","i-lucide-table","\u002Ftables-and-graphics","05.tables-and-graphics",[115,119,123,127,131,135,139,143],{"title":116,"path":117,"stem":118},"Tables","\u002Ftables-and-graphics\u002Ftables","05.tables-and-graphics\u002F01.tables",{"title":120,"path":121,"stem":122},"Floats, Figures and Captions","\u002Ftables-and-graphics\u002Ffloats-figures-and-captions","05.tables-and-graphics\u002F02.floats-figures-and-captions",{"title":124,"path":125,"stem":126},"Importing Graphics","\u002Ftables-and-graphics\u002Fimporting-graphics","05.tables-and-graphics\u002F03.importing-graphics",{"title":128,"path":129,"stem":130},"Introducing Procedural Graphics","\u002Ftables-and-graphics\u002Fintroducing-procedural-graphics","05.tables-and-graphics\u002F04.introducing-procedural-graphics",{"title":132,"path":133,"stem":134},"PGF\u002FTikZ","\u002Ftables-and-graphics\u002Fpgf-tikz","05.tables-and-graphics\u002F05.pgf-tikz",{"title":136,"path":137,"stem":138},"PSTricks","\u002Ftables-and-graphics\u002Fpstricks","05.tables-and-graphics\u002F06.pstricks",{"title":140,"path":141,"stem":142},"MetaPost","\u002Ftables-and-graphics\u002Fmetapost","05.tables-and-graphics\u002F07.metapost",{"title":144,"path":145,"stem":146},"Picture","\u002Ftables-and-graphics\u002Fpicture","05.tables-and-graphics\u002F08.picture",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":30},"Technical Writing","i-lucide-flask-conical","\u002Ftechnical-writing","06.technical-writing",[153,157,161,165,169,173,177,181,185,189,193],{"title":154,"path":155,"stem":156},"Mathematics","\u002Ftechnical-writing\u002Fmathematics","06.technical-writing\u002F01.mathematics",{"title":158,"path":159,"stem":160},"Advanced Mathematics","\u002Ftechnical-writing\u002Fadvanced-mathematics","06.technical-writing\u002F02.advanced-mathematics",{"title":162,"path":163,"stem":164},"Theorems","\u002Ftechnical-writing\u002Ftheorems","06.technical-writing\u002F03.theorems",{"title":166,"path":167,"stem":168},"Algorithms","\u002Ftechnical-writing\u002Falgorithms","06.technical-writing\u002F04.algorithms",{"title":170,"path":171,"stem":172},"Source Code Listings","\u002Ftechnical-writing\u002Fsource-code-listings","06.technical-writing\u002F05.source-code-listings",{"title":174,"path":175,"stem":176},"Chemical Graphics","\u002Ftechnical-writing\u002Fchemical-graphics","06.technical-writing\u002F06.chemical-graphics",{"title":178,"path":179,"stem":180},"Linguistics","\u002Ftechnical-writing\u002Flinguistics","06.technical-writing\u002F07.linguistics",{"title":182,"path":183,"stem":184},"Bibliography Management","\u002Ftechnical-writing\u002Fbibliography-management","06.technical-writing\u002F08.bibliography-management",{"title":186,"path":187,"stem":188},"More Bibliographies","\u002Ftechnical-writing\u002Fmore-bibliographies","06.technical-writing\u002F09.more-bibliographies",{"title":190,"path":191,"stem":192},"Indexing","\u002Ftechnical-writing\u002Findices","06.technical-writing\u002F10.indices",{"title":194,"path":195,"stem":196},"Glossary","\u002Ftechnical-writing\u002Fglossary","06.technical-writing\u002F11.glossary",{"title":198,"icon":199,"path":200,"stem":201,"children":202,"page":30},"Cross-References and Links","i-lucide-link","\u002Fcross-references","07.cross-references",[203,207,211],{"title":204,"path":205,"stem":206},"Labels and Cross Referencing","\u002Fcross-references\u002Flabels-and-cross-referencing","07.cross-references\u002F01.labels-and-cross-referencing",{"title":208,"path":209,"stem":210},"Hyperlinks","\u002Fcross-references\u002Fhyperlinks","07.cross-references\u002F02.hyperlinks",{"title":212,"path":213,"stem":214},"Initials","\u002Fcross-references\u002Finitials","07.cross-references\u002F03.initials",{"title":216,"icon":217,"path":218,"stem":219,"children":220,"page":30},"Specialized Documents","i-lucide-file-badge","\u002Fspecialized-documents","08.specialized-documents",[221,225,229,233,237,241,245,249],{"title":222,"path":223,"stem":224},"Scientific Reports","\u002Fspecialized-documents\u002Fscientific-reports","08.specialized-documents\u002F01.scientific-reports",{"title":226,"path":227,"stem":228},"Letters","\u002Fspecialized-documents\u002Fletters","08.specialized-documents\u002F02.letters",{"title":230,"path":231,"stem":232},"Presentations","\u002Fspecialized-documents\u002Fpresentations","08.specialized-documents\u002F03.presentations",{"title":234,"path":235,"stem":236},"Teacher's Corner","\u002Fspecialized-documents\u002Fteachers-corner","08.specialized-documents\u002F04.teachers-corner",{"title":238,"path":239,"stem":240},"Curriculum Vitae","\u002Fspecialized-documents\u002Fcurriculum-vitae","08.specialized-documents\u002F05.curriculum-vitae",{"title":242,"path":243,"stem":244},"Academic Journals","\u002Fspecialized-documents\u002Facademic-journals","08.specialized-documents\u002F06.academic-journals",{"title":246,"path":247,"stem":248},"Xy-pic","\u002Fspecialized-documents\u002Fxy-pic","08.specialized-documents\u002F07.xy-pic",{"title":250,"path":251,"stem":252},"Creating 3D Graphics","\u002Fspecialized-documents\u002Fcreating-3d-graphics","08.specialized-documents\u002F08.creating-3d-graphics",{"title":254,"icon":255,"path":256,"stem":257,"children":258,"page":30},"Programming LaTeX","i-lucide-code","\u002Fprogramming","09.programming",[259,263,267,271,275,279,283,287],{"title":260,"path":261,"stem":262},"Macros","\u002Fprogramming\u002Fmacros","09.programming\u002F01.macros",{"title":264,"path":265,"stem":266},"Plain TeX","\u002Fprogramming\u002Fplain-tex","09.programming\u002F02.plain-tex",{"title":268,"path":269,"stem":270},"Creating Packages","\u002Fprogramming\u002Fcreating-packages","09.programming\u002F03.creating-packages",{"title":272,"path":273,"stem":274},"Creating Package Documentation","\u002Fprogramming\u002Fcreating-package-documentation","09.programming\u002F04.creating-package-documentation",{"title":276,"path":277,"stem":278},"Themes","\u002Fprogramming\u002Fthemes","09.programming\u002F05.themes",{"title":280,"path":281,"stem":282},"Modular Documents","\u002Fprogramming\u002Fmodular-documents","09.programming\u002F06.modular-documents",{"title":284,"path":285,"stem":286},"Collaborative Writing of LaTeX Documents","\u002Fprogramming\u002Fcollaborative-writing","09.programming\u002F07.collaborative-writing",{"title":288,"path":289,"stem":290},"Export To Other Formats","\u002Fprogramming\u002Fexport-to-other-formats","09.programming\u002F08.export-to-other-formats",{"title":292,"icon":293,"path":294,"stem":295,"children":296,"page":30},"Reference and Help","i-lucide-book-open","\u002Freference","10.reference",[297,301,305,309,313,317,321,325],{"title":298,"path":299,"stem":300},"FAQ","\u002Freference\u002Ffaq","10.reference\u002F01.faq",{"title":302,"path":303,"stem":304},"Tips and Tricks","\u002Freference\u002Ftips-and-tricks","10.reference\u002F02.tips-and-tricks",{"title":306,"path":307,"stem":308},"Errors and Warnings","\u002Freference\u002Ferrors-and-warnings","10.reference\u002F03.errors-and-warnings",{"title":310,"path":311,"stem":312},"Lengths","\u002Freference\u002Flengths","10.reference\u002F04.lengths",{"title":314,"path":315,"stem":316},"Counters","\u002Freference\u002Fcounters","10.reference\u002F05.counters",{"title":318,"path":319,"stem":320},"Boxes","\u002Freference\u002Fboxes","10.reference\u002F06.boxes",{"title":322,"path":323,"stem":324},"Rules and Struts","\u002Freference\u002Frules-and-struts","10.reference\u002F07.rules-and-struts",{"title":326,"path":327,"stem":328},"Command Glossary","\u002Freference\u002Fcommand-glossary","10.reference\u002F08.command-glossary",{"title":330,"icon":331,"path":332,"stem":333,"children":334,"page":30},"Appendices","i-lucide-bookmark","\u002Fappendices","11.appendices",[335,339,343,347],{"title":336,"path":337,"stem":338},"Package Reference","\u002Fappendices\u002Fpackage-reference","11.appendices\u002F01.package-reference",{"title":340,"path":341,"stem":342},"Sample LaTeX Documents","\u002Fappendices\u002Fsample-latex-documents","11.appendices\u002F02.sample-latex-documents",{"title":344,"path":345,"stem":346},"Links","\u002Fappendices\u002Flinks","11.appendices\u002F03.links",{"title":348,"path":349,"stem":350},"Authors","\u002Fappendices\u002Fauthors","11.appendices\u002F04.authors",{"id":352,"title":276,"body":353,"description":1868,"extension":1869,"links":1870,"meta":1871,"navigation":430,"path":277,"seo":1872,"stem":278,"__hash__":1873},"docs\u002F09.programming\u002F05.themes.md",{"type":354,"value":355,"toc":1861},"minimark",[356,360,363,367,370,373,377,380,383,393,401,798,802,805,812,912,916,922,1069,1073,1087,1098,1101,1112,1118,1121,1136,1150,1857],[357,358,359],"p",{},"Newcomers to LaTeX often feel disappointed by the lack of visual customization offered by the system. Actually this is done on purpose: the LaTeX philosophy takes a point at doing the formatting while the writer focuses on the content.",[357,361,362],{},"In this chapter, we will show what we can achieve with some efforts.",[364,365,11],"h2",{"id":366},"introduction",[357,368,369],{},"In the following we will write the theme, a package that will only change the appearance of the document, so that our document will work with or without the theme.",[357,371,372],{},"Note that if it may look eye-candy, this is absolutely not a model of typography. You should not use such theme for serious publications. This is more a technological example to exhibit LaTeX capabilities.",[364,374,376],{"id":375},"package-configuration","Package configuration",[357,378,379],{},"Nothing much to say here. This is a direct application of the Creating Packages chapter.",[357,381,382],{},"We load the required packages.",[384,385,386,390],"ul",{},[387,388,389],"li",{},"needspace is used to prevent page break right after a sectioning command.",[387,391,392],{},"tikz is used to draw the fancy material.",[357,394,395,396,400],{},"We define a color option, you may use as much as you want. Defining colors with specific names makes it very flexible. We also use an option to toggle the fancy reflection effect which might be a little ",[397,398,399],"em",{},"too much","!",[402,403,408],"pre",{"className":404,"code":405,"language":406,"meta":407,"style":407},"language-latex shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\\NeedsTeXFormat{LaTeX2e}\n\\ProvidesPackage{theme-fancy}[2013\u002F01\u002F13 v1.0 fancy theme]\n\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n%% Packages\n\n\\RequirePackage{geometry}\n\\RequirePackage{needspace}\n\\RequirePackage[svgnames]{xcolor}\n\n\\RequirePackage{hyperref}\n\\hypersetup{colorlinks=true}\n\n\\RequirePackage{fancyhdr}\n\n\\RequirePackage{tikz}\n\\usetikzlibrary{\n  calc,\n  decorations.pathmorphing,\n  fadings,\n  shadows,\n  shapes.geometric,\n  shapes.misc,\n}\n\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n%% Options\n\n%% Toggle reflection.\n\\newif\\if@mirrors\\@mirrorsfalse\n\\DeclareOption{mirrors}{\n  \\@mirrorstrue\n}\n\n%% Colors.\n\\newif\\if@red\\@redfalse\n\\DeclareOption{red}{\n  \\@redtrue\n}\n\n\\ExecuteOptions{}\n\\ProcessOptions\\relax\n\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n%% Configuration\n\n\\renewcommand{\\familydefault}{\\sfdefault}\n\\setlength{\\parskip}{0.5\\baselineskip}\n\n%% Colors\n\\colorlet{toctitle}{DarkGray!50!black}\n\\colorlet{titlebg}{MidnightBlue}\n\\colorlet{titlefg}{LightBlue}\n\\colorlet{titletxt}{MidnightBlue}\n\\colorlet{sectionfg}{MidnightBlue}\n\\colorlet{subsectionfg}{SteelBlue}\n\\colorlet{subsubsectionfg}{LightSteelBlue!60!black}\n\n\\if@red\n\\colorlet{toctitle}{DarkGray!50!black}\n\\colorlet{titlebg}{DarkRed}\n\\colorlet{titlefg}{FireBrick!50}\n\\colorlet{titletxt}{DarkRed}\n\\colorlet{sectionfg}{DarkRed}\n\\colorlet{subsectionfg}{Crimson!50!black}\n\\colorlet{subsubsectionfg}{LightSteelBlue!60!black}\n\\fi\n","latex","",[409,410,411,419,425,432,438,444,449,455,461,467,472,478,484,489,495,500,506,512,518,524,530,536,542,548,554,559,564,570,575,581,587,593,599,604,609,615,621,627,633,638,643,649,655,660,665,671,676,682,688,693,699,705,711,717,723,729,735,741,746,752,757,763,769,775,781,787,792],"code",{"__ignoreMap":407},[412,413,416],"span",{"class":414,"line":415},"line",1,[412,417,418],{},"\\NeedsTeXFormat{LaTeX2e}\n",[412,420,422],{"class":414,"line":421},2,[412,423,424],{},"\\ProvidesPackage{theme-fancy}[2013\u002F01\u002F13 v1.0 fancy theme]\n",[412,426,428],{"class":414,"line":427},3,[412,429,431],{"emptyLinePlaceholder":430},true,"\n",[412,433,435],{"class":414,"line":434},4,[412,436,437],{},"%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n",[412,439,441],{"class":414,"line":440},5,[412,442,443],{},"%% Packages\n",[412,445,447],{"class":414,"line":446},6,[412,448,431],{"emptyLinePlaceholder":430},[412,450,452],{"class":414,"line":451},7,[412,453,454],{},"\\RequirePackage{geometry}\n",[412,456,458],{"class":414,"line":457},8,[412,459,460],{},"\\RequirePackage{needspace}\n",[412,462,464],{"class":414,"line":463},9,[412,465,466],{},"\\RequirePackage[svgnames]{xcolor}\n",[412,468,470],{"class":414,"line":469},10,[412,471,431],{"emptyLinePlaceholder":430},[412,473,475],{"class":414,"line":474},11,[412,476,477],{},"\\RequirePackage{hyperref}\n",[412,479,481],{"class":414,"line":480},12,[412,482,483],{},"\\hypersetup{colorlinks=true}\n",[412,485,487],{"class":414,"line":486},13,[412,488,431],{"emptyLinePlaceholder":430},[412,490,492],{"class":414,"line":491},14,[412,493,494],{},"\\RequirePackage{fancyhdr}\n",[412,496,498],{"class":414,"line":497},15,[412,499,431],{"emptyLinePlaceholder":430},[412,501,503],{"class":414,"line":502},16,[412,504,505],{},"\\RequirePackage{tikz}\n",[412,507,509],{"class":414,"line":508},17,[412,510,511],{},"\\usetikzlibrary{\n",[412,513,515],{"class":414,"line":514},18,[412,516,517],{},"  calc,\n",[412,519,521],{"class":414,"line":520},19,[412,522,523],{},"  decorations.pathmorphing,\n",[412,525,527],{"class":414,"line":526},20,[412,528,529],{},"  fadings,\n",[412,531,533],{"class":414,"line":532},21,[412,534,535],{},"  shadows,\n",[412,537,539],{"class":414,"line":538},22,[412,540,541],{},"  shapes.geometric,\n",[412,543,545],{"class":414,"line":544},23,[412,546,547],{},"  shapes.misc,\n",[412,549,551],{"class":414,"line":550},24,[412,552,553],{},"}\n",[412,555,557],{"class":414,"line":556},25,[412,558,431],{"emptyLinePlaceholder":430},[412,560,562],{"class":414,"line":561},26,[412,563,437],{},[412,565,567],{"class":414,"line":566},27,[412,568,569],{},"%% Options\n",[412,571,573],{"class":414,"line":572},28,[412,574,431],{"emptyLinePlaceholder":430},[412,576,578],{"class":414,"line":577},29,[412,579,580],{},"%% Toggle reflection.\n",[412,582,584],{"class":414,"line":583},30,[412,585,586],{},"\\newif\\if@mirrors\\@mirrorsfalse\n",[412,588,590],{"class":414,"line":589},31,[412,591,592],{},"\\DeclareOption{mirrors}{\n",[412,594,596],{"class":414,"line":595},32,[412,597,598],{},"  \\@mirrorstrue\n",[412,600,602],{"class":414,"line":601},33,[412,603,553],{},[412,605,607],{"class":414,"line":606},34,[412,608,431],{"emptyLinePlaceholder":430},[412,610,612],{"class":414,"line":611},35,[412,613,614],{},"%% Colors.\n",[412,616,618],{"class":414,"line":617},36,[412,619,620],{},"\\newif\\if@red\\@redfalse\n",[412,622,624],{"class":414,"line":623},37,[412,625,626],{},"\\DeclareOption{red}{\n",[412,628,630],{"class":414,"line":629},38,[412,631,632],{},"  \\@redtrue\n",[412,634,636],{"class":414,"line":635},39,[412,637,553],{},[412,639,641],{"class":414,"line":640},40,[412,642,431],{"emptyLinePlaceholder":430},[412,644,646],{"class":414,"line":645},41,[412,647,648],{},"\\ExecuteOptions{}\n",[412,650,652],{"class":414,"line":651},42,[412,653,654],{},"\\ProcessOptions\\relax\n",[412,656,658],{"class":414,"line":657},43,[412,659,431],{"emptyLinePlaceholder":430},[412,661,663],{"class":414,"line":662},44,[412,664,437],{},[412,666,668],{"class":414,"line":667},45,[412,669,670],{},"%% Configuration\n",[412,672,674],{"class":414,"line":673},46,[412,675,431],{"emptyLinePlaceholder":430},[412,677,679],{"class":414,"line":678},47,[412,680,681],{},"\\renewcommand{\\familydefault}{\\sfdefault}\n",[412,683,685],{"class":414,"line":684},48,[412,686,687],{},"\\setlength{\\parskip}{0.5\\baselineskip}\n",[412,689,691],{"class":414,"line":690},49,[412,692,431],{"emptyLinePlaceholder":430},[412,694,696],{"class":414,"line":695},50,[412,697,698],{},"%% Colors\n",[412,700,702],{"class":414,"line":701},51,[412,703,704],{},"\\colorlet{toctitle}{DarkGray!50!black}\n",[412,706,708],{"class":414,"line":707},52,[412,709,710],{},"\\colorlet{titlebg}{MidnightBlue}\n",[412,712,714],{"class":414,"line":713},53,[412,715,716],{},"\\colorlet{titlefg}{LightBlue}\n",[412,718,720],{"class":414,"line":719},54,[412,721,722],{},"\\colorlet{titletxt}{MidnightBlue}\n",[412,724,726],{"class":414,"line":725},55,[412,727,728],{},"\\colorlet{sectionfg}{MidnightBlue}\n",[412,730,732],{"class":414,"line":731},56,[412,733,734],{},"\\colorlet{subsectionfg}{SteelBlue}\n",[412,736,738],{"class":414,"line":737},57,[412,739,740],{},"\\colorlet{subsubsectionfg}{LightSteelBlue!60!black}\n",[412,742,744],{"class":414,"line":743},58,[412,745,431],{"emptyLinePlaceholder":430},[412,747,749],{"class":414,"line":748},59,[412,750,751],{},"\\if@red\n",[412,753,755],{"class":414,"line":754},60,[412,756,704],{},[412,758,760],{"class":414,"line":759},61,[412,761,762],{},"\\colorlet{titlebg}{DarkRed}\n",[412,764,766],{"class":414,"line":765},62,[412,767,768],{},"\\colorlet{titlefg}{FireBrick!50}\n",[412,770,772],{"class":414,"line":771},63,[412,773,774],{},"\\colorlet{titletxt}{DarkRed}\n",[412,776,778],{"class":414,"line":777},64,[412,779,780],{},"\\colorlet{sectionfg}{DarkRed}\n",[412,782,784],{"class":414,"line":783},65,[412,785,786],{},"\\colorlet{subsectionfg}{Crimson!50!black}\n",[412,788,790],{"class":414,"line":789},66,[412,791,740],{},[412,793,795],{"class":414,"line":794},67,[412,796,797],{},"\\fi\n",[364,799,801],{"id":800},"header-and-footer","Header and footer",[357,803,804],{},"We use TikZ to draw a filled semicircle.",[357,806,807,808,811],{},"fancyhdr is used to set header and footer. We take care of using the fancy style and to start from scratch by erasing the previous header and footer with ",[409,809,810],{},"\\fancyhf{}",".",[402,813,815],{"className":404,"code":814,"language":406,"meta":407,"style":407},"%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n%% Header and Footer\n\n\\tikzstyle{foliostyle}=[fill=Lavender, text=MidnightBlue, inner sep=5pt, semicircle]\n\n\\pagestyle{fancy}\n\\fancyhf{}\n\\fancyfoot[C]{\n  \\vskip 3pt\n  \\begin{tikzpicture}\n    \\node[foliostyle]\n    {\\bfseries\\thepage};\n  \\end{tikzpicture}\n}\n\n\\renewcommand{\\headrulewidth}{0.8pt}\n\\addtolength{\\headheight}{\\baselineskip} \n\\renewcommand{\\headrule}{\\color{LightGray}\\hrule}\n\\fancyhead[LE]{ \\textcolor{gray}{\\slshape \\rightmark} } \n\\fancyhead[RO]{ \\textcolor{gray}{\\slshape \\leftmark} }\n",[409,816,817,821,826,830,835,839,844,849,854,859,864,869,874,879,883,887,892,897,902,907],{"__ignoreMap":407},[412,818,819],{"class":414,"line":415},[412,820,437],{},[412,822,823],{"class":414,"line":421},[412,824,825],{},"%% Header and Footer\n",[412,827,828],{"class":414,"line":427},[412,829,431],{"emptyLinePlaceholder":430},[412,831,832],{"class":414,"line":434},[412,833,834],{},"\\tikzstyle{foliostyle}=[fill=Lavender, text=MidnightBlue, inner sep=5pt, semicircle]\n",[412,836,837],{"class":414,"line":440},[412,838,431],{"emptyLinePlaceholder":430},[412,840,841],{"class":414,"line":446},[412,842,843],{},"\\pagestyle{fancy}\n",[412,845,846],{"class":414,"line":451},[412,847,848],{},"\\fancyhf{}\n",[412,850,851],{"class":414,"line":457},[412,852,853],{},"\\fancyfoot[C]{\n",[412,855,856],{"class":414,"line":463},[412,857,858],{},"  \\vskip 3pt\n",[412,860,861],{"class":414,"line":469},[412,862,863],{},"  \\begin{tikzpicture}\n",[412,865,866],{"class":414,"line":474},[412,867,868],{},"    \\node[foliostyle]\n",[412,870,871],{"class":414,"line":480},[412,872,873],{},"    {\\bfseries\\thepage};\n",[412,875,876],{"class":414,"line":486},[412,877,878],{},"  \\end{tikzpicture}\n",[412,880,881],{"class":414,"line":491},[412,882,553],{},[412,884,885],{"class":414,"line":497},[412,886,431],{"emptyLinePlaceholder":430},[412,888,889],{"class":414,"line":502},[412,890,891],{},"\\renewcommand{\\headrulewidth}{0.8pt}\n",[412,893,894],{"class":414,"line":508},[412,895,896],{},"\\addtolength{\\headheight}{\\baselineskip} \n",[412,898,899],{"class":414,"line":514},[412,900,901],{},"\\renewcommand{\\headrule}{\\color{LightGray}\\hrule}\n",[412,903,904],{"class":414,"line":520},[412,905,906],{},"\\fancyhead[LE]{ \\textcolor{gray}{\\slshape \\rightmark} } \n",[412,908,909],{"class":414,"line":526},[412,910,911],{},"\\fancyhead[RO]{ \\textcolor{gray}{\\slshape \\leftmark} }\n",[364,913,915],{"id":914},"table-of-contents","Table of contents",[357,917,918,919,811],{},"We redefine commands used by ",[409,920,921],{},"\\tableofcontents",[402,923,925],{"className":404,"code":924,"language":406,"meta":407,"style":407},"%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n%% Table of contents\n\n\\newcommand{\\sectiontoccolor}{sectionfg}\n\\newcommand{\\subsectiontoccolor}{subsectionfg}\n\\newcommand{\\subsubsectiontoccolor}{subsubsectionfg}\n\n\\renewcommand*\\l@section{\\color{\\sectiontoccolor}\\def\\@linkcolor{\\sectiontoccolor}\\@dottedtocline{1}{1.5em}{2.3em} }\n\\renewcommand*\\l@subsection{\\color{\\subsectiontoccolor}\\def\\@linkcolor{\\subsectiontoccolor}\\@dottedtocline{1}{2.3em}{3.1em} }\n\\renewcommand*\\l@subsubsection{\\color{\\subsubsectiontoccolor}\\def\\@linkcolor{\\subsubsectiontoccolor}\\@dottedtocline{1}{3.1em}{3.9em} }\n\\def\\contentsline#1#2#3#4{%\n  \\ifx\\\\#4\\\\%\n  \\csname l@#1\\endcsname{#2}{#3}%\n  \\else\n  \\csname l@#1\\endcsname{\\hyper@linkstart{link}{#4}{#2}\\hyper@linkend}{%\n    \\hyper@linkstart{link}{#4}{#3}\\hyper@linkend\n  }%\n  \\fi\n}\n\n%% New title format -- 'section' is used by default.\n\\newcommand{\\tocformat}[1]{ {\\Huge\\bf#1} }\n\n\\renewcommand\\tableofcontents{%\n  \\tocformat{\n    \\textcolor{toctitle}{\\contentsname}\n    \\@mkboth{\\MakeUppercase\\contentsname}{\\MakeUppercase\\contentsname}\n  }%\n  \\@starttoc{toc}%\n}\n",[409,926,927,931,936,940,945,950,955,959,964,969,974,979,984,989,994,999,1004,1009,1014,1018,1022,1027,1032,1036,1041,1046,1051,1056,1060,1065],{"__ignoreMap":407},[412,928,929],{"class":414,"line":415},[412,930,437],{},[412,932,933],{"class":414,"line":421},[412,934,935],{},"%% Table of contents\n",[412,937,938],{"class":414,"line":427},[412,939,431],{"emptyLinePlaceholder":430},[412,941,942],{"class":414,"line":434},[412,943,944],{},"\\newcommand{\\sectiontoccolor}{sectionfg}\n",[412,946,947],{"class":414,"line":440},[412,948,949],{},"\\newcommand{\\subsectiontoccolor}{subsectionfg}\n",[412,951,952],{"class":414,"line":446},[412,953,954],{},"\\newcommand{\\subsubsectiontoccolor}{subsubsectionfg}\n",[412,956,957],{"class":414,"line":451},[412,958,431],{"emptyLinePlaceholder":430},[412,960,961],{"class":414,"line":457},[412,962,963],{},"\\renewcommand*\\l@section{\\color{\\sectiontoccolor}\\def\\@linkcolor{\\sectiontoccolor}\\@dottedtocline{1}{1.5em}{2.3em} }\n",[412,965,966],{"class":414,"line":463},[412,967,968],{},"\\renewcommand*\\l@subsection{\\color{\\subsectiontoccolor}\\def\\@linkcolor{\\subsectiontoccolor}\\@dottedtocline{1}{2.3em}{3.1em} }\n",[412,970,971],{"class":414,"line":469},[412,972,973],{},"\\renewcommand*\\l@subsubsection{\\color{\\subsubsectiontoccolor}\\def\\@linkcolor{\\subsubsectiontoccolor}\\@dottedtocline{1}{3.1em}{3.9em} }\n",[412,975,976],{"class":414,"line":474},[412,977,978],{},"\\def\\contentsline#1#2#3#4{%\n",[412,980,981],{"class":414,"line":480},[412,982,983],{},"  \\ifx\\\\#4\\\\%\n",[412,985,986],{"class":414,"line":486},[412,987,988],{},"  \\csname l@#1\\endcsname{#2}{#3}%\n",[412,990,991],{"class":414,"line":491},[412,992,993],{},"  \\else\n",[412,995,996],{"class":414,"line":497},[412,997,998],{},"  \\csname l@#1\\endcsname{\\hyper@linkstart{link}{#4}{#2}\\hyper@linkend}{%\n",[412,1000,1001],{"class":414,"line":502},[412,1002,1003],{},"    \\hyper@linkstart{link}{#4}{#3}\\hyper@linkend\n",[412,1005,1006],{"class":414,"line":508},[412,1007,1008],{},"  }%\n",[412,1010,1011],{"class":414,"line":514},[412,1012,1013],{},"  \\fi\n",[412,1015,1016],{"class":414,"line":520},[412,1017,553],{},[412,1019,1020],{"class":414,"line":526},[412,1021,431],{"emptyLinePlaceholder":430},[412,1023,1024],{"class":414,"line":532},[412,1025,1026],{},"%% New title format -- 'section' is used by default.\n",[412,1028,1029],{"class":414,"line":538},[412,1030,1031],{},"\\newcommand{\\tocformat}[1]{ {\\Huge\\bf#1} }\n",[412,1033,1034],{"class":414,"line":544},[412,1035,431],{"emptyLinePlaceholder":430},[412,1037,1038],{"class":414,"line":550},[412,1039,1040],{},"\\renewcommand\\tableofcontents{%\n",[412,1042,1043],{"class":414,"line":556},[412,1044,1045],{},"  \\tocformat{\n",[412,1047,1048],{"class":414,"line":561},[412,1049,1050],{},"    \\textcolor{toctitle}{\\contentsname}\n",[412,1052,1053],{"class":414,"line":566},[412,1054,1055],{},"    \\@mkboth{\\MakeUppercase\\contentsname}{\\MakeUppercase\\contentsname}\n",[412,1057,1058],{"class":414,"line":572},[412,1059,1008],{},[412,1061,1062],{"class":414,"line":577},[412,1063,1064],{},"  \\@starttoc{toc}%\n",[412,1066,1067],{"class":414,"line":583},[412,1068,553],{},[364,1070,1072],{"id":1071},"sectioning","Sectioning",[357,1074,1075,1076,1079,1080,1083,1084,811],{},"This is definitely the most complex part. It is not that hard since the code is almost the same for ",[409,1077,1078],{},"\\section",", ",[409,1081,1082],{},"\\subsection"," and ",[409,1085,1086],{},"\\subsubsection",[357,1088,1089,1090,1093,1094,1097],{},"We use ",[409,1091,1092],{},"\\needspace"," to make sure there is no line break right after a sectioning command. We enclose the command in a group where we set a font size since the space we need is ",[409,1095,1096],{},"\\baselineskip"," which depends on the font size.",[357,1099,1100],{},"Starred commands will not set the counters (LaTeX default behaviour). You can choose to handle starred command differently by resetting the counters for instance.",[357,1102,1103,1104,1107,1108,1111],{},"We precede the section printing by a ",[409,1105,1106],{},"\\noindent",". We make sure to end the section printing by a ",[409,1109,1110],{},"\\par"," command to make sure following text gets printed properly.",[357,1113,1114,1115,1117],{},"For ",[409,1116,1082],{}," we make use of the mirrors option to change the appearance accordingly.",[357,1119,1120],{},"To handle the PDF bookmarks properly we need the following lines at the end of the definitions.",[402,1122,1124],{"className":404,"code":1123,"language":406,"meta":407,"style":407},"\\phantomsection\n\\addcontentsline{toc}{section}{\\thesection~#1}\n",[409,1125,1126,1131],{"__ignoreMap":407},[412,1127,1128],{"class":414,"line":415},[412,1129,1130],{},"\\phantomsection\n",[412,1132,1133],{"class":414,"line":421},[412,1134,1135],{},"\\addcontentsline{toc}{section}{\\thesection~#1}\n",[357,1137,1138,1139,1141,1142,1145,1146,1149],{},"Finally, for ",[409,1140,1078],{}," only, we want it to print in the header, so we call the ",[409,1143,1144],{},"\\sectionmark"," command. Here we changed the behaviour of the starred command over the original LaTeX version, since we define and use the ",[409,1147,1148],{},"\\sectionmarkstar"," command.",[402,1151,1153],{"className":404,"code":1152,"language":406,"meta":407,"style":407},"%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n%% Section style\n\n\\renewcommand\\section{\n  \\@ifstar\n  \\my@sectionstar\n  \\my@section\n}\n\n%% Note: to justify, text width must be set to \\textwidth - 2*(inner sep).\n\\tikzstyle{sectionstyle}=[\n  inner sep=5pt,\n  text width=\\textwidth-10pt,\n  left color=sectionfg!100!white,\n  right color=sectionfg!50!white,\n  rounded corners,\n  text=Ivory,\n  rectangle\n]\n\n\\newcommand\\my@section[1]{\n  \\stepcounter{section}\n  {\\Large\\needspace{\\baselineskip} }\n  \\noindent\n  \\begin{tikzpicture}\n    \\node[sectionstyle] {\\bfseries\\Large\\thesection\\quad#1};\n  \\end{tikzpicture}\n  \\par\n  \\phantomsection\n  \\addcontentsline{toc}{section}{\\thesection~#1}\n  \\sectionmark{#1}\n}\n\n\\newcommand{\\sectionmarkstar}[1]{\\markboth{\\MakeUppercase{#1} }{} }\n\n\\newcommand\\my@sectionstar[1]{\n  {\\Large\\needspace{\\baselineskip} }\n  \\noindent\n  \\begin{tikzpicture}\n    \\node[sectionstyle] {\\bfseries\\Large#1};\n  \\end{tikzpicture}\n  \\par\n  \\phantomsection\n  \\addcontentsline{toc}{section}{#1}\n  \\sectionmarkstar{#1}\n}\n\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n%% Subsection style\n\n\\renewcommand\\subsection{\n  \\@ifstar\n  \\my@subsectionstar\n  \\my@subsection\n}\n\n\\tikzstyle{subsectionstyle}=[\n  left color=subsectionfg!50!white,\n  right color=subsectionfg!100!white,\n  text=Ivory,\n  ellipse,\n  inner sep=5pt\n]\n\n\\newcommand\\my@subsection[1]{\n  \\stepcounter{subsection}\n  {\\Large\\needspace{\\baselineskip} }\n  \\noindent  \n  \\begin{tikzpicture}\n    \\node[subsectionstyle,anchor=west] (number) at (0,0) {\\bfseries\\Large\\thesubsection};\n    \\if@mirrors\n    \\node[above right,subsectionfg,anchor=south west] at ($(number.east)+(0.1,-0.1)$) {\\large\\bfseries#1};\n    \\node[yscale=-1, scope fading=south, opacity=0.4, above, anchor=south west, subsectionfg] at ($(number.east)+(0.1,0.1)$) {\\large\\bfseries#1};\n    \\else\n    \\node[above right,subsectionfg,anchor=west] at ($(number.east)+(0.1,0)$) {\\large\\bfseries#1};\n    \\fi\n  \\end{tikzpicture}\n  \\par\n  \\phantomsection\n  \\addcontentsline{toc}{subsection}{\\thesubsection~#1}\n}\n\n\\newcommand\\my@subsectionstar[1]{\n  {\\Large\\needspace{\\baselineskip} }\n  \\noindent\n  \\begin{tikzpicture}\n    \\node[subsectionstyle,anchor=west] (number) at (0,0) {\\bfseries\\Large\\phantom{1} };\n    \\if@mirrors\n    \\node[above right,subsectionfg,anchor=south west] at ($(number.east)+(0.1,-0.1)$) {\\large\\bfseries#1};\n    \\node[yscale=-1, scope fading=south, opacity=0.4, above, anchor=south west, subsectionfg] at ($(number.east)+(0.1,0.1)$) {\\large\\bfseries#1};\n    \\else\n    \\node[above right,subsectionfg,anchor=west] at ($(number.east)+(0.1,0)$) {\\large\\bfseries#1};\n    \\fi\n  \\end{tikzpicture}\n  \\par\n  \\phantomsection\n  \\addcontentsline{toc}{subsection}{#1}\n}\n\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n%% Subsubsection style\n\n\\renewcommand\\subsubsection{\n  \\@ifstar\n  \\my@subsubsectionstar\n  \\my@subsubsection\n}\n\n\\tikzstyle{subsubsectionstyle}=[\n  left color=subsubsectionfg!50!white,\n  right color=subsubsectionfg!100!white,\n  text=Ivory,\n  shape=trapezium,\n  inner sep=5pt\n]\n\n\\newcommand\\my@subsubsection[1]{\n  \\stepcounter{subsubsection}\n  \\noindent  \n  \\begin{tikzpicture}\n    \\node[subsubsectionstyle] (number) {\\bfseries\\large\\thesubsubsection};\n    \\node[subsubsectionfg, right of=number, anchor=west] {\\large\\bfseries#1};\n  \\end{tikzpicture}\n  \\par\n  \\phantomsection\n  \\addcontentsline{toc}{subsubsection}{\\thesubsubsection~#1}\n}\n\n\\newcommand\\my@subsubsectionstar[1]{\n  \\noindent\n  \\begin{tikzpicture}\n    \\node[subsubsectionstyle] (number) {\\bfseries\\large\\vphantom{1} };\n    \\node[subsubsectionfg, right of=number, anchor=west] {\\large\\bfseries#1};\n  \\end{tikzpicture}\n  \\par\n  \\phantomsection\n  \\addcontentsline{toc}{subsubsection}{#1}\n}\n\n\\endinput\n",[409,1154,1155,1159,1164,1168,1173,1178,1183,1188,1192,1196,1201,1206,1211,1216,1221,1226,1231,1236,1241,1246,1250,1255,1260,1265,1270,1274,1279,1283,1288,1293,1298,1303,1307,1311,1316,1320,1325,1329,1333,1337,1342,1346,1350,1354,1359,1364,1368,1372,1376,1381,1385,1390,1394,1399,1404,1408,1412,1417,1422,1427,1431,1436,1441,1445,1449,1454,1459,1463,1469,1474,1480,1486,1492,1498,1504,1510,1516,1521,1526,1531,1537,1542,1547,1553,1558,1563,1568,1574,1579,1584,1589,1594,1599,1604,1609,1614,1619,1625,1630,1635,1640,1646,1651,1657,1662,1668,1674,1679,1684,1690,1696,1702,1707,1713,1718,1723,1728,1734,1740,1745,1750,1756,1762,1767,1772,1777,1783,1788,1793,1799,1804,1809,1815,1820,1825,1830,1835,1841,1846,1851],{"__ignoreMap":407},[412,1156,1157],{"class":414,"line":415},[412,1158,437],{},[412,1160,1161],{"class":414,"line":421},[412,1162,1163],{},"%% Section style\n",[412,1165,1166],{"class":414,"line":427},[412,1167,431],{"emptyLinePlaceholder":430},[412,1169,1170],{"class":414,"line":434},[412,1171,1172],{},"\\renewcommand\\section{\n",[412,1174,1175],{"class":414,"line":440},[412,1176,1177],{},"  \\@ifstar\n",[412,1179,1180],{"class":414,"line":446},[412,1181,1182],{},"  \\my@sectionstar\n",[412,1184,1185],{"class":414,"line":451},[412,1186,1187],{},"  \\my@section\n",[412,1189,1190],{"class":414,"line":457},[412,1191,553],{},[412,1193,1194],{"class":414,"line":463},[412,1195,431],{"emptyLinePlaceholder":430},[412,1197,1198],{"class":414,"line":469},[412,1199,1200],{},"%% Note: to justify, text width must be set to \\textwidth - 2*(inner sep).\n",[412,1202,1203],{"class":414,"line":474},[412,1204,1205],{},"\\tikzstyle{sectionstyle}=[\n",[412,1207,1208],{"class":414,"line":480},[412,1209,1210],{},"  inner sep=5pt,\n",[412,1212,1213],{"class":414,"line":486},[412,1214,1215],{},"  text width=\\textwidth-10pt,\n",[412,1217,1218],{"class":414,"line":491},[412,1219,1220],{},"  left color=sectionfg!100!white,\n",[412,1222,1223],{"class":414,"line":497},[412,1224,1225],{},"  right color=sectionfg!50!white,\n",[412,1227,1228],{"class":414,"line":502},[412,1229,1230],{},"  rounded corners,\n",[412,1232,1233],{"class":414,"line":508},[412,1234,1235],{},"  text=Ivory,\n",[412,1237,1238],{"class":414,"line":514},[412,1239,1240],{},"  rectangle\n",[412,1242,1243],{"class":414,"line":520},[412,1244,1245],{},"]\n",[412,1247,1248],{"class":414,"line":526},[412,1249,431],{"emptyLinePlaceholder":430},[412,1251,1252],{"class":414,"line":532},[412,1253,1254],{},"\\newcommand\\my@section[1]{\n",[412,1256,1257],{"class":414,"line":538},[412,1258,1259],{},"  \\stepcounter{section}\n",[412,1261,1262],{"class":414,"line":544},[412,1263,1264],{},"  {\\Large\\needspace{\\baselineskip} }\n",[412,1266,1267],{"class":414,"line":550},[412,1268,1269],{},"  \\noindent\n",[412,1271,1272],{"class":414,"line":556},[412,1273,863],{},[412,1275,1276],{"class":414,"line":561},[412,1277,1278],{},"    \\node[sectionstyle] {\\bfseries\\Large\\thesection\\quad#1};\n",[412,1280,1281],{"class":414,"line":566},[412,1282,878],{},[412,1284,1285],{"class":414,"line":572},[412,1286,1287],{},"  \\par\n",[412,1289,1290],{"class":414,"line":577},[412,1291,1292],{},"  \\phantomsection\n",[412,1294,1295],{"class":414,"line":583},[412,1296,1297],{},"  \\addcontentsline{toc}{section}{\\thesection~#1}\n",[412,1299,1300],{"class":414,"line":589},[412,1301,1302],{},"  \\sectionmark{#1}\n",[412,1304,1305],{"class":414,"line":595},[412,1306,553],{},[412,1308,1309],{"class":414,"line":601},[412,1310,431],{"emptyLinePlaceholder":430},[412,1312,1313],{"class":414,"line":606},[412,1314,1315],{},"\\newcommand{\\sectionmarkstar}[1]{\\markboth{\\MakeUppercase{#1} }{} }\n",[412,1317,1318],{"class":414,"line":611},[412,1319,431],{"emptyLinePlaceholder":430},[412,1321,1322],{"class":414,"line":617},[412,1323,1324],{},"\\newcommand\\my@sectionstar[1]{\n",[412,1326,1327],{"class":414,"line":623},[412,1328,1264],{},[412,1330,1331],{"class":414,"line":629},[412,1332,1269],{},[412,1334,1335],{"class":414,"line":635},[412,1336,863],{},[412,1338,1339],{"class":414,"line":640},[412,1340,1341],{},"    \\node[sectionstyle] {\\bfseries\\Large#1};\n",[412,1343,1344],{"class":414,"line":645},[412,1345,878],{},[412,1347,1348],{"class":414,"line":651},[412,1349,1287],{},[412,1351,1352],{"class":414,"line":657},[412,1353,1292],{},[412,1355,1356],{"class":414,"line":662},[412,1357,1358],{},"  \\addcontentsline{toc}{section}{#1}\n",[412,1360,1361],{"class":414,"line":667},[412,1362,1363],{},"  \\sectionmarkstar{#1}\n",[412,1365,1366],{"class":414,"line":673},[412,1367,553],{},[412,1369,1370],{"class":414,"line":678},[412,1371,431],{"emptyLinePlaceholder":430},[412,1373,1374],{"class":414,"line":684},[412,1375,437],{},[412,1377,1378],{"class":414,"line":690},[412,1379,1380],{},"%% Subsection style\n",[412,1382,1383],{"class":414,"line":695},[412,1384,431],{"emptyLinePlaceholder":430},[412,1386,1387],{"class":414,"line":701},[412,1388,1389],{},"\\renewcommand\\subsection{\n",[412,1391,1392],{"class":414,"line":707},[412,1393,1177],{},[412,1395,1396],{"class":414,"line":713},[412,1397,1398],{},"  \\my@subsectionstar\n",[412,1400,1401],{"class":414,"line":719},[412,1402,1403],{},"  \\my@subsection\n",[412,1405,1406],{"class":414,"line":725},[412,1407,553],{},[412,1409,1410],{"class":414,"line":731},[412,1411,431],{"emptyLinePlaceholder":430},[412,1413,1414],{"class":414,"line":737},[412,1415,1416],{},"\\tikzstyle{subsectionstyle}=[\n",[412,1418,1419],{"class":414,"line":743},[412,1420,1421],{},"  left color=subsectionfg!50!white,\n",[412,1423,1424],{"class":414,"line":748},[412,1425,1426],{},"  right color=subsectionfg!100!white,\n",[412,1428,1429],{"class":414,"line":754},[412,1430,1235],{},[412,1432,1433],{"class":414,"line":759},[412,1434,1435],{},"  ellipse,\n",[412,1437,1438],{"class":414,"line":765},[412,1439,1440],{},"  inner sep=5pt\n",[412,1442,1443],{"class":414,"line":771},[412,1444,1245],{},[412,1446,1447],{"class":414,"line":777},[412,1448,431],{"emptyLinePlaceholder":430},[412,1450,1451],{"class":414,"line":783},[412,1452,1453],{},"\\newcommand\\my@subsection[1]{\n",[412,1455,1456],{"class":414,"line":789},[412,1457,1458],{},"  \\stepcounter{subsection}\n",[412,1460,1461],{"class":414,"line":794},[412,1462,1264],{},[412,1464,1466],{"class":414,"line":1465},68,[412,1467,1468],{},"  \\noindent  \n",[412,1470,1472],{"class":414,"line":1471},69,[412,1473,863],{},[412,1475,1477],{"class":414,"line":1476},70,[412,1478,1479],{},"    \\node[subsectionstyle,anchor=west] (number) at (0,0) {\\bfseries\\Large\\thesubsection};\n",[412,1481,1483],{"class":414,"line":1482},71,[412,1484,1485],{},"    \\if@mirrors\n",[412,1487,1489],{"class":414,"line":1488},72,[412,1490,1491],{},"    \\node[above right,subsectionfg,anchor=south west] at ($(number.east)+(0.1,-0.1)$) {\\large\\bfseries#1};\n",[412,1493,1495],{"class":414,"line":1494},73,[412,1496,1497],{},"    \\node[yscale=-1, scope fading=south, opacity=0.4, above, anchor=south west, subsectionfg] at ($(number.east)+(0.1,0.1)$) {\\large\\bfseries#1};\n",[412,1499,1501],{"class":414,"line":1500},74,[412,1502,1503],{},"    \\else\n",[412,1505,1507],{"class":414,"line":1506},75,[412,1508,1509],{},"    \\node[above right,subsectionfg,anchor=west] at ($(number.east)+(0.1,0)$) {\\large\\bfseries#1};\n",[412,1511,1513],{"class":414,"line":1512},76,[412,1514,1515],{},"    \\fi\n",[412,1517,1519],{"class":414,"line":1518},77,[412,1520,878],{},[412,1522,1524],{"class":414,"line":1523},78,[412,1525,1287],{},[412,1527,1529],{"class":414,"line":1528},79,[412,1530,1292],{},[412,1532,1534],{"class":414,"line":1533},80,[412,1535,1536],{},"  \\addcontentsline{toc}{subsection}{\\thesubsection~#1}\n",[412,1538,1540],{"class":414,"line":1539},81,[412,1541,553],{},[412,1543,1545],{"class":414,"line":1544},82,[412,1546,431],{"emptyLinePlaceholder":430},[412,1548,1550],{"class":414,"line":1549},83,[412,1551,1552],{},"\\newcommand\\my@subsectionstar[1]{\n",[412,1554,1556],{"class":414,"line":1555},84,[412,1557,1264],{},[412,1559,1561],{"class":414,"line":1560},85,[412,1562,1269],{},[412,1564,1566],{"class":414,"line":1565},86,[412,1567,863],{},[412,1569,1571],{"class":414,"line":1570},87,[412,1572,1573],{},"    \\node[subsectionstyle,anchor=west] (number) at (0,0) {\\bfseries\\Large\\phantom{1} };\n",[412,1575,1577],{"class":414,"line":1576},88,[412,1578,1485],{},[412,1580,1582],{"class":414,"line":1581},89,[412,1583,1491],{},[412,1585,1587],{"class":414,"line":1586},90,[412,1588,1497],{},[412,1590,1592],{"class":414,"line":1591},91,[412,1593,1503],{},[412,1595,1597],{"class":414,"line":1596},92,[412,1598,1509],{},[412,1600,1602],{"class":414,"line":1601},93,[412,1603,1515],{},[412,1605,1607],{"class":414,"line":1606},94,[412,1608,878],{},[412,1610,1612],{"class":414,"line":1611},95,[412,1613,1287],{},[412,1615,1617],{"class":414,"line":1616},96,[412,1618,1292],{},[412,1620,1622],{"class":414,"line":1621},97,[412,1623,1624],{},"  \\addcontentsline{toc}{subsection}{#1}\n",[412,1626,1628],{"class":414,"line":1627},98,[412,1629,553],{},[412,1631,1633],{"class":414,"line":1632},99,[412,1634,431],{"emptyLinePlaceholder":430},[412,1636,1638],{"class":414,"line":1637},100,[412,1639,437],{},[412,1641,1643],{"class":414,"line":1642},101,[412,1644,1645],{},"%% Subsubsection style\n",[412,1647,1649],{"class":414,"line":1648},102,[412,1650,431],{"emptyLinePlaceholder":430},[412,1652,1654],{"class":414,"line":1653},103,[412,1655,1656],{},"\\renewcommand\\subsubsection{\n",[412,1658,1660],{"class":414,"line":1659},104,[412,1661,1177],{},[412,1663,1665],{"class":414,"line":1664},105,[412,1666,1667],{},"  \\my@subsubsectionstar\n",[412,1669,1671],{"class":414,"line":1670},106,[412,1672,1673],{},"  \\my@subsubsection\n",[412,1675,1677],{"class":414,"line":1676},107,[412,1678,553],{},[412,1680,1682],{"class":414,"line":1681},108,[412,1683,431],{"emptyLinePlaceholder":430},[412,1685,1687],{"class":414,"line":1686},109,[412,1688,1689],{},"\\tikzstyle{subsubsectionstyle}=[\n",[412,1691,1693],{"class":414,"line":1692},110,[412,1694,1695],{},"  left color=subsubsectionfg!50!white,\n",[412,1697,1699],{"class":414,"line":1698},111,[412,1700,1701],{},"  right color=subsubsectionfg!100!white,\n",[412,1703,1705],{"class":414,"line":1704},112,[412,1706,1235],{},[412,1708,1710],{"class":414,"line":1709},113,[412,1711,1712],{},"  shape=trapezium,\n",[412,1714,1716],{"class":414,"line":1715},114,[412,1717,1440],{},[412,1719,1721],{"class":414,"line":1720},115,[412,1722,1245],{},[412,1724,1726],{"class":414,"line":1725},116,[412,1727,431],{"emptyLinePlaceholder":430},[412,1729,1731],{"class":414,"line":1730},117,[412,1732,1733],{},"\\newcommand\\my@subsubsection[1]{\n",[412,1735,1737],{"class":414,"line":1736},118,[412,1738,1739],{},"  \\stepcounter{subsubsection}\n",[412,1741,1743],{"class":414,"line":1742},119,[412,1744,1468],{},[412,1746,1748],{"class":414,"line":1747},120,[412,1749,863],{},[412,1751,1753],{"class":414,"line":1752},121,[412,1754,1755],{},"    \\node[subsubsectionstyle] (number) {\\bfseries\\large\\thesubsubsection};\n",[412,1757,1759],{"class":414,"line":1758},122,[412,1760,1761],{},"    \\node[subsubsectionfg, right of=number, anchor=west] {\\large\\bfseries#1};\n",[412,1763,1765],{"class":414,"line":1764},123,[412,1766,878],{},[412,1768,1770],{"class":414,"line":1769},124,[412,1771,1287],{},[412,1773,1775],{"class":414,"line":1774},125,[412,1776,1292],{},[412,1778,1780],{"class":414,"line":1779},126,[412,1781,1782],{},"  \\addcontentsline{toc}{subsubsection}{\\thesubsubsection~#1}\n",[412,1784,1786],{"class":414,"line":1785},127,[412,1787,553],{},[412,1789,1791],{"class":414,"line":1790},128,[412,1792,431],{"emptyLinePlaceholder":430},[412,1794,1796],{"class":414,"line":1795},129,[412,1797,1798],{},"\\newcommand\\my@subsubsectionstar[1]{\n",[412,1800,1802],{"class":414,"line":1801},130,[412,1803,1269],{},[412,1805,1807],{"class":414,"line":1806},131,[412,1808,863],{},[412,1810,1812],{"class":414,"line":1811},132,[412,1813,1814],{},"    \\node[subsubsectionstyle] (number) {\\bfseries\\large\\vphantom{1} };\n",[412,1816,1818],{"class":414,"line":1817},133,[412,1819,1761],{},[412,1821,1823],{"class":414,"line":1822},134,[412,1824,878],{},[412,1826,1828],{"class":414,"line":1827},135,[412,1829,1287],{},[412,1831,1833],{"class":414,"line":1832},136,[412,1834,1292],{},[412,1836,1838],{"class":414,"line":1837},137,[412,1839,1840],{},"  \\addcontentsline{toc}{subsubsection}{#1}\n",[412,1842,1844],{"class":414,"line":1843},138,[412,1845,553],{},[412,1847,1849],{"class":414,"line":1848},139,[412,1850,431],{"emptyLinePlaceholder":430},[412,1852,1854],{"class":414,"line":1853},140,[412,1855,1856],{},"\\endinput\n",[1858,1859,1860],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":407,"searchDepth":421,"depth":421,"links":1862},[1863,1864,1865,1866,1867],{"id":366,"depth":421,"text":11},{"id":375,"depth":421,"text":376},{"id":800,"depth":421,"text":801},{"id":914,"depth":421,"text":915},{"id":1071,"depth":421,"text":1072},"Learn how to create custom LaTeX themes to change the visual appearance of your documents.","md",null,{},{"title":276,"description":1868},"uaGww3obpUF3pmw0KEx0TWyK8NfD3UEK6Yxr4_bNRd4",[1875,1877],{"title":272,"path":273,"stem":274,"description":1876,"children":-1},"Learn how to create documentation for LaTeX packages using .dtx files.",{"title":280,"path":281,"stem":282,"description":1878,"children":-1},"How to organize LaTeX projects by splitting work into multiple files using modular document structures.",1785155513646]