Hey folks, How do I set the body text foreground colour? I tried the following, but it just ignored it: \definecolor[colour_text][r=0.754,g=0.516,b=0.324] \setupbodyfontenvironment [default] [em=italic, color=colour_text] I don't want to have to use \startcolor and \stopcolor every time I wish this default to be applied. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
Have you included
\setupcolors[state=start]
somewhere?
-Alasdair
On Wed, Aug 31, 2011 at 11:57 AM, Kip Warner
Hey folks,
How do I set the body text foreground colour? I tried the following, but it just ignored it:
\definecolor[colour_text][r=0.754,g=0.516,b=0.324]
\setupbodyfontenvironment [default] [em=italic, color=colour_text]
I don't want to have to use \startcolor and \stopcolor every time I wish this default to be applied.
-- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
-- Blog: http://amca01.wordpress.com Web: http://bit.ly/Alasdair Facebook: http://www.facebook.com/alasdair.mcandrew
On Wed, 2011-08-31 at 12:16 +1000, Alasdair McAndrew wrote:
Have you included
\setupcolors[state=start]
somewhere?
-Alasdair
Hey Alasdair. Sorry, I should have mentioned that I already have that too. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
Am 31.08.2011 um 03:57 schrieb Kip Warner:
Hey folks,
How do I set the body text foreground colour? I tried the following, but it just ignored it:
\definecolor[colour_text][r=0.754,g=0.516,b=0.324]
\setupbodyfontenvironment [default] [em=italic, color=colour_text]
I don't want to have to use \startcolor and \stopcolor every time I wish this default to be applied.
\setupcolors[textcolor=...] Wolfgang
On Wed, 2011-08-31 at 05:24 +0200, Wolfgang Schuster wrote:
\setupcolors[textcolor=...]
Wolfgang
Thanks Wolfgang, that did it. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On Tue, 30 Aug 2011, Kip Warner wrote:
Hey folks,
How do I set the body text foreground colour? I tried the following, but it just ignored it:
\definecolor[colour_text][r=0.754,g=0.516,b=0.324]
\setupbodyfontenvironment [default] [em=italic, color=colour_text]
I don't want to have to use \startcolor and \stopcolor every time I wish this default to be applied.
\definehighlight[emph][style=em,color=red] \emph{...} Aditya
This brings up a question I have - how do I obtain, say, all {\tt } text in
blue and all {\em } text in red? I seem to be using MkII, and I don't have
access to the \definehighlight command.
Thanks,
Alasdair
On Wed, Aug 31, 2011 at 2:19 PM, Aditya Mahajan
On Tue, 30 Aug 2011, Kip Warner wrote:
Hey folks,
How do I set the body text foreground colour? I tried the following, but it just ignored it:
\definecolor[colour_text][r=0.**754,g=0.516,b=0.324]
\setupbodyfontenvironment [default] [em=italic, color=colour_text]
I don't want to have to use \startcolor and \stopcolor every time I wish this default to be applied.
\definehighlight[emph][style=**em,color=red]
\emph{...}
Aditya
______________________________**______________________________** _______________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/** listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/**projects/contextrev/http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ______________________________**______________________________** _______________________
-- Blog: http://amca01.wordpress.com Web: http://bit.ly/Alasdair Facebook: http://www.facebook.com/alasdair.mcandrew
Am 31.08.2011 um 07:04 schrieb Alasdair McAndrew:
This brings up a question I have - how do I obtain, say, all {\tt } text in blue and all {\em } text in red? I seem to be using MkII, and I don't have access to the \definehighlight command.
\definestartstop[emph][style=italic,color=red] \definestartstop[mono][style=mono,color=blue] \setupbodyfontenvironment[default][em=emph] \starttext text {\em text} text {\emph text} text \emph{text} text text {\mono text} text \mono{text} text \stoptext Wolfgang
participants (4)
-
Aditya Mahajan
-
Alasdair McAndrew
-
Kip Warner
-
Wolfgang Schuster