[OS X TeX] starred parantheses in LaTeX ?
Victor Ivrii
vivrii at gmail.com
Sat May 6 05:56:31 EDT 2006
On 5/6/06, Andrei Sobolevskii <ansobol at gmail.com> wrote:
> Hi,
>
> On 06.05.2006, at 12:14, delanoy at math.univ-lyon1.fr wrote:
> > I put a % at the beginning
> > of every line to do this, which is tedious. Is there a better method ?
>
> What tool do you use to edit your TeX files? In TeXShop you just
> highlight a stretch of code that you want to comment and choose
> Format-Comment from the menu (or hit Cmd-{). In Emacs you highlight
> the region to be commented and hit "C-c ;".
>
> > Are
> > there
> > LaTeX equivalents of C's ``starred parantheses" ?
>
> I saw Morton's reply but I'd rather say "no," because the options
> mentioned in that FAQ are kind of slightly unnatural (you wouldn't
> write "if 0 {...}" in C to comment out "..."). Apparently Knuth
> didn't feel it necessary.
Actually there is a package comment which allows multiline comment
without use of
%. Also one can use filecontents package even if it is a bit whacky
way since it would write down your comments at the separate files.
Actually conditional construction is the most natural to switch on/off
some chunks of the code because then one does not need to search for
the end of this chunk.
>
> HTH,
> Andrei
>
--
========================
Victor Ivrii, Department of Mathematics, University of Toronto
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the MacOSX-TeX
mailing list