Linked Questions

2
votes
1answer
6k views

Can I use“ \iffalse … \fi” to solve this problem? [duplicate]

Possible Duplicate: How to write hidden notes in a LaTeX file? \documentclass{article} \def\hide{\iffalse} \def\show{\hi} \begin{document} 111111 \hide 222222 \show 333333 \hide 444444 ...
1
vote
1answer
195 views

A flag to switch between simple and full mode [duplicate]

Possible Duplicate: How to write hidden notes in a LaTeX file? Conditional typesetting / build Is it possible to add a flag (variable) in my .tex file, so that I can switch among two modes: a ...
1
vote
3answers
7k views

is there a way of putting % in front of a whole chunk of text? [duplicate]

% starts an end-of-line comment in LaTeX. Is there any way I comment an entire paragraph without putting a % in front of each individual line? Note: I write my LaTeX code in texmaker.
6
votes
4answers
173 views

A macro dependent on a parameter

I would like to write a macro privatecomment whose behaviour depends on a global parameter show. For example, in the .tex, I could write \privatecomment{Here is a comment}. When I set show to true, ...
3
votes
3answers
241 views

1 compilation, several outputs

I'm a teacher and using PdfTeX to write my courses. My question is the following : How can I compile my .teX file and generate into Pdf file : the course itself, and one or two excerpts (that I've ...
3
votes
1answer
150 views

latex to html with collapsing

Is there a solution to this fold/unfold sections to expand in PDF in terms of HTML? In other words, can I compile to HTML and have certain parts of my work collapsed? So for instance, I would want ...
2
votes
1answer
222 views

Making an environment for personal note

I am using the following \newcommand{\PERSONALNOTE}[1]{\textcolor{red}{#1}} for the purpose of inserting personal notes when writing; so that I can turn it off when building final article simply by ...
2
votes
0answers
84 views

Document branching

I am moving myself from using LyX to just coding in LaTeX. I've been able to research and figure out a lot of things on my own, but there's one feature in LyX that I'd like to be able to code in LaTeX ...
1
vote
0answers
49 views

File ended while scanning use of \next, while using \begin{comment} on macro definition [duplicate]

On the question How to replace a command with a dummy one? I learned to do: \documentclass[10pt,a5paper,twoside]{memoir} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[brazil]{...