How could I make this figure?

by gabel160   Last Updated June 13, 2019 08:23 AM

enter image description here

How can I make this figure, haven't really used Tikz or other tools yet. Any help would be appreciated

Tags : graphics


Answers 2


One way might be

\documentclass{article}

\begin{document}

\[
\begin{array}{c}
0\\
1
\end{array}
\rightarrow
\begin{array}{c}
000\\
111
\end{array}
\rightarrow\Gamma\rightarrow
\begin{array}{c}
000\\
001\\
010\\
100\\
011\\
101\\
110\\
111
\end{array}
\rightarrow
\begin{array}{c}
0\\
1
\end{array}
\]

\end{document}

Mathematica graphics

Nasser
Nasser
June 13, 2019 07:39 AM

Another simple proposal using tikz-cd package (or xy package). The lenghts of the arrows can be increase or decrease.

enter image description here

\documentclass[a4paper,12pt]{article}
\usepackage{tikz-cd}
\usepackage{amsmath,amssymb}

\begin{document}
\begin{tikzcd}
\begin{matrix} 0\\ 1 \end{matrix} \arrow[r] & \begin{matrix} 000\\ 111 \end{matrix} \arrow[r] & \mathit{\Gamma} \arrow[r] & \begin{matrix} 000\\ 001\\ 010\\ 100\\ 011\\ 101\\ 110\\ 111 \end{matrix} \arrow[r] & \begin{matrix} 0\\ 1 \end{matrix}
\end{tikzcd}
\end{document}
Sebastiano
Sebastiano
June 13, 2019 07:56 AM

Related Questions


Updated March 29, 2015 06:08 AM

Updated April 03, 2015 21:27 PM

Updated April 05, 2015 00:09 AM

Updated March 28, 2015 16:08 PM

Updated April 17, 2015 20:10 PM