Tuukka Toivonen wrote:
> 
> Another font problem.
> 
> Normal variables are written in italics. All right.
> 
> Some things -- like functions -- are written in normal font. I can
> get that using Alt-M-M in math mode. All right.
> 
> But how can I get bold font for things like matrices?
> 
> Or more generally: how to change the font type and attributes in math
> mode? Is it even possible?

some times ago we had the same discussion. have a look at
the sample file. in latex preamlble you find all definitions.
The amslatex-fonts, especially ueur.fd, must be installed.

Herbert



-- 
[EMAIL PROTECTED]
http://www.perce.de/voss
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.15
\textclass article
\begin_preamble
\input{ueur.fd}
\DeclareMathVersion{euler}
\DeclareMathVersion{eulerbold}
\SetSymbolFont{letters}  {euler}{U}{eur} {m}{n}
\SetSymbolFont{letters}  {eulerbold}{U}{eur} {b}{n}
\SetSymbolFont{operators}{eulerbold}{OT1}{cmr} {bx}{n}
\SetSymbolFont{symbols}  {eulerbold}{OMS}{cmsy}{b}{n}
\SetMathAlphabet\mathsf{eulerbold}{OT1}{cmss}{bx}{n}
\SetMathAlphabet\mathit{eulerbold}{OT1}{cmr}{bx}{it}
\def\eulermath{\@nomath\eulermath
              \mathversion{euler}}
\def\uneulermath{\@nomath\uneulermath
              \mathversion{normal}}
\def\eulerbfmath{\@nomath\eulerbfmath
              \mathversion{eulerbold}}
\def\uneulerbfmath{\@nomath\uneulerbfmath
              \mathversion{normal}}
\newcommand{\bfmath}[1]{\mbox{\boldmath$#1$\unboldmath}}
\newcommand{\eumath}[1]{\mbox{\eulermath$#1$\uneulermath}}
\newcommand{\eubmath}[1]{\mbox{\eulerbfmath$#1$\uneulerbfmath}}
\let\newcommand=\providecommand
\end_preamble
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

Here are some greek lowercase letters in the normal font
\begin_inset Formula 
\[
\alpha \beta _{\gamma }^{\delta \epsilon }-\pi \varpi \times \sigma \varsigma ,\]

\end_inset 

 in the bold font
\begin_inset Formula 
\[
\bfmath {\alpha \beta _{\gamma }^{\delta \epsilon }-\pi \varpi \times \sigma \varsigma },\]

\end_inset 

in the upright font
\begin_inset Formula 
\[
\eumath {\alpha \beta _{\gamma }^{\delta \epsilon }-\pi \varpi \times \sigma \varsigma },\]

\end_inset 

and in the bold upright font
\begin_inset Formula 
\[
\eubmath {\alpha \beta _{\gamma }^{\delta \epsilon }-\pi \varpi \times \sigma \varsigma }.\]

\end_inset 

If you want to use them only in exponents and in suffices, a kludge is required:
\begin_inset Formula 
\begin{eqnarray*}
X_{\zeta }^{\eta } &  & X\bfmath {{}_{\zeta }^{\eta }}\\
X\eumath {{}_{\zeta }^{\eta }} &  & X\eubmath {{}_{\zeta }^{\eta }}
\end{eqnarray*}

\end_inset 


\layout Standard

\the_end

Reply via email to