Re: Coloring by some hash system
- From: Werner Grundlingh <wgrundlingh@xxxxxxxxx>
- Date: Thu, 13 Mar 2008 10:02:43 -0700 (PDT)
On Mar 13, 9:32 am, Anton81 <usen...@xxxxxxxxxxxxxxxx> wrote:
For example I have \hashcol{abc} and \hashcol{$m_n$}. I basically have fixed
content, but possibly including simple mathematical expressions. Actually
the whole purpose is to make parts of equations stand out.
So maybe I would also need some optional paramater that can change the
hashing evaluation, so that I can avoid the most severe hash coincidences.
Anton
The above example that I posted works for 'simple mathematical
expressions', so you can use it in the
\hashcol{$m_n$}
sense and have the whole expression $m_n$ printed in a different
colour. However, I do not know how to, for example, extract the
subscript (n in this case) from the expression and colour that
different from the (say) m. If you want to add optional arguments to
the \hashcol definition, you can do so without problem. Read more
about adding optional arguments by visiting
http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-18.html
However, you are somewhat limited in terms of the optional argument
and what it can do for you. There are more complex constructs that one
can perform.
Werner
.
- Follow-Ups:
- Re: Coloring by some hash system
- From: Luite
- Re: Coloring by some hash system
- References:
- Coloring by some hash system
- From: Anton81
- Re: Coloring by some hash system
- From: Werner Grundlingh
- Re: Coloring by some hash system
- From: Anton81
- Re: Coloring by some hash system
- From: Werner Grundlingh
- Re: Coloring by some hash system
- From: Anton81
- Coloring by some hash system
- Prev by Date: Re: Coloring by some hash system
- Next by Date: CTAN has a new package: show2e
- Previous by thread: Re: Coloring by some hash system
- Next by thread: Re: Coloring by some hash system
- Index(es):
Relevant Pages
|
Loading