[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-571684-105":53,"doc-detail-571684-en":126},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":119,"head_meta":121,"extra_data":123,"updated_unix":125},105,"en","latex-2-cheat-sheet-reference-document-structure-and-formatting-commands","LATEX 2\" Cheat Sheet - Reference - Document structure and formatting commands","","LATEX 2\" cheat sheet covering core LaTeX document classes, common options, and frequently used commands to set up a complete document workflow. It summarizes when to use \\documentclass and how to start and end content with \\begin{document} and \\end{document}. It provides package usage guidance, title/author/date setup, sectioning and numbering controls, tables/figures/equations environments, and key formatting and text properties.",{"@graph":63,"@context":118},[64,80,101],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/latex-2-cheat-sheet-reference-document-structure-and-formatting-commands/571684/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/latex-2-cheat-sheet-reference-document-structure-and-formatting-commands/571684.png","ImageObject",442,249,{"name":88,"@type":89},"Dusta123","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-22","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":79},"InteractionCounter",{"@type":100},"ViewAction",{"@type":102,"mainEntity":103},"FAQPage",[104,110,114],{"name":105,"@type":106,"acceptedAnswer":107},"Which LaTeX commands start and end a document?","Question",{"text":108,"@type":109},"Use \\documentclass{class} at the very beginning. Start the contents with \\begin{document} and finish with \\end{document}.","Answer",{"name":111,"@type":106,"acceptedAnswer":112},"How do you set the document title, author, and date in LaTeX?",{"text":113,"@type":109},"Use \\title{text}, \\author{text}, and \\date{text}. Place these before \\begin{document}, and call \\maketitle at the top of the document.",{"name":115,"@type":106,"acceptedAnswer":116},"How can you control section numbering and suppress specific heading depths?",{"text":117,"@type":109},"Set \\setcounter{secnumdepth}{x} to suppress heading numbers deeper than x. Also use starred forms like \\section*{title} to avoid numbering and exclude the item from the table of contents.","https://schema.org",{"og:url":78,"og:type":120,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":122,"canonical":78},"index,follow",{"doc_id":124,"site_id":56},571684,1792247369,{"code":4,"msg":5,"data":127},{"doc_id":124,"user_id":128,"nickname":88,"user_avatar":129,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":130,"file_id":131,"file_url":132,"file_type":133,"file_size":134,"view_count":79,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":73,"language":135,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":136,"faqs":137,"seo_title":138,"seo_description":61,"update_tm":139,"read_time":9},962093541925,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","LATEX 2\" Cheat Sheet Document classes  \nbook Default is two-sided.  \nreport No \\part divisions.  \narticle No \\part or \\chapter divisions.  \nletter Letter (?) .  \nslides Large sans-serif font.  \nUsed at the very beginning of a document:\\documentclass{class} . Use \\begin{document} to start contents and \\end{document} to end the document.  \nCommon documentclass options 10pt/11pt/12pt Font size.  \nletterpaper/a4paper Paper size.  \ntwocolumn Use two columns.  \ntwoside Set margins for two-sided.  \nlandscape Landscape orientation. Must use dvips  \n-t landscape.  \ndraft Double-space lines.  \nUsage: \\documentclass[opt,opt ]{class} .  \nPackages  \nfullpage Use 1 inch margins.  \nanysize Set margins: \\marginsize{l }{r }{t }{b} .  \nmulticol Use n columns: \\begin{multicols}{n} .  \nlatexsym Use LATEX symbol font.  \ngraphicx Show image: \\includegraphics[width=x ]{􀀌le} .  \nurl Insert URL: \\url{[http://. . .](http://. . . })[ }](http://. . . }) .  \nUse before \\begin{document} . Usage: \\usepackage{package}  \nTitle  \n\\author{text } Author of document.  \n\\title{text } Title of document.  \n\\date{text } Date.  \nThese commands go before \\begin{document} . The declaration \\maketitle goes at the top of the document.  \nMiscellaneous  \n\\pagestyle{empty} Empty header, footer and no page num  \nbers.\\tableofcontents Add a table of contents here.  \nDocument structure  \n\\part{title}\\chapter{title}\\section{title}\\subsection{title}  \n\\subsubsection{title}\\paragraph{title}\\subparagraph{title}  \nUse \\setcounter{secnumdepth}{x} suppresses heading numbers of depth > x, where chapter has depth 0 . Use a *, as in \\section*{title}, to not number a particular item|these items will also not appear in the table of contents.  \nText environments  \n\\begin{comment} Comment (not printed) . Requires verbatim  \npackage.\\begin{quote} Indented quotation block.  \n\\begin{quotation}Like quote with indented paragraphs.\\begin{verse} Quotation block for verse.  \nLists  \n\\begin{enumerate} Numbered list.  \n\\begin{itemize} Bulleted list.  \n\\begin{description}Description list.  \n\\item text Add an item.  \n\\item[x ] text Use x instead of normal bullet or number.  \nRequired for descriptions.  \nReferences  \n\\label{marker } Set a marker for cross-reference, often of the form \\label{sec:item} .  \n\\ref{marker } Give section/body number of marker.\\pageref{marker } Give page number of marker.  \n\\footnote{text } Print footnote at bottom of page.  \nFloating bodies  \n\\begin{table}[place] Add numbered table.  \n\\begin{figure}[place] Add numbered 􀀌gure.  \n\\begin{equation}[place] Add numbered equation.  \n\\caption{text } Caption for the body.  \nThe place is a list valid placements for the body. t=top, h=here, b=bottom, p=separate page, ! =place even if ugly. Captions and label markers should be within the environment.  \nText properties  \nFont face  \nCommand Declaration E􀀋ect  \n\\textrm{text } {\\rmfamily text } Roman family  \n\\textsf{text } {\\sffamily text } Sans serif family  \n\\texttt{text } {\\ttfamily text } Typewriter family  \n\\textmd{text } {\\mdseries text } Medium series  \n\\textbf{text } {\\bfseries text } Bold series  \n\\textup{text } {\\upshape text } Upright shape  \n\\textit{text } {\\itshape text } Italic shape  \n\\textsl{text } {\\slshape text } Slanted shape  \n\\textsc{text } {\\scshape text } Small Caps shape  \n\\emph{text } {\\em text } Emphasized  \n\\textnormal{text }{\\normalfont text }Document font \\underline{text }  Underline  \nThe command (tttt) form handles spacing better than the declaration (tttt) form.  \nFont size  \n\\tiny tiny  \n\\scriptsize scriptsize \\footnotesize footnotesize  \n\\small small  \n\\normalsize normalsize \\large large  \n\\Large Large  \n\\LARGE LARGE \\huge huge  \n\\Huge Huge  \nThese are declarations and should be used in the form {\\small. . . }, or without braces to a􀀋ect the entire document.  \nVerbatim text  \n\\begin{verbatim} Verbatim environment.  \n\\begin{verbatim*} Spaces are shown as .  \n\\verb! text! Text between the delimiting characters (in  \nthis case ` ! ') is verbatim.  \nJusti􀀌cation","cbCaikHzdZjgRw3U","https://ap.wps.com/l/cbCaikHzdZjgRw3U","pdf",299355,"English","# Document setup\n## Document classes and options\n# Packages and macros\n## Common packages\n# Titles, structure, and navigation\n## Title/author/date and \\maketitle\n## Table of contents and pagestyle\n## Sections, numbering depth, and starred forms\n# Environments and content blocks\n## Text environments\n## Lists and references\n## Floating bodies: table, figure, equation\n# Typography and formatting\n## Font faces and sizes\n## Verbatim, justification, and spacing","[{\"question\":\"Which LaTeX commands start and end a document?\",\"answer\":\"Use \\\\documentclass{class} at the very beginning. Start the contents with \\\\begin{document} and finish with \\\\end{document}.\"},{\"question\":\"How do you set the document title, author, and date in LaTeX?\",\"answer\":\"Use \\\\title{text}, \\\\author{text}, and \\\\date{text}. Place these before \\\\begin{document}, and call \\\\maketitle at the top of the document.\"},{\"question\":\"How can you control section numbering and suppress specific heading depths?\",\"answer\":\"Set \\\\setcounter{secnumdepth}{x} to suppress heading numbers deeper than x. Also use starred forms like \\\\section*{title} to avoid numbering and exclude the item from the table of contents.\"}]","LATEX 2\" Cheat Sheet - Reference - Document structure and formatting commands | PDF",1791923118]