Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] colors are applied to the entire document

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] colors are applied to the entire document


Chronological Thread 
  • From: Henri Lesourd <address@hidden>
  • To: "David G. Wonnacott" <address@hidden>
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] colors are applied to the entire document
  • Date: Fri, 17 Nov 2006 16:54:40 +0100

David G. Wonnacott wrote:

This is somewhat off the previous topic, but I am about to start
working on a document in which I'll need to make a somewhat unusual
use of color for text. Specifically, in some cases I'll need to have a
single letter with two colors (e.g., one that is half pale blue and
half orange); this may need to be a very narrow letter such as "i", so
I may have to partition the letter vertically (e.g., top half blue and
bottom half orange) to make it visually evident (I'll also be using a
large font, of course).


Depends on the letter you want. The attached document
demonstrates how to do this with a table for the
letter "i", and gives an example with superposing
the letters "o" and "x". You could also try with
the TeXmacs vector graphics editor, although I didn't
tried this in my example (I would need more details
about what kind of multicolor letters you want to do
to be able to elaborate more my examples ; feel free
to give more details & ask more things in a followup
mail ;-).

Best, Henri
<TeXmacs|1.0.6.6>

<style|generic>

<\body>

<assign|big-i|<macro|x|<with|font-base-size|<arg|x>|<tabular|<tformat|<cwith|1|1|1|1|cell-hyphen|t>|<table|<row|<\cell>
\
<with|color|blue|<with|font-base-size|<times|15|<value|font-base-size>>|<with|mode|math|
\<bullet\>>>>

\;

\;

</cell>>|<row|<cell|<with|font-base-size|<times|60|<value|font-base-size>>|<with|color|red|l>>>>>>>>>>

<big-i|1.2>

\;

\;


<superpose|<with|font-base-size|60|color|blue|o>|<with|font-base-size|60|color|red|x>>
</body>

<\initial>
<\collection>
<associate|page-type|letter>
<associate|preamble|false>
<associate|sfactor|5>
</collection>
</initial>


Archive powered by MHonArc 2.6.19.

Top of Page