1 \documentclass[10pt,a4,landscape]{article}
3 % \usepackage[cam,a4,center,info,]{crop} % frame
4 \usepackage[height=20cm,width=25.7cm,noheadfoot,landscape]{geometry} % A4 - 210×297 mm
6 \usepackage[T1]{fontenc}
14 pdftitle={i3 Reference Card},
15 pdfauthor={\textcopyright\ Zeus Panchenko},
16 pdfkeywords={i3, refcard},
17 pdfsubject={based on http://i3wm.org/docs/userguide.html},
18 pdfpagemode={FullScreen}}
20 \definecolor{lightgray}{gray}{0.7}
24 \setlength{\parindent}{0in}
25 \setlength{\columnseprule}{0.5pt}
26 \setlength{\columnsep}{20pt}
28 \newcommand{\RefCardTitle}[2]
29 {\centering{\Large{\textbf{i3 Reference Card (#1/#2)\\
30 {\scriptsize{\url{http://i3wm.org/docs/userguide.html}}}}}}
34 \newcommand{\RefCardSec}[1] {\vspace{2mm} \raggedright {\vspace{0.5mm}
35 \colorbox{lightgray} {\makebox[0.31\textwidth][l]
36 {\Large{\textsc{\textsf{\textbf{\color{black}#1}}}}}}
39 \newcommand{\RefCardRow}[2] {\normalsize{\textbf{\texttt{#1}}}
40 \hspace{\stretch{1}} \raggedleft{\small{\textnormal{#2}}} \\}
47 \RefCardTitle{\thepage}{\pageref{LastPage}}
49 \RefCardSec{Moving around}
51 \RefCardRow{Mod1+Enter}{open new terminal}
52 \RefCardRow{Mod1+j}{focus (left)}
53 \RefCardRow{Mod1+k}{focus (down)}
54 \RefCardRow{Mod1+l}{focus (up)}
55 \RefCardRow{Mod1+;}{focus (right)}
56 \RefCardRow{Mod1+Shift+j}{move window (left)}
57 \RefCardRow{Mod1+Shift+k}{move window (down)}
58 \RefCardRow{Mod1+Shift+l}{move window (up)}
59 \RefCardRow{Mod1+Shift+;}{move window (right)}
60 \RefCardRow{Mod1+Control+j}{snap (left)}
61 \RefCardRow{Mod1+Control+k}{snap (down)}
62 \RefCardRow{Mod1+Control+l}{snap (up)}
63 \RefCardRow{Mod1+Control+;}{snap (right)}
64 \RefCardRow{Mod1+Shift+q}{kill a window}
65 \RefCardRow{Mod1+Shift+<number>}{move a window to another workspace}
68 \RefCardSec{Changing container modes}
70 \RefCardRow{Mod1+e}{default}
71 \RefCardRow{Mod1+h}{stacking}
72 \RefCardRow{Mod1+w}{tabbed}
73 \RefCardRow{Mod1+Shift+f}{global fullscreen}
74 \RefCardRow{Mod1+f}{toggle fullscreen}
75 \RefCardRow{Mod1+Shift+Space}{toggle floating}
76 \RefCardRow{Mod1+<Mouse>}{drag floating}
78 \RefCardSec{Opening other applications}
80 \RefCardRow{Mod1+v}{open application launcher (dmenu)}
82 \RefCardSec{Using workspaces}
84 \RefCardRow{Mod1+<number>}{switch to another workspace}
86 \RefCardSec{Restarting i3 inplace}
88 \RefCardRow{Mod1+Shift+r}{restart i3 inplace}
90 \RefCardSec{Exiting i3}
92 \RefCardRow{Mod1+Shift+e}{exit i3}
97 Copyright \copyright 2009, Michael Stapelberg \\
98 All rights reserved. \\
99 Designed by Zeus Panchenko
101 Permission is granted to copy, distribute and/or modify this
102 document provided the copyright notice and this permission
103 notice are preserved on all copies.}