Subject: mailing-list for TeXmacs Users
List archive
From : Manuel Maarek <address@hidden>- To: address@hidden
- Cc: address@hidden, address@hidden
- Subject: Re: [TeXmacs] background colour
- Date: Tue, 08 Aug 2006 14:07:56 +0100
Henri Lesourd wrote:
Manuel Maarek wrote:
Hello,No, we found a better way when we met with Manuel
I would like to know if it is possible to change the background colour
of a piece of text. The simplest way I know of uses tables or blocks.
This works fine to colour an entire paragraph but not to only colour one
sentence in a paragraph. In 2004 on this mailing list, Henri mentioned
an hypothetic way to do so, would it be possible to implement it?
Henri Lesourd wrote:
There should be an option to change the background color of a part
of the text ; unfortunately, the following markup :
[[
<with|bg-color|green|Hello2 !>
]]
appears to be not working (since this one :
[[
<with|color|green|Hello1 !>
]]
works very well).
Thank you,
Best regards
Manuel
last year. Please have a look at the files in the
attachment of this email for a working example.
Any comments, criticisms, wishes, etc. welcomed.
Best, Henri
Thanks a lot Henri. I updated your file so that 'colored' takes a colour
as argument.
Manuel
<TeXmacs|1.0.5>
<style|<tuple|generic|coloredParagraphBackground>>
<\body>
<inactive|>
<\colored>
Heldslk jdlskjdskj skjdls jjdjjjjj jjjjjjjjjjjjjjj jjjjjjjj
jjjjjjjjjjjjjjjj jjjjjjjjjjjjjjjjjjjjjjjjj jjjjjjjjjjjjjjjjjjjjjjjjjjjjj
jjjjjjjjjj jjjjjjjjj jjjjjjjjjjj jjjj jjjjjjjjjjjj jjj jjjjjjjjj
jjjjjjjjjjjjj djjjjjjjjjjjjjjj\
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjlo
</colored>
<\colored>
Heldslkjdlskjdskj
skjdlsjjdjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
djjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjlo
</colored>
\;
\ \ \ \ \ \ \ <colored|abxxxxx xxxxxx xxxxxxxxx \ xxxxxxxxxxxx
xxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxx xxxxx xxxxxxxx xxxxx \ xxxxxxxx
\ \ xxxxxxx \ xxxxxxx xxxxxxxxxxxxxcde>
\
</body>
<\initial>
<\collection>
<associate|page-type|letter>
<associate|preamble|false>
</collection>
</initial>
<TeXmacs|1.0.5>
<style|<tuple|source|std>>
<\body>
<active*|<\src-title>
<src-package|henri|1.0>
<\src-purpose>
Background colors in paragraphs
</src-purpose>
<src-copyright|1998--2004|Joris van der Hoeven>
<\src-license>
This <TeXmacs> style package falls under the <hlink|GNU general public
license|$TEXMACS_PATH/LICENSE> and comes WITHOUT ANY WARRANTY
WHATSOEVER. If you do not have a copy of the license, then write to the
Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
</src-license>
</src-title>>
<assign|colored|<macro|x|<style-with|src-compact|none|<datoms|<macro|x|<style-with|src-compact|none|<resize|<tabular|<tformat|<cwith|1|1|1|1|cell-lsep|0cm>|<cwith|1|1|1|1|cell-rsep|0cm>|<cwith|1|1|1|1|cell-background|green>|<table|<row|<cell|<resize|<arg|x>||b-0.15em||t+0.15em|>>>>>>||b+0.15em||t-0.15em|>>>|<arg|x>>>>>
<drd-props|colored|arity|1|accessible|all>
<colored|Hello>
\;
</body>
<\initial>
<\collection>
<associate|preamble|true>
</collection>
</initial>
- Re: [TeXmacs] background colour, Henri Lesourd, 08/07/2006
- Re: [TeXmacs] background colour, Manuel Maarek, 08/08/2006
- Re: [TeXmacs] background colour, Henri Lesourd, 08/08/2006
- Re: [TeXmacs] background colour, Manuel Maarek, 08/08/2006
- Re: [TeXmacs] background colour, Manuel Maarek, 08/08/2006
Archive powered by MHonArc 2.6.19.