[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-654453-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-654453-en":130,"doc-similar-654453":167},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","typesetting-chemical-equations-using-latex-texlatex-code-for-components-of-organic-chemical-structure-diagrams","Typesetting Chemical Equations using LATEX - TEX/LATEX code for components of organic chemical structure diagrams","","The document explains how to typeset chemical structure diagrams and chemical equations with the TEX/LATEX system, focusing on representing molecular structures in two dimensions. It introduces common structural formula conventions such as dash (including single, double, and triple bonds), condensed formulas, and ring diagrams with implied carbon and hydrogen. It further describes how such representations can be combined within a single diagram and sets out how LATEX is used to position bond lines and condensed fragments. It also notes that two-dimensional binding rules are not strict and discusses stereochemical depiction using dashed lines and wedges.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/typesetting-chemical-equations-using-latex-texlatex-code-for-components-of-organic-chemical-structure-diagrams/654453/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/typesetting-chemical-equations-using-latex-texlatex-code-for-components-of-organic-chemical-structure-diagrams/654453.png","ImageObject",300,407,{"name":42,"@type":43},"supergirl","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-25","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",9,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What three main kinds of chemical structure representations does the document cover?","Question",{"text":63,"@type":64},"It covers dash structural formulas (using dashes for bonds), condensed structural formulas (writing bonded atoms without dashes), and ring diagrams where carbon and hydrogen at corners/open ends are implied.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How are double and triple bonds indicated in dash structural formulas?",{"text":68,"@type":64},"Double bonds are represented by two dashes (=) and triple bonds by three dashes (≡).",{"name":70,"@type":61,"acceptedAnswer":71},"How does the document suggest indicating stereochemistry in a two-dimensional representation?",{"text":72,"@type":64},"It uses stereochemical cues such as a dashed line and a wedge instead of a full bond line to indicate that the bond extends below or above the plane.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},654453,1793084198,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,115,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":113,"slug":114},8,"Research & Report",30,"research-report",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":97,"preview_urls":146},962088121634,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Typesetting Chemical Equations using LATEX  \nContents  \n1 TEX/LATEX code for components of organic chemical structure diagrams 2  \n1.1 Conventions for drawing the diagrams .......................... 2  \n1.2 Bond line drawing and positioning ............................ 3  \n1.2.1 Review of TEX/LATEX facilities for line-drawing ................. 3  \n1.2.2 Bonds in structural formulas written on one line ................ 5  \n1.2.3 Bonds in acyclic structures with vertical branches ............... 5  \n1.2.4 Bonds in Structures Containing Slanted Bond Lines .............. 6  \n1.3 Atomic symbols and condensed structural fragments .................. 8  \n2 Macros for typesetting chemical structure fragments 11  \n2.1 General organization of a structure macro ........................ 11  \n2.1.1 Box constructions with global variables ..................... 12  \n2.1.2 Use of TEX’s conditional facility ......................... 12  \n2.2 Use of structure macros .................................. 14  \n2.2.1 Invoking the structure macros ........................... 14  \n2.2.2 Displaying macro-generated diagrams within a document ........... 15  \n3 The complete system of macros—its design and its use 18  \n3.1 General design criteria ................................... 18  \n3.2 Macros of the system .................................... 19  \n3.2.1 Macros for acyclic fragments ........................... 19  \n3.2.2 Macros for alicyclic ring systems ......................... 23  \n3.2.3 Macros for heterocyclic ring systems ....................... 29  \n3.2.4 General Utility Macros ............................... 34  \n3.3 Common requirements for the use of the system ..................... 37  \nA Slopes of lines drawn with LATEX 39  \nB Coordinates of points of attachment 41  \nChapter 1  \nTEX/LATEX code for components of organic chemical structure diagrams  \n1.1 Conventions for drawing the diagrams  \nThe chemical structure of a molecule is de􀀌ned by the spatial arrangement of the atoms and the bonding between them. Chemists use several standard methods for representing the structures two-dimensionally by diagrams called structural formulas; and this thesis will develop mechanisms for printing such diagrams using the TEX/LATEX system.  \nA very common structure representation, sometimes called a dash structural formula, uses the element symbols for the atoms and a dash for each covalent bond in the compound. Thus the dash represents the pair of shared electrons that constitutes the bond. Two dashes (=) represent a double bond and three dashes (≡) a triple bond.—It is usually neither necessary nor practical to represent each bond in a molecule explicitly by a dash. Some molecules and some bonds are so common that a complete dash formula would not be used except at a very introductory level of presenting chemical information. A condensed structural formula is one alternative. It does not contain dashes but uses the convention that atoms bonded to a carbon are written immediately after that carbon and otherwise atoms are written from left to right in the order in which they occur in the real structure. The following two structural formulas are a dash formula and a condensed formula, respectively, for the same compound, ethanol.  \nH H  \nH  C  C  O—H  \nH H  \nCH3 CH2 OH  \nMultiple bonds are usually not implied unless a very common group, such as the cyano group, is shown. It can be found as −C≡N or simply as −CN.  \nAnother alternative to a complete dash formula is a diagram where the symbols for carbon and for hydrogen on carbon are not shown. Each corner and each open-ended bond in these diagrams implies a carbon atom with as many hydrogen atoms bonded to it as there are free valences. This  \nrepresentation is the customary one for ring structures (structures with a closed chain of atoms) . Thus, the following two diagrams both represent the compound cyclopropane.  \nH H  \nH  C C  H  \n❅ 􀀀  \nC  \n❚❚􀀔􀀔  \nThe three di􀀋erent kinds of structure representation can be ","cbCaiow19sASj3D3","https://ap.wps.com/l/cbCaiow19sASj3D3","pdf",242317,43,"English","# TEX/LATEX code for components of organic chemical structure diagrams\n## Conventions for drawing the diagrams\n## Bond line drawing and positioning\n### Review of TEX/LATEX facilities for line-drawing\n## Atomic symbols and condensed structural fragments\n# Macros for typesetting chemical structure fragments\n## General organization of a structure macro\n## Use of structure macros\n# The complete system of macros—its design and its use\n## General design criteria\n## Common requirements for the use of the system\n# Appendices\n## Slopes of lines drawn with LATEX\n## Coordinates of points of attachment","[{\"question\":\"What three main kinds of chemical structure representations does the document cover?\",\"answer\":\"It covers dash structural formulas (using dashes for bonds), condensed structural formulas (writing bonded atoms without dashes), and ring diagrams where carbon and hydrogen at corners/open ends are implied.\"},{\"question\":\"How are double and triple bonds indicated in dash structural formulas?\",\"answer\":\"Double bonds are represented by two dashes (=) and triple bonds by three dashes (≡).\"},{\"question\":\"How does the document suggest indicating stereochemistry in a two-dimensional representation?\",\"answer\":\"It uses stereochemical cues such as a dashed line and a wedge instead of a full bond line to indicate that the bond extends below or above the plane.\"}]","Typesetting Chemical Equations using LATEX - TEX/LATEX code for components of organic chemical structure diagrams | PDF",1792918911,108,[147,151,155,159,163],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/4ed4940e16c84b1faa69e937ebefb7bb.webp",983,1272,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/cb0065517386a29c8b3b7e9b13a0ac53.webp",982,1270,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/1f7a35b6b820b6c1d2b8f799f2119945.webp",981,1269,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/45ef8da8803859ac65fc48ea60560069.webp",980,1268,{"page_no":97,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/796916d505a949aa422d1f9e7efb822d.webp",979,1267,{"list":168,"token":11},[169,176,182,188,195,202,208,215,221,227],{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":29,"create_tm":175},657387,"XY-pic User's Guide - Version 3.8.9 - October 6, 2013","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974856561/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=W9%2FbQIFRZ5ySVHSEGCPtOdc1Sjw%3D","xy-pic-users-guide-version-389-october-6-2013",11,1792978330,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":106,"category_name":29,"create_tm":181},669402,"THE KNITTING PACKAGE - written guide for LaTeX/TEX knitting chart fonts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988612059/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=MY5hMKk5sLt1mbQhbOmWQebnj5Q%3D","the-knitting-package-written-guide-for-latextex-knitting-chart-fonts",1793553230,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":123,"category_name":29,"create_tm":187},654451,"The PracTEX Journal - Chemical structures with ppchTEX - A simple introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974389320/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=Mj1LYO%2FtGv8Y%2B4VMNmaQCsqd1YQ%3D","the-practex-journal-chemical-structures-with-ppchtex-a-simple-introduction",1792918904,{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":193,"category_name":29,"create_tm":194},657499,"A Markdown Interpreter for TEX - Version 3.16.2","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975517355/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=aDfEigJGiSQDocp%2Fxn2Dh7b%2BPOo%3D","a-markdown-interpreter-for-tex-version-3162",13,1792981474,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":200,"category_name":29,"create_tm":201},326734,"THE COMPUTER SCIENCE OF TEX AND LATEX - COMPUTER SCIENCE COURSE 594, FALL 2004","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909074875/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=YKWrFDT2fvae%2BGxeRTOVjHPTHM8%3D","the-computer-science-of-tex-and-latex-computer-science-course-594-fall-2004",14,1789975218,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":97,"category_name":29,"create_tm":207},686255,"The Comprehensive LATEX Symbol List - document usage","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000474972/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=QPK%2FubIc43vqk0U3Ldkrd9PS9WU%3D","the-comprehensive-latex-symbol-list-document-usage",1794034019,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":213,"category_name":29,"create_tm":214},139780,"The Comprehensive LATEX Symbol List - A Reference for 25731 Symbols","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229864982774/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=ImtX%2FVlOf1unRymiS%2B4E192Gt10%3D","the-comprehensive-latex-symbol-list-a-reference-for-25731-symbols",16,1787562348,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":123,"category_name":29,"create_tm":220},657500,"CS&SS 569 Visualizing Data and Models - Lab 2 - Intro to LATEX with R Markdown and Overleaf","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975094700/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=%2F9XXhilZC9kLvyTfcfbTnM%2Fs420%3D","csss-569-visualizing-data-and-models-lab-2-intro-to-latex-with-r-markdown-and-overleaf",1792981475,{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":123,"category_name":29,"create_tm":226},654280,"chemfig - A TEX package for drawing molecules","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974077733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=wRslFuKqROloRlzRp3xVje%2BzIP8%3D","chemfig-a-tex-package-for-drawing-molecules",1792912020,{"doc_id":228,"doc_title":229,"file_type":137,"home_preview_img_url":230,"slug":231,"view_count":174,"category_name":29,"create_tm":232},656813,"Feynman Diagrams for Beginners - Notes for the Exercises","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975330688/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796234519&Signature=6xOrWAw3c1JW5Iz0MPfCTtNP2sw%3D","feynman-diagrams-for-beginners-notes-for-the-exercises",1792971073]