2023-12-16 14:17:00 +00:00
|
|
|
\documentclass[9pt, letter, landscape]{extarticle}
|
|
|
|
\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]
|
|
|
|
{\large\scshape}{\thesection}{}{\hrule\vspace{3pt}}{}
|
|
|
|
|
|
|
|
% 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 14:17:00 +00:00
|
|
|
itemsep=3pt,
|
|
|
|
parsep=0pt,
|
|
|
|
leftmargin=12mm
|
|
|
|
}
|
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 15:09:37 +00:00
|
|
|
\fancyfoot[L]{Version 0.4.0 • \today}
|
2023-12-16 14:17:00 +00:00
|
|
|
\fancyfoot[R]{Page \thepage}
|
|
|
|
\renewcommand{\footrulewidth}{0.4pt}
|
|
|
|
|
|
|
|
% Redefining headrule
|
|
|
|
% See https://tex.stackexchange.com/a/584638/245702
|
|
|
|
\makeatletter
|
|
|
|
\renewcommand{\headrule}{\hrule height 1pt \vspace{1pt}\hrule height 0.25pt}
|
|
|
|
|
|
|
|
|
|
|
|
\usepackage{multicol}
|
|
|
|
\setlength{\columnseprule}{0.3pt}
|
|
|
|
\setlength{\columnsep}{1cm}
|
|
|
|
|
|
|
|
\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}
|
|
|
|
\usepackage{txfonts}
|
|
|
|
\usepackage{wasysym}
|
|
|
|
|
|
|
|
% See https://semver.org/ for versioning meaning
|
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
|
|
|
|
\begin{multicols*}{4}
|
|
|
|
|
|
|
|
Some characters may render differently depending on the font used.
|
|
|
|
|
|
|
|
\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
|
|
|
|
\item[- - \keys{space}]Soft hyphen (in-word break) \hfill -
|
|
|
|
\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
|
|
|
|
\item[< 3]Solid heart \hfill $\varheartsuit$ % txfonts
|
|
|
|
\item[: )]Smiling face \hfill \smiley % wasysym
|
|
|
|
\item[: (]Frowning face \hfill \frownie % wasysym
|
|
|
|
\item[\^{} .]Middle dot \hfill $\cdot$
|
|
|
|
\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
|
|
|
|
\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$
|
|
|
|
\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}
|
|
|
|
\item[•]
|
|
|
|
\end{description}
|
|
|
|
|
|
|
|
\section*{Accented Characters}
|
|
|
|
|
|
|
|
\begin{description}
|
|
|
|
\item[•]
|
|
|
|
\end{description}
|
|
|
|
|
|
|
|
|
|
|
|
\end{multicols*}
|
|
|
|
|
|
|
|
\end{document}
|