File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 681
681
\algnewcommand\algorithmicclass {\textbf {class }}
682
682
\algnewcommand\algorithmicproperties {\textbf {properties }}
683
683
\algnewcommand\algorithmicmethods {\textbf {methods }}
684
- \algnewcommand\textproc {\textsc }
684
+ \algnewcommand\textproc {\textsc }% font for procedure/function names
685
+ \algnewcommand\textstruc {\textsc }% font for structure and class names
685
686
686
687
687
688
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
732
733
\algpx@startEndBlockCommand\algpx@endIndent\algorithmicend \ \algorithmicfunction %
733
734
}
734
735
\algdef {SE}[STRUCTURE]{Structure}{EndStructure}[1]{%
735
- \algpx@startCodeCommand\algpx@startIndent\algorithmicstructure \ \textsc {#1}%
736
+ \algpx@startCodeCommand\algpx@startIndent\algorithmicstructure \ \textstruc {#1}%
736
737
}{%
737
738
\algpx@startEndBlockCommand\algpx@endIndent\algorithmicend \ \algorithmicstructure %
738
739
}
739
740
\algdef {SE}[CLASS]{Class}{EndClass}[1]{%
740
- \algpx@startCodeCommand\algpx@startIndent\algorithmicclass \ \textsc {#1}%
741
+ \algpx@startCodeCommand\algpx@startIndent\algorithmicclass \ \textstruc {#1}%
741
742
}{%
742
743
\algpx@startEndBlockCommand\algpx@endIndent\algorithmicend \ \algorithmicclass %
743
744
}
You can’t perform that action at this time.
0 commit comments