-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbits.tex
More file actions
48 lines (42 loc) · 667 Bytes
/
bits.tex
File metadata and controls
48 lines (42 loc) · 667 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
%%-*-latex-*-
\documentclass[11pt]{article}
\usepackage{pst-eps}
\usepackage{booktabs}
\newcommand\floor[1]{\lfloor{#1}\rfloor}
\begin{document}
\TeXtoEPS
\framebox{\(
\begin{array}{lr}
2^0 & 1\\
\hline
\addlinespace[1pt]
2^1 & 10\\
& 11\\
\hline
\addlinespace[1pt]
2^2 & 100\\
& 101\\
& 110\\
& 111\\
\hline
\addlinespace[1pt]
2^3 & 1000\\
& 1001\\
& 1010\\
& 1011\\
& 1100\\
& 1101\\
& 1110\\
& 1111\\
\hline
\vdots & \vdots\\
\addlinespace[2pt]
\hline
\addlinespace[1pt]
2^{\floor{\lg n}} & \ldots\\
& \vdots\\
& n
\end{array}
\)}
\endTeXtoEPS
\end{document}