[{"data":1,"prerenderedAt":1107},["ShallowReactive",2],{"navigation_docs":3,"-reference-counters":351,"-reference-counters-surround":1102},[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":314,"body":353,"description":1096,"extension":1097,"links":1098,"meta":1099,"navigation":415,"path":315,"seo":1100,"stem":316,"__hash__":1101},"docs\u002F10.reference\u002F05.counters.md",{"type":354,"value":355,"toc":1086},"minimark",[356,360,365,368,385,388,397,400,481,484,493,496,516,519,528,531,549,552,561,563,572,574,583,590,593,602,606,609,631,637,657,661,664,673,681,692,704,714,722,822,825,829,864,867,881,884,889,893,896,925,929,932,966,970,977,981,984,1082],[357,358,359],"p",{},"Counters are an essential part of LaTeX: they allow you to control the numbering mechanism of everything (sections, lists, captions, etc.). To that end each counter stores an integer value in the range of long integer, i.e., from -2^31 to 2^31 - 1.",[361,362,364],"h2",{"id":363},"counter-manipulation","Counter manipulation",[357,366,367],{},"In LaTeX it is fairly easy to create new counters and even counters that reset automatically when another counter is increased (think subsection in a section for example). With the command:",[369,370,375],"pre",{"className":371,"code":372,"language":373,"meta":374,"style":374},"language-latex shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\\newcounter{NameOfTheNewCounter}\n","latex","",[376,377,378],"code",{"__ignoreMap":374},[379,380,383],"span",{"class":381,"line":382},"line",1,[379,384,372],{},[357,386,387],{},"you create a new counter that is automatically set to zero. If you want the counter to be reset to zero every time another counter is increased, use:",[369,389,391],{"className":371,"code":390,"language":373,"meta":374,"style":374},"\\newcounter{NameOfTheNewCounter}[NameOfTheOtherCounter]\n",[376,392,393],{"__ignoreMap":374},[379,394,395],{"class":381,"line":382},[379,396,390],{},[357,398,399],{},"For example, if you want to enumerate the equations in each chapter independently, you can create something like an \"equationschapter\" counter that will be automatically reset at the begin of each section.",[369,401,403],{"className":371,"code":402,"language":373,"meta":374,"style":374},"\\newcounter{equationschapter}[section]\n\n    \\section{First Section}\n    I present one equation:\n    \n    \\stepcounter{equationschapter} $a=b+c$ (Eq. \\arabic{section}.\\arabic{equationschapter})\n    \n    \\section{Second Section}\n    I present more equations:\n    \n    \\stepcounter{equationschapter} $a=c+d$ (Eq. \\arabic{section}.\\arabic{equationschapter})\n      \n    \\stepcounter{equationschapter} $d=e$ (Eq. \\arabic{section}.\\arabic{equationschapter})\n",[376,404,405,410,417,423,429,435,441,446,452,458,463,469,475],{"__ignoreMap":374},[379,406,407],{"class":381,"line":382},[379,408,409],{},"\\newcounter{equationschapter}[section]\n",[379,411,413],{"class":381,"line":412},2,[379,414,416],{"emptyLinePlaceholder":415},true,"\n",[379,418,420],{"class":381,"line":419},3,[379,421,422],{},"    \\section{First Section}\n",[379,424,426],{"class":381,"line":425},4,[379,427,428],{},"    I present one equation:\n",[379,430,432],{"class":381,"line":431},5,[379,433,434],{},"    \n",[379,436,438],{"class":381,"line":437},6,[379,439,440],{},"    \\stepcounter{equationschapter} $a=b+c$ (Eq. \\arabic{section}.\\arabic{equationschapter})\n",[379,442,444],{"class":381,"line":443},7,[379,445,434],{},[379,447,449],{"class":381,"line":448},8,[379,450,451],{},"    \\section{Second Section}\n",[379,453,455],{"class":381,"line":454},9,[379,456,457],{},"    I present more equations:\n",[379,459,461],{"class":381,"line":460},10,[379,462,434],{},[379,464,466],{"class":381,"line":465},11,[379,467,468],{},"    \\stepcounter{equationschapter} $a=c+d$ (Eq. \\arabic{section}.\\arabic{equationschapter})\n",[379,470,472],{"class":381,"line":471},12,[379,473,474],{},"      \n",[379,476,478],{"class":381,"line":477},13,[379,479,480],{},"    \\stepcounter{equationschapter} $d=e$ (Eq. \\arabic{section}.\\arabic{equationschapter})\n",[357,482,483],{},"To add to an existing counter another counter causing a reset when increased, use:",[369,485,487],{"className":371,"code":486,"language":373,"meta":374,"style":374},"\\counterwithin*{NameOfTheCounter}{NameOfTheOtherCounter}\n",[376,488,489],{"__ignoreMap":374},[379,490,491],{"class":381,"line":382},[379,492,486],{},[357,494,495],{},"If this doesn't work it might be because of an old LaTeX version, the following should work in that case:",[369,497,499],{"className":371,"code":498,"language":373,"meta":374,"style":374},"\\makeatletter\n\\@addtoreset{NameOfTheCounter}{NameOfTheOtherCounter}\n\\makeatother\n",[376,500,501,506,511],{"__ignoreMap":374},[379,502,503],{"class":381,"line":382},[379,504,505],{},"\\makeatletter\n",[379,507,508],{"class":381,"line":412},[379,509,510],{},"\\@addtoreset{NameOfTheCounter}{NameOfTheOtherCounter}\n",[379,512,513],{"class":381,"line":419},[379,514,515],{},"\\makeatother\n",[357,517,518],{},"To undo this effect one can use:",[369,520,522],{"className":371,"code":521,"language":373,"meta":374,"style":374},"\\counterwithout*{NameOfTheCounter}{NameOfTheOtherCounter}\n",[376,523,524],{"__ignoreMap":374},[379,525,526],{"class":381,"line":382},[379,527,521],{},[357,529,530],{},"or:",[369,532,534],{"className":371,"code":533,"language":373,"meta":374,"style":374},"\\makeatletter\n\\@removefromreset{NameOfTheCounter}{NameOfTheOtherCounter}\n\\makeatother\n",[376,535,536,540,545],{"__ignoreMap":374},[379,537,538],{"class":381,"line":382},[379,539,505],{},[379,541,542],{"class":381,"line":412},[379,543,544],{},"\\@removefromreset{NameOfTheCounter}{NameOfTheOtherCounter}\n",[379,546,547],{"class":381,"line":419},[379,548,515],{},[357,550,551],{},"To increase the counter, either use:",[369,553,555],{"className":371,"code":554,"language":373,"meta":374,"style":374},"\\stepcounter{NameOfTheNewCounter}\n",[376,556,557],{"__ignoreMap":374},[379,558,559],{"class":381,"line":382},[379,560,554],{},[357,562,530],{},[369,564,566],{"className":371,"code":565,"language":373,"meta":374,"style":374},"\\refstepcounter{NameOfTheNewCounter} % used for labels and cross referencing\n",[376,567,568],{"__ignoreMap":374},[379,569,570],{"class":381,"line":382},[379,571,565],{},[357,573,530],{},[369,575,577],{"className":371,"code":576,"language":373,"meta":374,"style":374},"\\addtocounter{NameOfTheNewCounter}{number}\n",[376,578,579],{"__ignoreMap":374},[379,580,581],{"class":381,"line":382},[379,582,576],{},[357,584,585,586,589],{},"here the number can also be negative. For automatic resetting you need to use ",[376,587,588],{},"\\stepcounter",".",[357,591,592],{},"To set the counter value explicitly, use:",[369,594,596],{"className":371,"code":595,"language":373,"meta":374,"style":374},"\\setcounter{NameOfTheNewCounter}{number}\n",[376,597,598],{"__ignoreMap":374},[379,599,600],{"class":381,"line":382},[379,601,595],{},[361,603,605],{"id":604},"counter-access","Counter access",[357,607,608],{},"There are several ways to get access to a counter:",[610,611,612,619,625],"ul",{},[613,614,615,618],"li",{},[376,616,617],{},"\\theNameOfTheNewCounter"," will print the formatted string related to the counter (note the \"the\" before the actual name of the counter).",[613,620,621,624],{},[376,622,623],{},"\\value{NameOfTheNewCounter}"," will return the counter value which can be used by other counters or for calculations. It is not a formatted string, so it cannot be used in text.",[613,626,627,630],{},[376,628,629],{},"\\arabic{NameOfTheNewCounter}"," will print the formatted counter using arabic numbers.",[357,632,633,634,636],{},"Note that ",[376,635,629],{}," may be used as a value too, but not the others.",[357,638,639,640,644,645,648,649,652,653,656],{},"Strangely enough, LaTeX counters are ",[641,642,643],"em",{},"not"," introduced by a backslash in any case, even with the ",[376,646,647],{},"\\the"," command. Plain TeX equivalents ",[376,650,651],{},"\\count"," and ",[376,654,655],{},"\\newcount\\mycounter"," do abide by the backslash rule.",[361,658,660],{"id":659},"counter-style","Counter style",[357,662,663],{},"The following internal LaTeX commands will convert numeric value of specified counter into printable string and insert string into document:",[357,665,666,672],{},[667,668,669],"strong",{},[376,670,671],{},"\\arabic"," — Numbers from -2^31 to 2^31 - 1 inclusive converted to strings. Example: 1, 2, 3, ...",[357,674,675,680],{},[667,676,677],{},[376,678,679],{},"\\alph"," — Numbers from 1 to 26 inclusive converted to strings a, b, ..., z. Other numbers converted to empty string. Example: a, b, c, ...",[357,682,683,688,689,691],{},[667,684,685],{},[376,686,687],{},"\\Alph"," — Same as ",[376,690,679],{},", but upper case letters used. Example: A, B, C, ...",[357,693,694,699,700,703],{},[667,695,696],{},[376,697,698],{},"\\roman"," — Converts to roman numeral strings. There's no hard cutoff, but numbers above 3999 (traditionally the largest value with a \"proper\" roman-numeral form) just get a run of extra ",[376,701,702],{},"m","s. Example: i, ii, iii, ...",[357,705,706,688,711,713],{},[667,707,708],{},[376,709,710],{},"\\Roman",[376,712,698],{},", but upper case letters used. Example: I, II, III, ...",[357,715,716,721],{},[667,717,718],{},[376,719,720],{},"\\fnsymbol"," — Aimed at footnotes; prints a sequence of symbols.",[723,724,725,738],"table",{},[726,727,728],"thead",{},[729,730,731,735],"tr",{},[732,733,734],"th",{},"Number",[732,736,737],{},"Symbol(s)",[739,740,741,750,758,766,774,782,790,798,806,814],"tbody",{},[729,742,743,747],{},[744,745,746],"td",{},"1",[744,748,749],{},"*",[729,751,752,755],{},[744,753,754],{},"2",[744,756,757],{},"dagger",[729,759,760,763],{},[744,761,762],{},"3",[744,764,765],{},"double dagger",[729,767,768,771],{},[744,769,770],{},"4",[744,772,773],{},"section",[729,775,776,779],{},[744,777,778],{},"5",[744,780,781],{},"paragraph",[729,783,784,787],{},[744,785,786],{},"6",[744,788,789],{},"double vertical bar",[729,791,792,795],{},[744,793,794],{},"7",[744,796,797],{},"**",[729,799,800,803],{},[744,801,802],{},"8",[744,804,805],{},"dagger dagger",[729,807,808,811],{},[744,809,810],{},"9",[744,812,813],{},"double double dagger",[729,815,816,819],{},[744,817,818],{},"Other numbers",[744,820,821],{},"Empty string",[357,823,824],{},"Example: *, dagger, double dagger, ...",[361,826,828],{"id":827},"latex-default-counters","LaTeX default counters",[610,830,831,834,837,839,842,845,847,850,853,856,858,861],{},[613,832,833],{},"part",[613,835,836],{},"chapter",[613,838,773],{},[613,840,841],{},"subsection",[613,843,844],{},"subsubsection",[613,846,781],{},[613,848,849],{},"subparagraph",[613,851,852],{},"page",[613,854,855],{},"figure",[613,857,723],{},[613,859,860],{},"footnote",[613,862,863],{},"mpfootnote",[357,865,866],{},"For the enumerate environment:",[610,868,869,872,875,878],{},[613,870,871],{},"enumi",[613,873,874],{},"enumii",[613,876,877],{},"enumiii",[613,879,880],{},"enumiv",[357,882,883],{},"For the eqnarray environment:",[610,885,886],{},[613,887,888],{},"equation",[361,890,892],{"id":891},"book-with-parts-sections-but-no-chapters","Book with parts, sections, but no chapters",[357,894,895],{},"Here follows an example where we want to use parts and sections, but no chapters in the book class:",[369,897,899],{"className":371,"code":898,"language":373,"meta":374,"style":374},"\\renewcommand{\\thesection}{\\thepart .\\arabic{section} }\n\n\\part{My Part}                                                                \n\\section{My Section}\n\\subsection{My Subsection}\n",[376,900,901,906,910,915,920],{"__ignoreMap":374},[379,902,903],{"class":381,"line":382},[379,904,905],{},"\\renewcommand{\\thesection}{\\thepart .\\arabic{section} }\n",[379,907,908],{"class":381,"line":412},[379,909,416],{"emptyLinePlaceholder":415},[379,911,912],{"class":381,"line":419},[379,913,914],{},"\\part{My Part}                                                                \n",[379,916,917],{"class":381,"line":425},[379,918,919],{},"\\section{My Section}\n",[379,921,922],{"class":381,"line":431},[379,923,924],{},"\\subsection{My Subsection}\n",[361,926,928],{"id":927},"tables-numbered-in-uppercase-roman-characters","Tables numbered in uppercase Roman characters",[357,930,931],{},"Here follows an example where we want to have tables numbered in uppercase Roman characters:",[369,933,935],{"className":371,"code":934,"language":373,"meta":374,"style":374},"\\renewcommand{\\thetable}{\\Roman{table} }\n\n\\begin{table}\n\\caption{Title of table IX} \\label{tab:IX}\n...\n\\end{table}\n",[376,936,937,942,946,951,956,961],{"__ignoreMap":374},[379,938,939],{"class":381,"line":382},[379,940,941],{},"\\renewcommand{\\thetable}{\\Roman{table} }\n",[379,943,944],{"class":381,"line":412},[379,945,416],{"emptyLinePlaceholder":415},[379,947,948],{"class":381,"line":419},[379,949,950],{},"\\begin{table}\n",[379,952,953],{"class":381,"line":425},[379,954,955],{},"\\caption{Title of table IX} \\label{tab:IX}\n",[379,957,958],{"class":381,"line":431},[379,959,960],{},"...\n",[379,962,963],{"class":381,"line":437},[379,964,965],{},"\\end{table}\n",[361,967,969],{"id":968},"custom-enumerate","Custom enumerate",[357,971,972,973,976],{},"See the ",[974,975,72],"a",{"href":73}," chapter.",[361,978,980],{"id":979},"custom-sectioning","Custom sectioning",[357,982,983],{},"Here is an example for recreating something similar to a section and subsection counter that already exist in LaTeX:",[369,985,987],{"className":371,"code":986,"language":373,"meta":374,"style":374},"\\newcounter{mysection}\n\\newcounter{mysubsection}[mysection]\n\\addtocounter{mysection}{2} % set them to some other numbers than 0\n\\addtocounter{mysubsection}{10} % same\n%\n\\arabic{mysection}.\\arabic{mysubsection}\nBlah blah\n\n\\stepcounter{mysection}\n\\arabic{mysection}.\\arabic{mysubsection}\nBlah blah\n\n\\stepcounter{mysubsection}\n\\arabic{mysection}.\\arabic{mysubsection}\nBlah blah\n\n\\addtocounter{mysubsection}{25}\n\\arabic{mysection}.\\arabic{mysubsection}\nBlah blah and more blah blah\n",[376,988,989,994,999,1004,1009,1014,1019,1024,1028,1033,1037,1041,1045,1050,1055,1060,1065,1071,1076],{"__ignoreMap":374},[379,990,991],{"class":381,"line":382},[379,992,993],{},"\\newcounter{mysection}\n",[379,995,996],{"class":381,"line":412},[379,997,998],{},"\\newcounter{mysubsection}[mysection]\n",[379,1000,1001],{"class":381,"line":419},[379,1002,1003],{},"\\addtocounter{mysection}{2} % set them to some other numbers than 0\n",[379,1005,1006],{"class":381,"line":425},[379,1007,1008],{},"\\addtocounter{mysubsection}{10} % same\n",[379,1010,1011],{"class":381,"line":431},[379,1012,1013],{},"%\n",[379,1015,1016],{"class":381,"line":437},[379,1017,1018],{},"\\arabic{mysection}.\\arabic{mysubsection}\n",[379,1020,1021],{"class":381,"line":443},[379,1022,1023],{},"Blah blah\n",[379,1025,1026],{"class":381,"line":448},[379,1027,416],{"emptyLinePlaceholder":415},[379,1029,1030],{"class":381,"line":454},[379,1031,1032],{},"\\stepcounter{mysection}\n",[379,1034,1035],{"class":381,"line":460},[379,1036,1018],{},[379,1038,1039],{"class":381,"line":465},[379,1040,1023],{},[379,1042,1043],{"class":381,"line":471},[379,1044,416],{"emptyLinePlaceholder":415},[379,1046,1047],{"class":381,"line":477},[379,1048,1049],{},"\\stepcounter{mysubsection}\n",[379,1051,1053],{"class":381,"line":1052},14,[379,1054,1018],{},[379,1056,1058],{"class":381,"line":1057},15,[379,1059,1023],{},[379,1061,1063],{"class":381,"line":1062},16,[379,1064,416],{"emptyLinePlaceholder":415},[379,1066,1068],{"class":381,"line":1067},17,[379,1069,1070],{},"\\addtocounter{mysubsection}{25}\n",[379,1072,1074],{"class":381,"line":1073},18,[379,1075,1018],{},[379,1077,1079],{"class":381,"line":1078},19,[379,1080,1081],{},"Blah blah and more blah blah\n",[1083,1084,1085],"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":374,"searchDepth":412,"depth":412,"links":1087},[1088,1089,1090,1091,1092,1093,1094,1095],{"id":363,"depth":412,"text":364},{"id":604,"depth":412,"text":605},{"id":659,"depth":412,"text":660},{"id":827,"depth":412,"text":828},{"id":891,"depth":412,"text":892},{"id":927,"depth":412,"text":928},{"id":968,"depth":412,"text":969},{"id":979,"depth":412,"text":980},"Managing LaTeX counters for numbering sections, lists, captions, and other document elements.","md",null,{},{"title":314,"description":1096},"NVgYkMHbiVFw5VIMXYlbQ39HS-2Z1i-x-xO4rA5Tzps",[1103,1105],{"title":310,"path":311,"stem":312,"description":1104,"children":-1},"Working with LaTeX length units, measurement manipulation, fixed-length spaces, and rubber\u002Fstretching lengths.",{"title":318,"path":319,"stem":320,"description":1106,"children":-1},"Working with TeX boxes and glue, including parbox, minipage, makebox, framebox, savebox, and box modifiers.",1785155515150]