Welcome to our community

Be a part of something great, join today!

[SOLVED] Latex-show

mathworker

Active member
May 31, 2013
118
what is the latex code for show icon...i.e.,to hide solution(flower)
 

Bacterius

Well-known member
MHB Math Helper
Jan 26, 2012
644
Re: latex-show

It isn't a LaTeX code, but a spoiler. You can use it with SPOILER tags (also, the "Sp" button on the editor bar).

Example:

Code:
[SPOILER]hello[/SPOILER
(add a closing bracket to render)
hello

There's also a way to give titles to spoilers (text appearing next to the "Show" button) but I forgot how.
 

Chris L T521

Well-known member
Staff member
Jan 26, 2012
995
Re: latex-show

It isn't a LaTeX code, but a spoiler. You can use it with SPOILER tags (also, the "Sp" button on the editor bar).

Example:

Code:
[SPOILER]hello[/SPOILER
(add a closing bracket to render)
hello

There's also a way to give titles to spoilers (text appearing next to the "Show" button) but I forgot how.
While we're at it, I'll also mention the [noparse]...[/noparse] tags; with these, you don't have to use the code tags to not parse BB tags here (the TeX ones we made are an exception; those are based on MathJax and hence noparse will have no effect on it). So instead of saying

Code:
[SPOILER]hello[/SPOILER
(add a closing bracket to render)
You could instead use the noparse tags and get [SPOILER]hello[/SPOILER], which looks nicer in my opinion.