For a draft, I have defined a box as
\usepackage[dvipsnames]{xcolor}
\usepackage[framemethod=TikZ]{mdframed}
\newmdenv[linecolor=BurntOrange,backgroundcolor=BurntOrange!20, roundcorner=5pt, font=\small]{pf}
and in the tex, I use \begin{pf} some texts \end{pf}.
In the final, I don't need these {pf} boxes. To command it out, one way is to use % (the simplest I have used so far).
But, now I am wondering is there any simpler way to do so? I used \ifdraft, didn't work.
commentpackage https://www.ctan.org/pkg/comment – Bordaigorl Jun 22 '23 at 10:49