<html theme="default-light" iconset="color"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body style="font-family: Lucida Sans; font-size: 12px;"
text="#000000"><div style="font-size: 12px;font-family: Lucida Sans;">Thank
you.<br><br>Here is indeed a working example<br><br><div
style="margin-left: 40px;">\input eplain<br>\font\tengp=cmmib10<br>\newfam\gpfam<br>\textfont\gpfam=\tengp<br>\def\gp{\fam\gpfam\textfont1=\tengp}<br>\def\gth{\hbox{$\gp\vartheta$}}<br>$\gth\neq\vartheta$<br>\end<br></div><br>However
this would require distinct definitions for the same letter in distinct
sizes. <br>The behavior therefore radically departs from standard use
in which you can do, for instance,<br><br>\font\tenscaln=eusm10
<br>\font\sevenscaln=eusm10 scaled 700<br>\newfam\scalnfam\textfont\scalnfam=\tenscaln\scriptfont\scalnfam=\sevenscaln<br>\def\scaln{\fam\scalnfam\tenscaln}%<br>\def\scal{\scaln}<br>\def\A{{\scaln
A}}<br>\def\B{{\scaln B}}<br>$\A_\B$<br><br>Regards,<br><br>Gérald<br><br><span><a class="moz-txt-link-abbreviated" href="mailto:Laurence.Finston@gmx.net">Laurence.Finston@gmx.net</a>
a écrit le 27/8/23 à 15:13 :</span><br><blockquote type="cite"
cite="mid:trinity-ea9102a8-0237-4213-8ec1-3486744ea81d-1693141983802@3c-app-gmx-bap07"><meta
http-equiv="content-type" content="text/html; charset=utf-8"><div
style="font-family: Verdana;font-size: 12.0px;"><div>First, you define a
new family using \newfam. This takes care of the problem that Philip
brought up, because your new \boldgreek or \bg or whatever macro will
change the family within its scope. I think you can have 11 families or
so and plain tex only uses 7 or something. I don't remember the
details. It would be like this:</div>
<div> </div>
<div>\newfam\boldgreekfam</div>
<div>\def\boldgreek{\fam\boldgreekfam\tenboldgreek}</div>
<div> </div>
<div>\newfam just assigns a number. If you know the number, you could
use it instead of \boldgreekfam, but it's better not to.</div>
<div> </div>
<div>Then you set \textfont, \scriptfont and \scriptscriptfont. You
might need to use scaling if this font isn't available in the sizes you
need. </div>
<div>For example, \font\fiveboldgreek=cmboldgreek10 scaled 700.</div>
<div> </div>
<div>I haven't tested this, so you may have to fiddle with it and/or
refer to _The TeXbook_ (never a bad idea).</div>
<div> </div>
<div>That is my attempt to answer your question. My opinion is that it
might be difficult to distinguish bold Greek characters in subscripts
from ordinary Greek characters and that \bf and \rm are meant to be the
exceptions rather than the rule. However, to each his/her own.</div>
<div> </div>
<div>If you have any problems, I'll be happy to try to make a working
example.</div>
<div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px
10px; border-left:2px solid #C3D9E5; word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Sonntag, 27. August
2023 um 12:44 Uhr<br>
<b>Von:</b> "Gérald Tenenbaum" <a class="moz-txt-link-rfc2396E" href="mailto:gerald.tenenbaum@univ-lorraine.fr"><gerald.tenenbaum@univ-lorraine.fr></a><br>
<b>An:</b> <a class="moz-txt-link-abbreviated" href="mailto:Laurence.Finston@gmx.net">Laurence.Finston@gmx.net</a><br>
<b>Cc:</b> "Eplain" <a class="moz-txt-link-rfc2396E" href="mailto:tex-eplain@tug.org"><tex-eplain@tug.org></a><br>
<b>Betreff:</b> Re: Aw: Re: [tex-eplain] boldface greek symbols</div>
<div name="quoted-content">
<div style="font-family: Lucida Sans;font-size: 12.0px;">
<div style="font-size: 12.0px;font-family: Lucida Sans;">So how would it
work with bold greek?<br>
When I tried this I get an error until I insert \hboxes<br>
<br>
<span><a class="moz-txt-link-abbreviated"
href="mailto:Laurence.Finston@gmx.net"
onclick="parent.window.location.href='mailto:Laurence.Finston@gmx.net';
return false;" target="_blank" moz-do-not-send="true">Laurence.Finston@gmx.net</a>
a écrit le 27/8/23 à 12:12 :</span>
<blockquote><div style="font-family: Verdana;font-size: 12.0px;">
<div>> Can't one design a setting working like \bf or \it ?</div>
<div> </div>
<div>Sure. This is how \bf is defined in plain.tex:</div>
<div> </div>
<div>\newfam\bffam \def\bf{\fam\bffam\tenbf} % \bf is family 6<br>
\textfont\bffam=\tenbf \scriptfont\bffam=\sevenbf<br>
\scriptscriptfont\bffam=\fivebf</div>
<div>
<div>
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px
10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Sonntag, 27. August
2023 um 11:41 Uhr<br>
<b>Von:</b> "Gérald Tenenbaum" <a class="moz-txt-link-rfc2396E"
href="mailto:gerald.tenenbaum@univ-lorraine.fr"
onclick="parent.window.location.href='mailto:gerald.tenenbaum@univ-lorraine.fr';
return false;" target="_blank" moz-do-not-send="true"><gerald.tenenbaum@univ-lorraine.fr></a><br>
<b>An:</b> "Philip Taylor (Hellenic Institute)" <a
class="moz-txt-link-rfc2396E"
href="mailto:P.Taylor@Hellenic-Institute.Uk"
onclick="parent.window.location.href='mailto:P.Taylor@Hellenic-Institute.Uk';
return false;" target="_blank" moz-do-not-send="true"><P.Taylor@Hellenic-Institute.Uk></a><br>
<b>Cc:</b> "Eplain" <a class="moz-txt-link-rfc2396E"
href="mailto:tex-eplain@tug.org"
onclick="parent.window.location.href='mailto:tex-eplain@tug.org'; return
false;" target="_blank" moz-do-not-send="true"><tex-eplain@tug.org></a><br>
<b>Betreff:</b> Re: [tex-eplain] boldface greek symbols</div>
<div>
<div style="font-family: Lucida Sans;font-size: 12.0px;">
<div style="font-size: 12.0px;font-family: Lucida Sans;">Thanks.<br>
Yes it suffices, but I also need these boldface letters in subscripts.<br>
I am puzzled by the necessity of using \hbox. Can't one design a setting
working like \bf or \it ?<br>
Regards,<br>
<br>
Gérald<br>
<br>
<span>Philip Taylor (Hellenic Institute) a écrit le 27/8/23 à 11:21 :</span>
<blockquote><div class="moz-cite-prefix">You don't appear to be using <tt><font
size="+1">\gpfam</font></tt>, Gérald — will not the following suffice ?</div>
<p><br>
<tt>\font \tengp = cmmib10</tt><br>
<tt>\def \gp {\textfont 1 = \tengp}</tt><br>
<tt>\def \gth {\hbox {$\gp \vartheta $}}</tt><br>
<tt>$\gth \neq \vartheta $</tt><br>
<tt>\end</tt></p>
<p>--<br>
<i>Philip Taylor</i></p></blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div></blockquote>
</div>
</div>
</div>
</div>
</div>
</div></div></blockquote><br></div></body></html>