Double Bond in LaTeX (\text{C}=\text{C})

C=C\text{C}=\text{C}
LaTeX command
\text{C}=\text{C}
Package
Add to your preamble:\usepackage{amsmath}
Mode
Text and math mode

Where it is used

Carbon-carbon double bond, one sigma and one pi bond, characteristic of alkenes such as ethene.

Because = is a relation in math mode, TeX inserts thick spaces on both sides, which looks like an equation rather than a bond. Bracing it, \text{C}{=}\text{C}, turns it into an ordinary symbol and pulls the atoms together. Alkenes are written like \mathrm{H_2C{=}CH_2}. The double bond is shorter and stronger than a single bond and restricts rotation, giving cis-trans isomers. Make sure readers cannot mistake the bond for an equals sign in a reaction line by keeping it tight against the atoms.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

H2C=CH2→H3C−CH3\text{H}_2\text{C}{=}\text{CH}_2 \to \text{H}_3\text{C}{-}\text{CH}_3
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Double Bond: $\text{C}=\text{C}$

\[ \text{H}_2\text{C}{=}\text{CH}_2 \to \text{H}_3\text{C}{-}\text{CH}_3 \]
\end{document}

Related symbols

All الكيمياء →

Frequently asked questions

How do I write Double Bond in LaTeX?
Type \text{C}=\text{C} in math mode, for example $\text{H}_2\text{C}{=}\text{CH}_2 \to \text{H}_3\text{C}{-}\text{CH}_3$. Load amsmath first with \usepackage{amsmath}.
Which package do I need for \text{C}=\text{C}?
\text{C}=\text{C} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
Can I use \text{C}=\text{C} in text mode, or only in math mode?
Both. \text{C}=\text{C} compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث