Useful LaTeX code

topsquark

Forum Staff
Apr 2008
3,049
648
On the dance floor, baby!
I thought I'd make a new thread for some snippets of more "advanced" LaTeX codes that are not covered by the basic LaTeX tutorial.

For example:
\(\displaystyle \enclose{circle}{x}\)
\enclose{circle}{x}

\(\displaystyle A \overset{u}{=} B\)
A \overset{u}{=} B

\(\displaystyle A \overset{u}{ \rightarrow} B\)
A \overset{u}{ \rightarrow } B

\(\displaystyle A \underset{d}{ \rightarrow } B\)
\underset{b}{ \rightarrow } B

\(\displaystyle A \overset{u}{\underset{d} \rightleftarrows} X\)
A \overset{u}{ \underset{d} \rightleftarrows } X

(I got the first one from Klaas van Aarsen. Thanks!)

-Dan
 
  • Like
Reactions: benit13 and studiot
Apr 2015
1,136
294
Somerset, England
I thought I'd make a new thread for some snippets of more "advanced" LaTeX codes that are not covered by the basic LaTeX tutorial.
Can you make this thread sticky?

A very simple alternative when you don't have or don't know the full works Tex or MathML is to use the inbuilt (or get for some older versions of Windows)

Charmap.

This will allow you to easily pick out special characters, Greek letters etc and use them directly in your text.

 
  • Like
Reactions: topsquark