2023-12-16 16:47:20 +00:00
\documentclass [10pt, letter, landscape] { article}
2023-12-16 14:17:00 +00:00
\usepackage { extsizes}
\usepackage [
margin=0.5in,
top=2cm,
bottom=2cm
]{ geometry}
\usepackage { lmodern}
2023-12-16 15:06:53 +00:00
% Keyboard symbols
2023-12-16 14:17:00 +00:00
\usepackage [os=win] { menukeys}
\usepackage { ragged2e} % Make right margin look better
\raggedright
2023-12-16 15:06:53 +00:00
% Place a rule above our section titles
2023-12-16 14:17:00 +00:00
\usepackage { titlesec}
\titleformat { \section } [display]
2023-12-16 16:54:35 +00:00
{ \large \scshape } { \thesection } { } { \hrule \vspace { 6pt} } { }
2023-12-16 14:17:00 +00:00
% Define a date the way we like it
\usepackage [en-AU] { datetime2}
\usepackage { enumitem}
\setlist [description] {
style=nextline,
2023-12-16 15:06:53 +00:00
font={ \ttfamily } ,
2023-12-16 16:54:35 +00:00
itemsep=8pt,
parsep=4pt,
2023-12-16 16:47:20 +00:00
leftmargin=12mm,
2023-12-16 14:17:00 +00:00
}
2023-12-16 15:06:53 +00:00
% Make labels in description list not bold
% See https://latex.org/forum/viewtopic.php?t=4204
\renewcommand * \descriptionlabel [1] { \hspace \labelsep \normalfont #1}
2023-12-16 14:17:00 +00:00
2023-12-16 15:06:53 +00:00
% Style our headers and footers
2023-12-16 14:17:00 +00:00
\usepackage { fancyhdr}
\pagestyle { fancy}
\fancyhf { }
\fancyhead [L] { \textbf { A Compose Key Cheat Sheet} }
\fancyhead [R] { \texttt { https://git.kjodle.net/kjodle/compose-key-cheat-sheet} }
2023-12-16 16:54:35 +00:00
\fancyfoot [L] { Version 1.0.0 • \today }
2023-12-16 14:17:00 +00:00
\fancyfoot [R] { Page \thepage }
\renewcommand { \footrulewidth } { 0.4pt}
2023-12-16 16:54:35 +00:00
% Redefining headrule
% See https://tex.stackexchange.com/a/584638/245702
2023-12-16 14:17:00 +00:00
\makeatletter
\renewcommand { \headrule } { \hrule height 1pt \vspace { 1pt} \hrule height 0.25pt}
\usepackage { multicol}
\setlength { \columnseprule } { 0.3pt}
2023-12-16 16:47:20 +00:00
\setlength { \columnsep } { 12mm}
2023-12-16 14:17:00 +00:00
\usepackage [T1] { fontenc}
\usepackage [utf8] { inputenc}
2023-12-16 15:06:53 +00:00
% Place numbers in a circle
% See https://tex.stackexchange.com/questions/7032/good-way-to-make-textcircled-numbers
% Can also use «circledsteps» package
2023-12-16 14:17:00 +00:00
\usepackage { tikz}
2023-12-16 15:06:53 +00:00
\newcommand * \circled [1] { \tikz [baseline=(char.base)] {
\node [shape=circle,draw,inner sep=2pt] (char) { #1} ;} }
2023-12-16 14:17:00 +00:00
% Fonts for symbols
\usepackage { fourier}
2023-12-16 16:47:20 +00:00
\usepackage { fdsymbol} % automatically loads amsmath
\usepackage [nointegrals] { wasysym}
\usepackage { upgreek}
2023-12-16 14:17:00 +00:00
% See https://semver.org/ for versioning meaning
2023-12-16 16:47:20 +00:00
2023-12-16 14:17:00 +00:00
\begin { document}
\begin { multicols*} { 4}
2023-12-16 16:54:35 +00:00
Some characters may render differently depending on the font used. On occasion, a box ($ \Box $ ) may be used to indicate the position of the character. Most compose key combinations consist of two characters, but a few consist of three characters.
2023-12-16 16:47:20 +00:00
2023-12-16 14:17:00 +00:00
\section * { Punctuation}
\begin { description}
\item [" ,] Czech opening quotes \hfill \quotedblbase
\item [" <] Czech closing quotes\\ also English closing quotes \hfill ``
\item [" >] English closing quotes \hfill ''
\item [\keys{space + space}] Non-breaking space
2023-12-16 16:54:35 +00:00
\item [- - \keys{space}] Soft hyphen (in-word break) \\ \hfill -
2023-12-16 14:17:00 +00:00
\item [- - -] em dash \hfill —
\item [- - .] en dash \hfill --
\item [< -] Left arrow \hfill $ \leftarrow $
\item [- >] Right arrow \hfill $ \rightarrow $
\item [< <] Left guillemet \hfill \guillemotleft
\item [> >] Right guillemet \hfill \guillemotright
\item [. <] Left single guillemet \hfill \guilsinglleft
\item [. >] Right single guillemet \hfill \guilsinglright
\item [o o] Degree sign \hfill \textdegree
\item [P !] Pilcrow \hfill \textparagraph
2023-12-16 16:47:20 +00:00
\item [< 3] Solid heart \hfill $ \varheartsuit $ % fdsymbol
2023-12-16 14:17:00 +00:00
\item [: )] Smiling face \hfill \smiley % wasysym
\item [: (] Frowning face \hfill \frownie % wasysym
2023-12-16 16:47:20 +00:00
\item [\^{} .] Middle dot \hfill $ \Box \cdot \Box $
2023-12-16 14:17:00 +00:00
\item [. =] Bullet \hfill \textbullet
\end { description}
2023-12-16 14:22:24 +00:00
\section * { Currency}
2023-12-16 14:17:00 +00:00
\begin { description}
\item [e =] Euro \hfill \eurologo % fourier
2023-12-16 14:22:24 +00:00
\item [l -] Pound sterling \hfill \pounds
\item [L -] Pound sterling \hfill \pounds
\item [c /] Cent \hfill \textcent
2023-12-16 14:17:00 +00:00
\end { description}
\section * { Math}
\begin { description}
2023-12-16 15:06:53 +00:00
\item [x x] Times \hfill $ \times $
\item [- :] Divide \hfill $ \div $
\item [- ,] Not sign \hfill \textlnot
\item [< =] Less than or equal to \hfill $ \leq $
\item [> =] Greater than or equal to \hfill $ \geq $
\item [+ -] Plus/minus \hfill $ \pm $
\item [8 8] Infinity \hfill $ \infty $
\item [1 2] One-half (similar with other numbers through 9) \hfill \textonehalf
2023-12-16 16:47:20 +00:00
\item [\^{} 2] Superscript 2 (also works for other numbers through 9, and some punctuation symbols) \\ \hfill $ \Box ^ 2 $
\item [\_{} 2] Subscript 2 (also works as superscript with other symbols) \\ \hfill $ \Box _ 2 $
2023-12-16 15:06:53 +00:00
\item [( 2 )] Circled 2 (also works on numbers through 50) \hfill \circled { 2}
\item [\% o] Per mille sign \hfill \textperthousand
\item [N o] Numero symbol \hfill \textnumero
2023-12-16 14:17:00 +00:00
\end { description}
\section * { Publishing}
\begin { description}
2023-12-16 15:09:37 +00:00
\item [( c] Copyright \hfill \copyright
\item [( r] Registered \hfill \textregistered
\item [t m] Trademark \hfill \texttrademark
2023-12-16 14:17:00 +00:00
\end { description}
\section * { Music}
\begin { description}
2023-12-16 15:13:25 +00:00
\item [\# b] Flat sign \hfill $ \flat $
\item [\# f] Natural sign \hfill $ \natural $
\item [\# \#] Sharp sign \hfill $ \sharp $
2023-12-16 14:17:00 +00:00
\end { description}
2023-12-16 16:47:20 +00:00
\section * { Characters from Non-English Languages}
\begin { description}
\item [s s] Eszett/digraph s \hfill { \ss }
\item [o e] Ligatures (works with other combinations such as AE, oe, etc)\\ \hfill \oe
2023-12-16 16:54:35 +00:00
\item [m u] Greek \textit { mu} or `micro' symbol \\ \hfill $ \upmu $ %upgreek
2023-12-16 16:47:20 +00:00
\end { description}
2023-12-16 14:17:00 +00:00
\section * { Accented Characters}
2023-12-16 16:47:20 +00:00
The following keys will work with all characters that can have that particular accent mark. The letter `a' is used as an example.
2023-12-16 14:17:00 +00:00
\begin { description}
2023-12-16 16:47:20 +00:00
\item [' a] Acute accent \hfill á
\item [` a] Grave accent \hfill à
\item [, c] Cedilla \hfill ç
\item [" a] Umlaut/diaersis \hfill ä
\item [\^ a] Circumflex \hfill â
\item [$\tilde{}$ a] Tilde \hfill ã
\item [* a] (ring above) \hfill å
\item [. a] (dot above) \hfill $ \dot { \mathrm { a } } $
\item [/ o] (stroke/bar) \hfill ø
\item [c a] Caron \hfill ǎ
\item [< c] Caron \hfill č
\item [\_ a] Macron \hfill ā
2023-12-16 14:17:00 +00:00
\end { description}
\end { multicols*}
\end { document}