sectioning - Conditional section title [ifthenelse] not working - TeX - LaTeX Stack Exchange
algorithmicx - Indentation of `then` in algorithms? - TeX - LaTeX Stack Exchange
if statement - Pseudocode elseifs syntax - Stack Overflow
File:Latex-algorithmic-if-else.png - Wikipedia
ifthenelse - I am using \if condition in a custom command in my LaTeX document. can i know how to do the if statement in the uploaded image - TeX - LaTeX Stack Exchange