I would like to have some variables for showing or hiding text in Latex.
For example, I would like to have two versions of a document. A short version and a long version by changing a variable at the top of the latex document.
I want to set a variable long – true
and in the text I would like to use if long == true show text (long version) else if false do not show the text (short version).