Skip to content

Commit

Permalink
Don't use 'longtable' for collection of all keywords
Browse files Browse the repository at this point in the history
With the way table content is organized into columns, it makes no sense to let this table be split across pages.
  • Loading branch information
henrikt-ma committed Sep 20, 2020
1 parent 80d7e84 commit ac73345
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions chapters/lexicalstructure.tex
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ \subsection{Modelica Keywords}\label{modelica-keywords}

The following Modelica \emph{keywords} are reserved words and may not be
used as identifiers, except as listed in \cref{lexical-conventions}:
\begin{longtable}[c]{@{}lllll@{}}
\begin{center}
\begin{tabular}{l l l l l}
\lstinline!algorithm! & \lstinline!discrete! & \lstinline!false! & \lstinline!loop! & \lstinline!pure!\\ \hline
\lstinline!and! & \lstinline!each! & \lstinline!final! & \lstinline!model! & \lstinline!record!\\ \hline
\lstinline!annotation! & \lstinline!else! & \lstinline!flow! & \lstinline!not! & \lstinline!redeclare!\\ \hline
Expand All @@ -121,8 +122,9 @@ \subsection{Modelica Keywords}\label{modelica-keywords}
\lstinline!connector! & \lstinline!equation! & \lstinline!in! & \lstinline!parameter! & \lstinline!type!\\ \hline
\lstinline!constant! & \lstinline!expandable! & \lstinline!initial! & \lstinline!partial! & \lstinline!when!\\ \hline
\lstinline!constrainedby! & \lstinline!extends! & \lstinline!inner! & \lstinline!protected! & \lstinline!while!\\ \hline
\lstinline!der! & \lstinline!external! & \lstinline!input! & \lstinline!public! & \lstinline!within!\\ \hline
\end{longtable}
\lstinline!der! & \lstinline!external! & \lstinline!input! & \lstinline!public! & \lstinline!within!\\
\end{tabular}
\end{center}

\section{Literal Constants}\label{literal-constants}

Expand Down

0 comments on commit ac73345

Please sign in to comment.