Skip to content

Commit

Permalink
Merge pull request #217 from N-Dekker/Replace-backticks-with-code
Browse files Browse the repository at this point in the history
COMP: Replace backticks with `\code{}` in Initialization and Assignment
  • Loading branch information
jhlegarreta authored Dec 21, 2024
2 parents 6371836 + 5246e64 commit 520cac8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SoftwareGuide/Latex/Appendices/CodingStyleGuide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1664,7 +1664,7 @@ \subsection{Initializing variables of fixed size array types}
\code{Index}, \code{Size}, \code{FixedArray}, \code{Point}, and \code{Vector}.
A variable of such a fixed size array type can be zero-initialized by an empty
initializer list, `{}`. This is usually the preferred way to initialize the
initializer list, \code{{}}. This is usually the preferred way to initialize the
variable, when it should initially be filled with zeroes. For example:
\small
Expand All @@ -1677,7 +1677,7 @@ \subsection{Initializing variables of fixed size array types}
\end{minted}
\normalsize
\code{Index} and \code{Size} both have a static `Filled(fillValue)` member
\code{Index} and \code{Size} both have a static \code{Filled(fillValue)} member
function, to allow creating a variable that is filled with an arbitrary value.
For these types, this is usually the preferred way to initialize the variable,
when it should initially be filled with a value that may be non-zero. For
Expand All @@ -1693,7 +1693,7 @@ \subsection{Initializing variables of fixed size array types}
\end{minted}
\normalsize
For other fixed size array types, the function `itk::MakeFilled<T>(fillValue)`
For other fixed size array types, the function \code{itk::MakeFilled<T>(fillValue)}
is preferable, when the array should initially be filled with a value that may
be non-zero. For example:
Expand Down

0 comments on commit 520cac8

Please sign in to comment.