Tag Archive

amateur astronomy awk bash be b[e] supergiant cartoon conference convert exoplanet fedora figaro fits fun galaxy history iraf jupiter latex linux lmc massive star matplotlib meteor mypaper ondrejov observatory optical paper peblo photometry planet pro-am pyraf python scisoft skinakas observatory small magellanic cloud smc spectroscopy starlink talk theli ubuntu university of crete video x-ray

LaTeX tip to comment out large portion of text

Not very obvious but:


and some more bla here

so LaTeX doesn’t compile anything within this if clause.

[1] TeX.stackexchange- Commenting out large sections, accessed on Oct 10, 2016

Multiple-line comment for shell scripts

How to comment a block of text without inserting the ‘#’ character to all lines?
We just use a ‘<<COMMENT_STRING’ (COMMENT_STRING can be obviously whatever we want) before the line of text we want to comment out and ‘COMMENT_STRING’ after the last line.

An example:

This is a test comment - lol!


ps. In source 1 the “:” is placed in front of the “<<COMMENT_STRING”, which is not mentioned in source 2 and from what I tested with bash scripts it seems not necessary.