Skip to content

Commit 5246e64

Browse files
committed
COMP: Replace backticks with \code{} in Initialization and Assignment
Addressed the comments by Jon Haitz Legarreta Gorroño at #216 (review) Specifically: > `{}` will not highlight the content in LaTeX as you would expect in Markdown: > LaTex uses double backticks at the beginning/upright ticks at the end for > ticks, simple backticks will render as opening simple ticks both at the > beginning/end.
1 parent 6371836 commit 5246e64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SoftwareGuide/Latex/Appendices/CodingStyleGuide.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,7 @@ \subsection{Initializing variables of fixed size array types}
16641664
\code{Index}, \code{Size}, \code{FixedArray}, \code{Point}, and \code{Vector}.
16651665
16661666
A variable of such a fixed size array type can be zero-initialized by an empty
1667-
initializer list, `{}`. This is usually the preferred way to initialize the
1667+
initializer list, \code{{}}. This is usually the preferred way to initialize the
16681668
variable, when it should initially be filled with zeroes. For example:
16691669
16701670
\small
@@ -1677,7 +1677,7 @@ \subsection{Initializing variables of fixed size array types}
16771677
\end{minted}
16781678
\normalsize
16791679
1680-
\code{Index} and \code{Size} both have a static `Filled(fillValue)` member
1680+
\code{Index} and \code{Size} both have a static \code{Filled(fillValue)} member
16811681
function, to allow creating a variable that is filled with an arbitrary value.
16821682
For these types, this is usually the preferred way to initialize the variable,
16831683
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}
16931693
\end{minted}
16941694
\normalsize
16951695
1696-
For other fixed size array types, the function `itk::MakeFilled<T>(fillValue)`
1696+
For other fixed size array types, the function \code{itk::MakeFilled<T>(fillValue)}
16971697
is preferable, when the array should initially be filled with a value that may
16981698
be non-zero. For example:
16991699

0 commit comments

Comments
 (0)