[OS X TeX] Inline comment in LaTeX?
Herbert Schulz
herbs at wideopenwest.com
Sun Jul 18 17:17:35 EDT 2010
On Jul 18, 2010, at 3:34 PM, Ross Moore wrote:
>
>
> Sent from my iPad
>
> On 19/07/2010, at 6:25 AM, Jung-Tsung Shen <jushen at gmail.com> wrote:
>
>> This is a general LaTeX question, rather than a specific OS X LaTeX question.
>>
>> Is there a way to do an "inline comment" in LaTeX? Currently, the two
>> ways that I know of to do comments in LaTeX are: 1) using %; and 2)
>> using \begin{comment} with the verbatim package.
>>
>> These two methods however do not meet some particular needs; for
>> example, in writing an article, when there are two words to choose and
>> I haven't decided which one, I'd rather to keep the two words
>> together, with one being commented, but without breaking the flow of
>> the writing. The following simple example illustrates my point:
>>
>> "... thus, the method proposed here provides (* presents *) a unique
>> approach ..."
>
> Sure, just break the line, as follows
>
>> "... thus, the method proposed here provides %presents
>> a unique approach ..."
>
Howdy,
Or
``... thus, the method proposed here
provides
%presents
a unique approach.''
and comment out the one you don't want.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the MacOSX-TeX
mailing list