%
\begin{center}
\rule{3in}{0.4pt}
\end{center}
\begin{displaymath}
\KEY{Language} \quad \STRING{Test}
\end{displaymath}
\section{ASCII characters}\hypertarget{ascii-characters}{}\label{ascii-characters}
\begin{align*}
\KEY{Syntax} \quad
\SYN{test}
\ ::= \ & \
\LEX{{!}~{"}~{\HASH}~{\DOLLAR}~{\PERCENT}~{\AMPERSAND}~{\APOSTROPHE}~{(}~{)}~{*}~{+}~{,}~{-}~{.}~{/}~{:}~{;}} \\
\ \mid \ & \ \LEX{{<}~{=}~{>}~{?}~{@}~{[}~{\BACKSLASH}~{]}~{\CARET}~{\UNDERSCORE}~{\GRAVE}~{\LEFTBRACE}~{|}~{\RIGHTBRACE}~{\TILDE}~A~Z~a~z~0~9}
\end{align*}
The apostrophe and the backslash have to be escaped in CBS:
\begin{verbatim} Syntax
test ::= '! " # $ % & \' ( ) * + , - . / : ;'
| '< = > ? @ [ \\ ] ^ _ ` { | } ~ A Z a z 0 9'
\end{verbatim}
%