Skip to main content

Questions tagged [comments]

{comments} are annotations written by a user to document their code. A common package used for comments in code, apart from the traditional use of %, is the comment package.

1 vote
1 answer
53 views

I customized my Beamer files to have: different backgrounds depending on the programming language (from Changing the background color of a listing depending on the language) some frames shown ...
ginjaemocoes's user avatar
0 votes
1 answer
51 views

According to the comment package documentation p.2 section 3.1 one should be able to rename the cutfile's file name. Given the following MWE this does not seem to work: \documentclass{article} \...
Lukas's user avatar
  • 739
2 votes
2 answers
87 views

In a latex table, it is easy to temporarily remove a certain row--just comment it out. But is there an easy way to temporarily remove a column in a table? I'm asking because I have a large table and ...
Zhiyuan Wang's user avatar
2 votes
2 answers
109 views

I want to remove these two whitespaces. \documentclass{article} \usepackage[a5paper,hmargin=5mm,bottom=12mm,top=5mm]{geometry} \usepackage{fouriernc} \usepackage{amsmath} \usepackage{xcolor} \...
D G's user avatar
  • 1,200
3 votes
1 answer
71 views

I have defined an environment for various shell scripts. I have other configuration files I want to do the same thin with. When I try to use \tcbuselibrary{listings} and define an environment for ...
saskabush_rob's user avatar
4 votes
3 answers
148 views

I'm using package comment in my projects with great success. Recently I tried to define conditional output inside a tabularx environment, to no avail. MWE: \documentclass{article} \usepackage{tabularx}...
Andreas Deininger's user avatar
1 vote
1 answer
50 views

bibtool -s -d produces the following output when there are duplicates: @Article{key ... } ###Article{key, ... } How to remove all the ### entries from the .bib file?
homocomputeris's user avatar
1 vote
1 answer
172 views

I am playing with the package comment. I read the doc (not very detailed, but ok). But I am not able to understand why the following MWE is not compiling: \documentclass{article} \usepackage{...
R. N's user avatar
  • 1,320
1 vote
1 answer
63 views

Is it possible to have multiple layers of \begin{comment} \end{comment}, that is, a \begin{comment} \end{comment} inside another one? e.g. \begin{comment} \section{optional section} blah blah... \...
Hao S's user avatar
  • 1,018
0 votes
1 answer
81 views

The different category codes active in .dtx files cause problems with commands that use \input inside them. An example is the \worldflag command from the worldflags package. Comments within included ...
karlh's user avatar
  • 2,196
0 votes
0 answers
92 views

I want to create a comment which is removable. Therefore I'm using the comment package, but I want to change the style of the comment to make it more visible, like this : And, this is my code (I ...
Cpgérer's user avatar
2 votes
2 answers
152 views

Here is a MWE: \documentclass[12pt]{article} \usepackage[backend=biber,style=authoryear,citestyle=authoryear,backref]{biblatex} \usepackage[colorlinks]{hyperref} \addbibresource{bibgraf.bib} \begin{...
Uwe Brauer's user avatar
0 votes
2 answers
101 views

I know % can ignore a certain line or paragraph of tex document. Suppose I have a document \begin{document} para1 para2 para3 etc... \end{document} If I use % sign in para 1 as "%para1" it ...
Pawan Bhatt's user avatar
0 votes
2 answers
131 views

I have this minimal working example (MWE): \documentclass[11pt]{article} \begin{document} Foo% bar \end{document} When I compile the .tex file, I get "Foobar". Why are the spaces ...
Gabriele's user avatar
  • 2,072
0 votes
2 answers
434 views

I am struggling to strip comments from a LaTeX file. I tried the two main answers from this question, but it doesn't work. Here is a test file: é %comment When I run latexpand test.tex > stripped....
bixiou's user avatar
  • 103

15 30 50 per page
1
2 3 4 5
28