Skip to content

Commit

Permalink
Replace some \textbf in tables with \tablehead
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Jun 3, 2020
1 parent 27b450d commit 1d14b07
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions chapters/inheritance.tex
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ \subsection{Restrictions on the Kind of Base Class}\doublelabel{restrictions-on-

\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|}
\hline
& \multicolumn{12}{c|}{\textbf{Base Class}} \\
& \multicolumn{12}{c|}{\tablehead{Base Class}} \\
\hline
\textbf{Derived} & \multirow{2}{*}{package} & \multirow{2}{*}{operator} & \multirow{2}{*}{function} & operator & \multirow{2}{*}{type} & \multirow{2}{*}{record} & operator & expandable & \multirow{2}{*}{connector} & \multirow{2}{*}{block} & \multirow{2}{*}{model} & \multirow{2}{*}{class} \\
\textbf{Class} & & & & function & & & record & connector & & & & \\
\tablehead{Derived} & \multirow{2}{*}{package} & \multirow{2}{*}{operator} & \multirow{2}{*}{function} & operator & \multirow{2}{*}{type} & \multirow{2}{*}{record} & operator & expandable & \multirow{2}{*}{connector} & \multirow{2}{*}{block} & \multirow{2}{*}{model} & \multirow{2}{*}{class} \\
\tablehead{Class} & & & & function & & & record & connector & & & & \\
\hline
package & yes & & & & & & & & & & & \cellcolor{lightgray}yes \\
\hline
Expand Down
2 changes: 1 addition & 1 deletion chapters/interface.tex
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ \chapter{Interface or Type Relationships}\doublelabel{interface-or-type-relation

\begin{longtable}{|p{4cm}|p{8cm}|}
\hline \endhead
\textbf{term} & \textbf{description}\\ \hline
\tablehead{Term} & \tablehead{Description}\\ \hline
type or interface
& The ``essential'' part of the public declaration sections of a class
that is needed to decide whether \lstinline!A! can be used instead of \lstinline!B!.
Expand Down
2 changes: 1 addition & 1 deletion chapters/statemachines.tex
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ \section{Transitions}\doublelabel{transitions}
states and to define the initial state:
\begin{longtable}[]{|p{4cm}|p{10cm}|}
\hline \endhead
\multicolumn{2}{|p{12cm}|}{\textbf{Statements to define a state machine}}\\ \hline
\multicolumn{2}{|p{12cm}|}{\tablehead{Statements to define a state machine}}\\ \hline
\begin{tabular}{@{}p{4cm}@{}}
\textbf{transition}(from, to, \\ condition,\\
immediate, reset,\\
Expand Down

0 comments on commit 1d14b07

Please sign in to comment.