[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-654451-105":59,"doc-detail-654451-en":130,"doc-similar-654451":162},{"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","the-practex-journal-chemical-structures-with-ppchtex-a-simple-introduction","The PracTEX Journal - Chemical structures with ppchTEX - A simple introduction","","The PracTEX Journal article explains how to include chemical formulas and draw chemical structures in TEX documents using the ppchTEX macro package. It positions ppchTEX within TEX/ConTEXt and LATEX workflows, contrasts relevant positioning and line-drawing backends across LATEX, ConTEXt MkII, and ConTEXt MkIV under LuaTEX, and describes why performance and flexibility improve with the native core re-implementation. The article then demonstrates a first example of drawing a simple molecule and highlights practical syntax usage.",{"@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/the-practex-journal-chemical-structures-with-ppchtex-a-simple-introduction/654451/",{"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/the-practex-journal-chemical-structures-with-ppchtex-a-simple-introduction/654451.png","ImageObject",300,407,{"name":92,"@type":93},"eBook King","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-25","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":52},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does ppchTEX solve in TEX documents?","Question",{"text":112,"@type":113},"It enables chemical formulas and chemical structures to be included and drawn directly in a TEX document using macro support.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How do positioning and line drawing differ between LaTeX and ConTeXt?",{"text":117,"@type":113},"Under LaTeX, positioning uses PICTEX and line drawing uses pstricks; under ConTeXt MkII, positioning uses PICTEX and line drawing uses METAPOST; under ConTeXt MkIV with LuaTEX, ppchTEX is re-implemented with native core macros and both are performed using METAPOST.",{"name":119,"@type":110,"acceptedAnswer":120},"What is shown in the first example section?",{"text":121,"@type":113},"It introduces loading the required macro definitions and demonstrates drawing a simple chemical structure, including a description of the resulting rendered output.","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},654451,1793051348,{"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":52,"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":143,"read_time":144,"preview_page_count":19,"preview_urls":145},962088006270,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","The PracTEX Journal, 2010, No.1 Article revision 2010/05/23  \nChemical structures with ppchTEX Alan Braslau  \nEmail [alan.braslau@cea.fr](alan.braslau@cea.fr)  \nAddress Service de Physique de l’État Condensé  \nCEA/Saclay  \nOrme des Merisiers  \n91191 Gif-sur-Yvette cedex FRANCE  \nAbstract Chemical formulas and chemical structures can be included in a LATEX or a ConTEXt document easily using the ppchTEX macros. We present here a simple introduction to their use. Additionally, a more extensive tutorial is available in the documentation of the package.  \n1 Introduction  \nIn a scientiﬁc/academic environment, one may ﬁnd the need to represent chemical formulas and draw chemical structures. This can be easily reached and integrated directly in a document by taking advantage of the beauty of TEX output and its logical construction!  \nThere are many commercial applications that are extensively used by chemists to produce graphics that can be included in a TEX document using standard external graphics macros. CTAN contains a number of free macro packages aimed at writing chemical formulas, drawing reaction arrows, numbering reactions and even drawing structures such as bpchem, chemarrow, chemcompounds, chemcono, chemsym, mhchem, and others1. One of the most sophisticated packages is XyMTEX written by Shinsako Fujita, available from the XyMTeX homepage.  \nWhereas XyMTEX appears to be a great package, I was never able to successfully learn the complexity of it. Thus, this paper talks about a simpler yet very powerful macro package,  \n1. These macro packages are available in TEX Live under many distributions in the texlive-science package.  \nppchTEX, that was developed for ConTEXt and may be successfully used under LATEX as well 2.  \nThe goal here is not to present a tutorial, much less to provide a complete exposition of the possibilities of ppchTEX. Nevertheless, this article aims only at giving a small taste of how you can easily draw chemical structures using TEX.  \nA few details: Under LATEX, positioning is performed by using PICTEX and line drawing using pstricks; Under ConTEXt MkII, positioning is performed by using PICTEX and line drawing using METAPOST; Under ConTEXt MkIV under LuaTEX, the internals of ppchTEX have been re-written to be included natively as core macros and no longer relies on PICTEX, and both positioning and drawing are performed using METAPOST. This re-implementation has lead to a considerable improvement in the performance and ﬂexibility of the macro programming, so I expect a continued development of its possibilities.  \nResources  \n− A more complete manual (currently being updated and re-written) can be found at:  \nppchTeX manual  \n− A presentation with many ppchTEX examples can be found at:  \nppchTeX examples  \n− Other resources can be found on the web, such as the ConTEXt wiki:  \nConTeXt Chemistry wiki  \n− Finally, a very nice set of examples of drawing amino-acids:  \ndrawing organic molecules in laTeX II-amino acids  \n2 Drawing a simple molecule  \n2.1 A ﬁrst example using LATEX2e  \nLet’s draw a simple chemical structure. First, you need to load the following macro deﬁnitions 3 :  \n2. Indeed, it was through my learning to use ppchTEX under LATEX that I was ﬁrst introduced to ConTEXt!  \n3. These macros are available in any ConTEXt distribution, such as from TEX Live.  \n\\documentclass{article}  \n\\usepackage{m-ch-en} % English interface % m-ch-nl for a Dutch interface .  \n% m-ch-de for a German interface .  \nThe PICTEX macros are loaded automatically (via \\usepackage{m-pictex}) if not called previously.  \nWe conclude the example above by drawing the following simple molecule below:  \n\\documentclass{article}\\usepackage{m-ch-en}\\begin{document}\\startchemical  \n\\chemical [ONE,Z0357,SB1357,MOV1,Z037,SB137,MOV1,Z01,SB1]  \n[C,H,H,H,C,H,H,O,H]  \n\\stopchemical  \n\\end{document}  \nH H  \nYielding C2 H5 OH: H   C   C   O   H which may make your head turn!  \nH H  \nThis code looks pretty complicated at ﬁrst glance. But once ","cbCaimKUxmRhbo0c","https://ap.wps.com/l/cbCaimKUxmRhbo0c","pdf",270219,"English","# Introduction\n## Drawing a simple molecule\n### A first example using LaTeX2e\n### A first example using ConTeXt","[{\"question\":\"What problem does ppchTEX solve in TEX documents?\",\"answer\":\"It enables chemical formulas and chemical structures to be included and drawn directly in a TEX document using macro support.\"},{\"question\":\"How do positioning and line drawing differ between LaTeX and ConTeXt?\",\"answer\":\"Under LaTeX, positioning uses PICTEX and line drawing uses pstricks; under ConTeXt MkII, positioning uses PICTEX and line drawing uses METAPOST; under ConTeXt MkIV with LuaTEX, ppchTEX is re-implemented with native core macros and both are performed using METAPOST.\"},{\"question\":\"What is shown in the first example section?\",\"answer\":\"It introduces loading the required macro definitions and demonstrates drawing a simple chemical structure, including a description of the resulting rendered output.\"}]","The PracTEX Journal - Chemical structures with ppchTEX - A simple introduction | PDF",1792918904,25,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/8f996767cfa9f77b88d52db8abc30123.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/577b17809cd0acff7b5c614c2ce6b230.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/dbd3e78049af4c8f16758348dd14f127.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/13ed51907556bc34d708201f669a4797.webp",980,1268,{"list":163,"token":66},[164,171,177,184,191,197,203,210,216,222],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":30,"create_tm":170},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=1796157779&Signature=blsqQw7Yex4Ar1dyisRcZ%2FJoGqM%3D","a-markdown-interpreter-for-tex-version-3162",13,1792981474,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":52,"category_name":30,"create_tm":176},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=1796157779&Signature=ZWKxgA0wlTrvSx964rvS9yLbqUk%3D","chemfig-a-tex-package-for-drawing-molecules",1792912020,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":30,"create_tm":183},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=1796157779&Signature=3DjAk%2BNcWStYRTec6LPTIOw%2BFew%3D","the-computer-science-of-tex-and-latex-computer-science-course-594-fall-2004",14,1789975218,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":189,"category_name":30,"create_tm":190},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=1796157779&Signature=oNRQUWLlchP6T9whx%2FGYbUlFNcM%3D","xy-pic-users-guide-version-389-october-6-2013",11,1792978330,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":44,"category_name":30,"create_tm":196},654453,"Typesetting Chemical Equations using LATEX - TEX/LATEX code for components of organic chemical structure diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974114702/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796157779&Signature=osq9gQwvqSJ5iqFnR18FtRlfVtg%3D","typesetting-chemical-equations-using-latex-texlatex-code-for-components-of-organic-chemical-structure-diagrams",1792918911,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":24,"category_name":30,"create_tm":202},657587,"Pandoc for TeXnicians - Presentation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975592280/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796157779&Signature=7a4UCTR2V%2FztubAIF00z7O3jUbk%3D","pandoc-for-texnicians-presentation",1792983945,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":208,"category_name":30,"create_tm":209},657557,"Data Structure Diagrams in Typst - CS240E S25 Solara Lin","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975559130/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796157779&Signature=eN9%2FqvioIjtFlyy9rHwmrhg3u%2F8%3D","data-structure-diagrams-in-typst-cs240e-s25-solara-lin",12,1792982817,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":24,"category_name":30,"create_tm":215},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=1796157779&Signature=mG64VusYiDD%2FcMfsuKZI0XaSi5c%3D","the-knitting-package-written-guide-for-latextex-knitting-chart-fonts",1793553230,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":29,"category_name":30,"create_tm":221},650808,"TIKZORBILTAL Package - Molecular Diagrams and Atomic Orbitals (s, p, d) - Command Syntax and Examples","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229973340599/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796157779&Signature=AUdOx8J6fkwrpPq3AHq41FSNeag%3D","tikzorbiltal-package-molecular-diagrams-and-atomic-orbitals-s-p-d-command-syntax-and-examples",1792846132,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":14,"category_name":30,"create_tm":227},698563,"Fontname - Introduction - Naming scheme for external TEX font filenames","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010341037/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796157779&Signature=T7ePbxAdVNnvL5dInRyRUgOzWPU%3D","fontname-introduction-naming-scheme-for-external-tex-font-filenames",1794452779]