Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

ChemistryFunctions

Guides

  • Wolfram Chemistry Functions

Symbols

  • AlkaneName
  • AlkaneQ
  • AtomSelector3D
  • AtomSelector
  • BohrModelPlot
  • ChemicalFormulaQ
  • ChemicalReactionQ
  • ConstitutionalIsomersQ
  • DiastereomersQ
  • EmbeddedMoleculeQ
  • EmpiricalFormula
  • EmptyMoleculeQ
  • EnantiomersQ
  • EpimersQ
  • FormatMoleculesAsGraphics
  • HydrocarbonQ
  • ImportComputationalChemistryData
  • IonCounts
  • MoleculeDelete
  • MoleculeGridPlot3D
  • MoleculeGridPlot
  • MoleculeJoin
  • MoleculeManipulate3D
  • MoleculeManipulate
  • MoleculeMirrorPlot3D
  • MoleculePatternQ
  • MoleculePlotOptions
  • MoleculeScaffold
  • MoleculeSubstructureMatches
  • PatternReactionQ
  • PeriodicTablePlot
  • RandomAlkane
  • RandomMolecule
  • RingMoleculeQ
  • RingPattern
  • SmilesPlot
  • StereoisomersQ
WolframChemistry`ChemistryFunctions`
FormatMoleculesAsGraphics
​
FormatMoleculesAsGraphics
[]
changes the default formatting for
Molecule
objects so they typeset as their 2D structure diagram for the remainder of the kernel session.
​
​
FormatMoleculesAsGraphics
["Persistent"]
makes the change in formatting persistent after quitting the application.
​
​
FormatMoleculesAsGraphics
[
False
]
resets the Molecule formatting to the system default.
​
Details and Options

Examples  
(2)
Basic Examples  
(2)
By default a molecule formats as a summary box:
In[1]:=
m=Molecule["2-(2-Carboxyethyl)-5-ethyl-4-methylfuran-3-carboxylic acid"]
Out[1]=
Molecule
Formula:
C
11
H
14
O
5
Atoms: 30 Bonds: 30

Change the formatting to graphics:
In[2]:=
FormatMoleculesAsGraphics
[];​​m
Out[2]=
Use the formatted molecule as input:
In[3]:=
AtomCount

Out[3]=
30
Reset the formatting:
In[4]:=
FormatMoleculesAsGraphics
[False]
Out[4]=
False
​
Set molecules to format as graphics persistently and restart the kernel:
In[1]:=
FormatMoleculesAsGraphics
["Persistent"]​​Quit[]
Out[1]=
True
Molecules now format graphically:
In[2]:=
Molecule["water"]
Out[2]=
In[3]:=
Head[%]
Out[3]=
Molecule
Reset the molecule formatting:
In[4]:=
FormatMoleculesAsGraphics
[False]
Out[4]=
False
SeeAlso
Molecule
 
▪
MoleculePlot
RelatedGuides
▪
Wolfram Chemistry Functions
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com