I have a grammar declaration like this:
\documentclass[12pt,a4paper]{report}
\usepackage{syntax}
\begin{document}
...
\begin{figure}[h!]
\begin{grammar}
<A> ::= `<--' <B> <C> `-->'
<B> ::= <D>
...
\end{grammar}
\caption{A sample grammar}
\label{fig:sample-grammar}
\end{figure}
...
\end{document}
LaTeX uses a superfluously large font to render it and some lines do not even fit on the page and need to be wrapped, which has a bad impact on clarity.
How do I change font-size only for the grammar?