[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-686737-105":59,"doc-detail-686737-en":130,"doc-similar-686737":149},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","ordered-lists-in-latex-using-the-enumerate-environment-modifying-the-numbering-styles-placing-some-fixed-test-in-a-nested-list-including-section-number-in-list-number","Ordered lists in LATEX using the enumerate environment - Modifying the numbering styles - Placing some fixed test in a nested list - Including section number in list number","","Guide to creating and managing ordered lists in LaTeX using the enumerate environment, including how each item is labeled and cross-referenced with label and ref commands. Explains default numbering schemes across up to four nesting depths and how to interpret referencing styles. Demonstrates using the deepest labels within narrative text, and shows how to customize numbering by redefining labelenumi, theenum counters, and redeploying list-depth formatting with renewcommand.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/ordered-lists-in-latex-using-the-enumerate-environment-modifying-the-numbering-styles-placing-some-fixed-test-in-a-nested-list-including-section-number-in-list-number/686737/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/ordered-lists-in-latex-using-the-enumerate-environment-modifying-the-numbering-styles-placing-some-fixed-test-in-a-nested-list-including-section-number-in-list-number/686737.png","ImageObject",300,407,{"name":92,"@type":93},"AfterMidnight","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-12","2026-11-07",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"How are ordered list items generated inside the LaTeX enumerate environment?","Question",{"text":112,"@type":113},"Ordered lists are generated using the control sequence \\item for each entry within the enumerate environment.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How can you create and use cross-references for list items?",{"text":117,"@type":113},"Assign a label to an item in LaTeX with \\label{...}, then reference it elsewhere using the \\ref{...} command with the same label.",{"name":119,"@type":110,"acceptedAnswer":120},"How do you modify numbering styles for different nesting depths in LaTeX lists?",{"text":121,"@type":113},"Redefine the depth-specific label variables (e.g., labelenumi) using \\renewcommand{...}{style}, choosing from alphabetic, arabic, or Roman numeral formats.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},686737,1794062394,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":52,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":8,"preview_urls":144},962090896061,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Ordered lists in LATEX using the enumerate environment  \nJorge A. R. Duran [jorge.a.r.duran@gmail.com](jorge.a.r.duran@gmail.com)  \nSamuel G. R. Duran  \n[samuelbrasil96@hotmail.com.br](samuelbrasil96@hotmail.com.br)  \nMay 15, 2020  \nContents  \n1 Ordered Lists using the enumerate environment 1  \n2 Modifying the numbering styles 3  \n3 Placing some ✜xed test in a nested list 8  \n4 Including section number in list number 9  \nReferences 9  \n1 Ordered Lists using the enumerate environment  \nUnder the \\enumerate environment, ordered lists are generated using the control sequence \\item in each entry. Each enumerated item can be labeled and referred through the \\label{ } and \\ref{ } commands, respectively. The default numbering styles in the nested four listings under the enumerate environment are:  \n❼ 1, 2, : : : 4 for the ✜rst level (arabic numbers)  \n❼ (a), (b) : : : (d) for the second level (lowercase letters)  \n❼ i, ii, : : : iv for the third level (lowercase Roman numerals)  \n❼ A, B : : : C for the fourth level (uppercase letters)  \nwhile their referring styles are:  \n❼ 1, 2, : : : 4 for the ✜rst level  \n❼ 1(a), 1 (b) : : : 1(d) for the second level  \n❼ 1(a)i, 1(a)ii, : : : 1(a)iv for the third level  \n❼ 1(a)iA, 1(a)iB : : : 1(a)iC for the fourth level  \nWe will use as an example of nested list up to the fourth depth level, a list consisting of countries, states, regions and cities from our continent. The LATEX code and its output are shown side by side with the help of package fancyvrb-ex [2] . This will be done with all the examples in this article.  \n1. Brazil  \n(a) Rio de Janeiro  \n(b) Sao Paulo  \n(c) Parana  \ni. Oeste Par.  \nii. Centro-Sul Par.  \nA. Curitiba  \nB. S. J. dos Pinhais  \niii. Centro-Sul Par.  \niv. Sudoeste Par.  \n(d) Bahia  \n(e) Mato Grosso do Sul  \n2. Cuba  \n(a) Villa Clara  \n(b) Havana  \n3. Argentina  \n1 \\begin{enumerate}  \n2 \\item Brazil \\label{it:br}  \n3 \\begin{enumerate}  \n4 \\item Rio de Janeiro \\label{it:rj}  \n5 \\item Sao Paulo \\label{it:sp}  \n6 \\item Parana \\label{it:pr}  \n7 \\begin{enumerate}  \n8 \\item Oeste Par . \\label{it:oest_par}  \n9 \\item Centro-Sul Par . \\label{it:met_cur}  \n10 \\begin{enumerate}  \n11 \\item Curitiba \\label{it:cur}  \n12 \\item S . J . dos Pinhais \\label{it:sjp}  \n13 \\end{enumerate}  \n14 \\item Centro-Sul Par . \\label{it:csp}  \n15 \\item Sudoeste Par .  \n16 \\end{enumerate}  \n17 \\item Bahia  \n18 \\item Mato Grosso do Sul  \n19 \\end{enumerate}  \n20 \\item Cuba \\label{it:cub}  \n21 \\begin{enumerate}  \n22 \\item Villa Clara  \n23 \\item Havana  \n24 \\end{enumerate}  \n25 \\item Argentina  \n26 \\end{enumerate}  \nIf at any part of the current document we need to refer to the item S . J . dos Pinhais, for example, which is at the deepest level of our list (the fourth), we can invoke the \\ref{} command using the corresponding label we associated to this item in LATEX code, in this  \ncase {it:sjp} , as the command✬s argument. The same logical is applied to indicate the region, state and country where S . J . dos Pinhais is located as shown below:  \nThe city 1(c)iiB is located at the region of 1(c)ii in the state 1c that belong to the country 1.  \n1 The city \\ref{it:sjp} is located  \n2 at the region of \\ref{it:met_cur}  \n3 in the state \\ref{it:pr} that belong  \n4 to the country \\ref{it:br} .  \n2 Modifying the numbering styles  \nIn LATEX lists each level has an associated \\labelenumXX and \\theenumXX variables, where XX = i : : : iv point for the level. The enumXX is the counter that increase its value at each call to the \\item inside of the enumerate environment. Let✬s check the current values of these variables at level one:  \n❼ \\theenumi = 3  \n❼ \\labelenumi = 3 .  \n1 \\begin{itemize}  \n2 \\item \\verb!\\theenumi! = \\theenumi  \n3 \\item \\verb!\\labelenumi! =  \n4 \\labelenumi  \n5 \\end{itemize}  \nSince the default numbering styles for the ✜rst level are arabic numbers, the ✜rst time that LATEX code found an \\item inside the enumerate environment the counter enumi is set to the value 1. But this happens three times at t","cbCaieH4Gtugf5lu","https://ap.wps.com/l/cbCaieH4Gtugf5lu","pdf",154768,"English","# Ordered Lists using the enumerate environment\n# Modifying the numbering styles\n# Placing some fixed test in a nested list\n# Including section number in list number\n# References","[{\"question\":\"How are ordered list items generated inside the LaTeX enumerate environment?\",\"answer\":\"Ordered lists are generated using the control sequence \\\\item for each entry within the enumerate environment.\"},{\"question\":\"How can you create and use cross-references for list items?\",\"answer\":\"Assign a label to an item in LaTeX with \\\\label{...}, then reference it elsewhere using the \\\\ref{...} command with the same label.\"},{\"question\":\"How do you modify numbering styles for different nesting depths in LaTeX lists?\",\"answer\":\"Redefine the depth-specific label variables (e.g., labelenumi) using \\\\renewcommand{...}{style}, choosing from alphabetic, arabic, or Roman numeral formats.\"}]","Ordered lists in LATEX using the enumerate environment - Modifying the numbering styles - Placing some fixed test in a nested list - Including section number in list number | PDF",25,[145],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/9c9dd4b17c7a6bd77e74f5f8c1d6ac9b.webp",983,1390,{"list":150,"token":66},[151,156,162,168,174,180,186,192,198,204],{"doc_id":152,"doc_title":153,"file_type":137,"home_preview_img_url":154,"slug":155,"view_count":24,"category_name":30,"create_tm":129},686738,"Customizing lists - enumitem package - Version 3.11","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000580577/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222339&Signature=6ESpvqw047mBXMAmPj5c050l1Xw%3D","customizing-lists-enumitem-package-version-311",{"doc_id":157,"doc_title":158,"file_type":137,"home_preview_img_url":159,"slug":160,"view_count":24,"category_name":30,"create_tm":161},689641,"DEFAULT KEYBOARD SHORTCUTS - Revu Keyboard Shortcuts Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001362313/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222339&Signature=c1p4rrOwavzmzprsZ8PHI4fThaI%3D","default-keyboard-shortcuts-revu-keyboard-shortcuts-overview",1794118368,{"doc_id":163,"doc_title":164,"file_type":137,"home_preview_img_url":165,"slug":166,"view_count":39,"category_name":30,"create_tm":167},685840,"Writer Guide 7.5 - Chapter 12 - Lists","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000223091/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222339&Signature=p3z1EuC%2FpcXM5W2IF95k5PGQKd0%3D","writer-guide-75-chapter-12-lists",1794019257,{"doc_id":169,"doc_title":170,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":19,"category_name":30,"create_tm":173},697998,"Markdown cheat sheet - guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010155625/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222339&Signature=H86wzCXWU%2FwuIzQyNjZQynB6358%3D","markdown-cheat-sheet-guide",1794446932,{"doc_id":175,"doc_title":176,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":44,"category_name":30,"create_tm":179},656624,"Writing a Patent Application in LATEX and LYX","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974796302/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222339&Signature=m0jKD1WTQx00N90czjuH5s9D5TE%3D","writing-a-patent-application-in-latex-and-lyx",1792969684,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":24,"category_name":30,"create_tm":185},685813,"HTML LIISTS - HTML Lists","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000215939/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222339&Signature=0c0O8YELQKTuO8NsiWvVJFNU9Ss%3D","html-liists-html-lists",1794018862,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":24,"category_name":30,"create_tm":191},663186,"tikz-network - Version 1.1 - User Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229981599117/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222339&Signature=JZ4kUUIG5vU0MmM2px0jeyqYZ0s%3D","tikz-network-version-11-user-manual",1793225672,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":24,"category_name":30,"create_tm":197},671830,"chessboard - A package to print chessboards - manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988782751/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222339&Signature=UoWPRBQal6NzjZuT4bgiEiTGiYk%3D","chessboard-a-package-to-print-chessboards-manual",1793581240,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":19,"category_name":30,"create_tm":203},680741,"DVP-PLC Application Manual - Chapter 1 Working Principles of PLC Ladder Diagram","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998022274/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222339&Signature=2KrUOxUM2AfQDbp9lnqfT1LEvWI%3D","dvp-plc-application-manual-chapter-1-working-principles-of-plc-ladder-diagram",1793920980,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":30,"create_tm":210},346803,"How to Change Page Numbers within document","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910961805/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796222339&Signature=ZKwi99pjCEXi7kRwfxCn%2FYoLImc%3D","how-to-change-page-numbers-within-document",17,1790062886]