Text Formatting ⇒ Square brackets for comments
Square brackets for comments
I was hoping someone could give me some advice on what convention they use in latex to denote text which would require revision at some point in the future, or which generally should be double-checked before document completion. I am familiar with the convention of surrounding incomplete or draft text with square brackets. For example:
The earth is [3,000] years old.
or
In the event that a fire alarm sounds in the building
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: Square brackets for comments
But if you do want it to be visible in the output: does it have to be a symbol? If nothing else, a symbol will change the dimensions of what I'm typesetting, possibly leading to a need to rearrange after removing the flag. I'd probably use a color instead, e.g., put sections I want to flag in blue or something like that.
Square brackets for comments
So i suppose, in addition to my first post, the 'markup' symbol would preferably:
- - Require minimal syntax
- Be conspicuous in a black and white printout
- Be otherwise unused throughout the rest of the document (as much as possible) to facilitate the process of searching for said symbols
- Not suppress output of the markup text
-
- Posts: 37
- Joined: Sun Mar 29, 2009 1:41 am
Square brackets for comments
(So changing the color satisfies three of your four criteria rather nicely, with the additional benefit described by frabjous. But if you insist it being in black-and-white...)
Beyond that, I would think your problem has little to do with LaTeX. Almost anything will work. There are plenty of funny symbols out there -- take your pick (http://www.ctan.org/tex-archive/info/sy ... ols-a4.pdf). Or if you're used to square brackets, consider making a command like
Code: Select all
\newcommand{\B}[1]{[#1]}
Code: Select all
The earth is \B{3,000} years old.
Re: Square brackets for comments
Square brackets for comments
Also, be careful with boxes since they cannot be split and broken across lines and pages, so if you have to mark a complete sentence which occupy two or more lines, things can get messy.
An additional note: line numbers also may be very useful in reviewing process, especially when you have to discuss some parts of a document which were not marked previously, since it's much easier to refer to a line number than to a page, paragraphs etc. For this purpose you may use lineno package.
Re: Square brackets for comments
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Square brackets for comments
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10