[{"data":1,"prerenderedAt":723},["ShallowReactive",2],{"navigation_docs":3,"-reference-rules-and-struts":351,"-reference-rules-and-struts-surround":718},[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":322,"body":353,"description":712,"extension":713,"links":714,"meta":715,"navigation":621,"path":323,"seo":716,"stem":324,"__hash__":717},"docs\u002F10.reference\u002F07.rules-and-struts.md",{"type":354,"value":355,"toc":695},"minimark",[356,361,370,386,401,404,437,440,444,452,455,464,468,471,525,532,541,544,550,559,562,566,575,579,583,603,607,633,637,678,682,691],[357,358,360],"h2",{"id":359},"rules","Rules",[362,363,364,365,369],"p",{},"The ",[366,367,368],"code",{},"\\rule"," command in normal use produces a simple black box:",[371,372,377],"pre",{"className":373,"code":374,"language":375,"meta":376,"style":376},"language-latex shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\\rule[raise]{width}{thickness}\n","latex","",[366,378,379],{"__ignoreMap":376},[380,381,384],"span",{"class":382,"line":383},"line",1,[380,385,374],{},[362,387,388,389,392,393,396,397,400],{},"The parameter ",[366,390,391],{},"thickness"," determines the height, whereas ",[366,394,395],{},"width"," determines the width of the produced rule. With the optional parameter ",[366,398,399],{},"raise",", you can optionally raise or lower the produced rule above or below the baseline.",[362,402,403],{},"Here is an example (the thin lines are located at the baseline):",[371,405,407],{"className":373,"code":406,"language":375,"meta":376,"style":376},"\\rule{3mm}{.1pt}%\n\\rule[-1mm]{5mm}{1cm}%\n\\rule{3mm}{.1pt}%\n\\rule[1mm]{1cm}{5mm}%\n\\rule{3mm}{.1pt}\n",[366,408,409,414,420,425,431],{"__ignoreMap":376},[380,410,411],{"class":382,"line":383},[380,412,413],{},"\\rule{3mm}{.1pt}%\n",[380,415,417],{"class":382,"line":416},2,[380,418,419],{},"\\rule[-1mm]{5mm}{1cm}%\n",[380,421,423],{"class":382,"line":422},3,[380,424,413],{},[380,426,428],{"class":382,"line":427},4,[380,429,430],{},"\\rule[1mm]{1cm}{5mm}%\n",[380,432,434],{"class":382,"line":433},5,[380,435,436],{},"\\rule{3mm}{.1pt}\n",[362,438,439],{},"This is useful for drawing vertical and horizontal lines.",[357,441,443],{"id":442},"struts","Struts",[362,445,446,447,451],{},"A special case is a rule with no width but a certain height. In professional typesetting, this is called a ",[448,449,450],"em",{},"strut",". It is used to guarantee that an element on a page has a certain minimal height. You could use it in a tabular environment or in boxes to make sure a row has a certain minimum height.",[362,453,454],{},"In LaTeX a strut is defined as:",[371,456,458],{"className":373,"code":457,"language":375,"meta":376,"style":376},"\\rule[-.3\\baselineskip]{0pt}{\\baselineskip}\n",[366,459,460],{"__ignoreMap":376},[380,461,462],{"class":382,"line":383},[380,463,457],{},[357,465,467],{"id":466},"stretched-rules","Stretched Rules",[362,469,470],{},"LaTeX provides several fill commands that create stretched horizontal rules:",[472,473,474,487],"table",{},[475,476,477],"thead",{},[478,479,480,484],"tr",{},[481,482,483],"th",{},"Command",[481,485,486],{},"Description",[488,489,490,501,511],"tbody",{},[478,491,492,498],{},[493,494,495],"td",{},[366,496,497],{},"\\hrulefill",[493,499,500],{},"Stretched horizontal rule (fills available space)",[478,502,503,508],{},[493,504,505],{},[366,506,507],{},"\\dotfill",[493,509,510],{},"Stretched dotted line",[478,512,513,518],{},[493,514,515],{},[366,516,517],{},"\\titlerule",[493,519,520,521,524],{},"Title rule (from ",[366,522,523],{},"titling"," package)",[526,527,529,531],"h3",{"id":528},"hrulefill-examples",[366,530,497],{}," Examples",[371,533,535],{"className":373,"code":534,"language":375,"meta":376,"style":376},"Name: \\hrulefill Date: \\hrulefill\n",[366,536,537],{"__ignoreMap":376},[380,538,539],{"class":382,"line":383},[380,540,534],{},[362,542,543],{},"Produces: \"Name: _______________ Date: _______________\"",[526,545,547,549],{"id":546},"dotfill-example",[366,548,507],{}," Example",[371,551,553],{"className":373,"code":552,"language":375,"meta":376,"style":376},"Table of Contents \\dotfill Page\n",[366,554,555],{"__ignoreMap":376},[380,556,557],{"class":382,"line":383},[380,558,552],{},[362,560,561],{},"Produces: \"Table of Contents ............... Page\"",[526,563,565],{"id":564},"custom-fill-rules","Custom Fill Rules",[371,567,569],{"className":373,"code":568,"language":375,"meta":376,"style":376},"\\renewcommand{\\hrulefill}{\\leavevmode\\leaders\\hrule height 1pt\\hfill\\kern0pt}\n",[366,570,571],{"__ignoreMap":376},[380,572,573],{"class":382,"line":383},[380,574,568],{},[357,576,578],{"id":577},"practical-uses","Practical Uses",[526,580,582],{"id":581},"decorative-separators","Decorative Separators",[371,584,586],{"className":373,"code":585,"language":375,"meta":376,"style":376},"\\begin{center}\n\\rule{0.5\\textwidth}{0.4pt}\n\\end{center}\n",[366,587,588,593,598],{"__ignoreMap":376},[380,589,590],{"class":382,"line":383},[380,591,592],{},"\\begin{center}\n",[380,594,595],{"class":382,"line":416},[380,596,597],{},"\\rule{0.5\\textwidth}{0.4pt}\n",[380,599,600],{"class":382,"line":422},[380,601,602],{},"\\end{center}\n",[526,604,606],{"id":605},"underlining-with-rules","Underlining with Rules",[371,608,610],{"className":373,"code":609,"language":375,"meta":376,"style":376},"\\underline{Important text}\n\n% Or with custom thickness:\n\\underline{\\rule{2cm}{0.4pt}}\n",[366,611,612,617,623,628],{"__ignoreMap":376},[380,613,614],{"class":382,"line":383},[380,615,616],{},"\\underline{Important text}\n",[380,618,619],{"class":382,"line":416},[380,620,622],{"emptyLinePlaceholder":621},true,"\n",[380,624,625],{"class":382,"line":422},[380,626,627],{},"% Or with custom thickness:\n",[380,629,630],{"class":382,"line":427},[380,631,632],{},"\\underline{\\rule{2cm}{0.4pt}}\n",[526,634,636],{"id":635},"rules-in-tables","Rules in Tables",[371,638,640],{"className":373,"code":639,"language":375,"meta":376,"style":376},"\\begin{tabular}{l}\n\\hline\nContent \\\\\n\\rule{0pt}{12pt} % Adds minimum row height\nMore content \\\\\n\\hline\n\\end{tabular}\n",[366,641,642,647,652,657,662,667,672],{"__ignoreMap":376},[380,643,644],{"class":382,"line":383},[380,645,646],{},"\\begin{tabular}{l}\n",[380,648,649],{"class":382,"line":416},[380,650,651],{},"\\hline\n",[380,653,654],{"class":382,"line":422},[380,655,656],{},"Content \\\\\n",[380,658,659],{"class":382,"line":427},[380,660,661],{},"\\rule{0pt}{12pt} % Adds minimum row height\n",[380,663,664],{"class":382,"line":433},[380,665,666],{},"More content \\\\\n",[380,668,670],{"class":382,"line":669},6,[380,671,651],{},[380,673,675],{"class":382,"line":674},7,[380,676,677],{},"\\end{tabular}\n",[526,679,681],{"id":680},"signature-lines","Signature Lines",[371,683,685],{"className":373,"code":684,"language":375,"meta":376,"style":376},"Signature: \\hrulefill \\hspace{2cm} Date: \\hrulefill\n",[366,686,687],{"__ignoreMap":376},[380,688,689],{"class":382,"line":383},[380,690,684],{},[692,693,694],"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":376,"searchDepth":416,"depth":416,"links":696},[697,698,699,706],{"id":359,"depth":416,"text":360},{"id":442,"depth":416,"text":443},{"id":466,"depth":416,"text":467,"children":700},[701,703,705],{"id":528,"depth":422,"text":702},"\\hrulefill Examples",{"id":546,"depth":422,"text":704},"\\dotfill Example",{"id":564,"depth":422,"text":565},{"id":577,"depth":416,"text":578,"children":707},[708,709,710,711],{"id":581,"depth":422,"text":582},{"id":605,"depth":422,"text":606},{"id":635,"depth":422,"text":636},{"id":680,"depth":422,"text":681},"Drawing horizontal and vertical rules, creating struts for minimum height guarantees, and using stretched rules in LaTeX.","md",null,{},{"title":322,"description":712},"gX6u0gFMXLKQxiopYOCD9EYZJiegp_5kA0RDgIZy3VU",[719,721],{"title":318,"path":319,"stem":320,"description":720,"children":-1},"Working with TeX boxes and glue, including parbox, minipage, makebox, framebox, savebox, and box modifiers.",{"title":326,"path":327,"stem":328,"description":722,"children":-1},"An alphabetical glossary of LaTeX commands with summaries of their effects.",1785155515648]