# Amino acid (alanine)

> Alanine with its amino group, carboxyl group, and side chain around the alpha carbon. A chemfig example with its LaTeX source.

A chemfig example in the TeXeR TikZ library: https://texer.org/library/chemfig/alanine

Package: [chemfig](https://texer.org/library/chemfig.md), on CTAN at https://ctan.org/pkg/chemfig.

Tags: amino acid, alanine, biochemistry

## Source

```latex
\usepackage{chemfig}

\chemfig{H_2N-C(-[2]H)(-[6]CH_3)-C(=[1]O)-[7]OH}
```

## As a complete document

The same example in a document that compiles on its own with pdfLaTeX:

```latex
\documentclass[margin=3mm]{standalone}
\usepackage{tikz}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{chemfig}

\begin{document}

\chemfig{H_2N-C(-[2]H)(-[6]CH_3)-C(=[1]O)-[7]OH}
\end{document}
```
