diff --git a/SoftwareGuide/Latex/Appendices/CodingStyleGuide.tex b/SoftwareGuide/Latex/Appendices/CodingStyleGuide.tex index f5d865a3..e832ed4e 100644 --- a/SoftwareGuide/Latex/Appendices/CodingStyleGuide.tex +++ b/SoftwareGuide/Latex/Appendices/CodingStyleGuide.tex @@ -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 @@ -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 @@ -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(fillValue)` +For other fixed size array types, the function \code{itk::MakeFilled(fillValue)} is preferable, when the array should initially be filled with a value that may be non-zero. For example: