Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Revisions & highlighting

76 views
Skip to first unread message

Sensei

unread,
Sep 6, 2010, 8:32:14 AM9/6/10
to
Hi! I am using a (maybe not so) clever command to "highlight" revised
parts in my manuscripts, using colors and defining my commands:

\usepackage{xspace}
\newcommand{\rsrev}{\begin{color}{red}[}
\newcommand{\rerev}{]\end{color}\xspace}
\newcommand{\gsrev}{\begin{color}{green}[}
\newcommand{\gerev}{]\end{color}\xspace}
\newcommand{\bsrev}{\begin{color}{blue}}
\newcommand{\berev}{]\end{color}\xspace}


I'd like now to change the background of the revised parts, and I've
found the "soul" packages with the \hl command.

Since I am not so a TeX/LaTeX guru, I couldn't figure how to use the
\hl command with my new commands above. As a fact, \hl seems to be
different from \color: it doesn't fit in an environment.

Can anyone help me, or suggest another way of highlighting?

Thanks & Cheers!


--

Sensei <Sensei's e-mail is at Me-dot-com>

$ cd /pub
$ more beer

Turgut Durduran

unread,
Sep 6, 2010, 4:38:22 PM9/6/10
to
On 2010-09-06, Sensei <sens...@apple.me.com> wrote:
> Can anyone help me, or suggest another way of highlighting?
>


I use latexdiff ( http://www.ctan.org/tex-archive/support/latexdiff/ ) to
highlight changes between documents.

Joris

unread,
Sep 6, 2010, 5:20:54 PM9/6/10
to
On Sep 6, 4:38 pm, Turgut Durduran <u...@ugdc.org> wrote:

> On 2010-09-06, Sensei <sensei...@apple.me.com> wrote:
>
> > Can anyone help me, or suggest another way of highlighting?
>
> I use latexdiff (http://www.ctan.org/tex-archive/support/latexdiff/) to
> highlight changes between documents.

unfortunately, it chokes on the typical document I feed it..... (in
the sense that the resulting latex file does not compile)

Turgut Durduran

unread,
Sep 7, 2010, 4:27:12 AM9/7/10
to

Sometimes it gives errors to me too but I just keep progressing and I end
up with a fairly usable pdf file.

It is not exactly what you were looking for but I also use:
http://www.ctan.org/tex-archive/macros/latex/contrib/ednotes/


Turgut

Turgut Durduran

unread,
Sep 7, 2010, 4:28:51 AM9/7/10
to

Keks Dose

unread,
Sep 7, 2010, 7:04:22 AM9/7/10
to
On 6 Sep., 14:32, Sensei <sensei...@apple.me.com> wrote:
> Can anyone help me, or suggest another way of highlighting?
>
> Thanks & Cheers!
>
> --
>
> Sensei <Sensei's e-mail is at Me-dot-com>
>
> $ cd /pub
> $ more beer

Hi,

what about the package "changes", made for your purpose?!

HTH
Alexander

Sensei

unread,
Sep 7, 2010, 8:37:35 AM9/7/10
to
On 2010-09-07 13:04:22 +0200, Keks Dose <cook...@web.de> said:

> Hi,
>
> what about the package "changes", made for your purpose?!


That's exactly what I was looking for, with a background color.


--

Sensei <Sensei's e-mail is at Me-dot-com>

It is a very sad thing that nowadays there is so little useless information.
(Oscar Wilde)

Sensei

unread,
Sep 7, 2010, 10:05:09 AM9/7/10
to

So, I have no room for getting \hl work with my macros? I'd really like
highlighting in my tex outputs!


Thanks!


--

Sensei <Sensei's e-mail is at Me-dot-com>

Research (n.): a discovery already published by a chinese guy one month
               before you, copying a russian who did it in the 60s.


0 new messages