Skip to content

Instantly share code, notes, and snippets.

@mccv
Created April 20, 2013 21:28
Show Gist options
  • Save mccv/5427501 to your computer and use it in GitHub Desktop.
Save mccv/5427501 to your computer and use it in GitHub Desktop.
\documentclass[]{beamer}
\usepackage[T1]{fontenc}
\usepackage[brazil]{babel}
\usepackage[utf8]{inputenc}
\usepackage{ifpdf}
\usepackage{bytefield}
\begin{document}
\begin{frame}[fragile]
Mux
\\[2em]
\begin{bytefield}[bitwidth=2em]{16}
\bitheader[endianness=little]{0,3,7,11,15} \\
\bitbox{4}{size}\bitbox{1}{\tiny type}\bitbox{8}{[size-8]message}
\end{bytefield}
\end{frame}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment