<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">
<blockquote style="border: 0px none;" cite="mid:55C4E234.3060203@gmx.es"
type="cite">
<div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="width:100%;border-top:1px solid #EDEEF0;padding-top:5px"> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
<a moz-do-not-send="true" href="mailto:oinos@gmx.es"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Pablo Rodriguez</a></div> <div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
right;"> <font color="#9FA2A5"><span style="padding-left:6px">7.
August 2015 18:52</span></font></div> </div></div>
<div style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody"><div>Dear list,<br><br>I have
the following sample:<br><br>
\definefontfamily[timesnew][serif][FreeSerif]<br>
\definefontfamily[droidserif][serif][Droid Serif]<br>
\setupbodyfont[palatino, 12pt]<br> \starttext<br> I want to have
\type{\timesnew\ttfx} and \type{\droidserif\ttfx}<br> in each cell,
but \type{foregroundstyle} doesn’t seem to work<br> (compilation
crashes).<br> \startxtable<br> \blank<br> \startxrow<br>
\startxcell \ConTeXt\ is awesome!\stopxcell<br> \startxcell \ConTeXt\
is awesome!\stopxcell<br> \stopxrow<br> \stopxtable<br> \blank<br>
Typeface selection doesn’t seem to work even with paragraphs:<br>
\defineparagraphs[timesdroid][each][n=2, before=\blank]<br>
\defineparagraphs[timesdroid][1][style=\newtimes]<br>
\defineparagraphs[timesdroid][2][style=\droidserif]<br>
\starttimesdroid<br> \ConTeXt\ is awesome!<br> \timesdroid<br>
\ConTeXt\ is awesome!<br> \stoptimesdroid<br> \stoptext<br><br>All
I need is to be able to have a text with a given font family and a<br>smaller
font size on the left and the same text with the same font size<br>but
another font family on the right.<br><br>I have failed with both xtables
and paragraphs.<br><br>Wnat am I missing in each case?<br>
</div></div>
</blockquote>
There is no \ttfx font switch command, what ConTeXt has is \tfx (with
one “t” in the name)<br>
which switches to a smaller size for the upright font and \tttfx (with
three “t” in the name)<br>
which switches to a smaller size for the upright typewriter font.<br>
<br>
Wolfgang<br>
</body></html>