I want to know the meaning of \fi in LaTeX. I don't understand the use. And don't find an easy definition online.

  • 3
    \if...\fi ... a usual way in scripts of conditional tests. \fi is just the reverse of \if and can be found in script languages as well as in bash etc. as well, and indicates the end of the \if test, similar to case...esac – user31729 Feb 27 '19 at 23:54

Browse other questions tagged or ask your own question.