问题
Is there a way to get some text to appear only when the [draft] option is active.
For example, when the draft option is active, I want some text to appear between my title and abstract: "draft: do not cite without permission" or some such.
回答1:
Usually this is done with
\usepackage{ifdraft}
\ifdraft{stern warning}{}
Where to put the \ifdraft depends on how you've created the layout of your title page.
来源:https://stackoverflow.com/questions/2487252/making-the-draft-document-option-in-latex-have-extra-text-appear-in-latex