General ⇒ Destroy or nullify argument
Destroy or nullify argument
let's say I'd like to share a document with some people and it contains some data I'd like to give out only to a selected few of all the recipients.
So I'd like to make two versions of the document.
The "public" version should not contain only the "private" data. Is there a way to do this? If yes, how?
I prepared a MWE with some silly looking example code. I would continue to work on it if I knew how to define this "switch" and the if-code, but I haven't found a proper guide or knowledgebase yet.
- Attachments
-
- destroy-nullify-argument.tex
- (944 Bytes) Downloaded 178 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Destroy or nullify argument
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Destroy or nullify argument
Could you also give me a hint about the switch-thing?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Destroy or nullify argument
Doesn't the package itself offer such a switch?Montag wrote:[…] Could you also give me a hint about the switch-thing?
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Destroy or nullify argument
Code: Select all
\documentclass{article}
\usepackage{comment}
\includecomment{comment}
\begin{document}
\begin{comment}
Only with the above command.
\end{comment}
In every version.
\end{document}
Re: Destroy or nullify argument
