Skip to content

Commit

Permalink
Don't use \emph for content of lesser importance
Browse files Browse the repository at this point in the history
It it was considered important, it shouldn't have been put in a parenthesis in the first place.

Also putting \emph where it should be used to quote words in the listing.
  • Loading branch information
henrikt-ma committed May 15, 2023
1 parent f0a5f15 commit 654acd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ \subsection{Connections}\label{connections1}
\end{example}

The optional \lstinline!Text!\index{Text@\robustinline{Text}!\robustinline{connect} annotation} primitive defines a text that will be written on the connection line.
It has the following definition (\emph{it is not equal to the \lstinline!Text! primitive as part of graphics -- the differences are marked after Note in the description-strings}):
It has the following definition (it is not equal to the \lstinline!Text! primitive as part of graphics -- the differences are marked after \emph{Note} in the description-strings):
\begin{lstlisting}[language=modelica]
record Text
extends GraphicItem;
Expand Down

0 comments on commit 654acd6

Please sign in to comment.