On Mon, Jun 16, 2003 at 10:46:29AM +0100, Angus Leeming wrote:
> Is it possible to define a math macro so that the body is in bold but
> any sub/superscripts are not?
>
> Currently, I have:
> \newcommand{\Matrix}[1]{\boldsymbol{#1}}
> \Matrix{m}_{B}=\left[\ldots\right]
> but would prefer
> \Matrix{m_{B}}=\left[\ldots\right]
>
> Can this be done?
Hm, I thought it should, but it doesn't properly show on screen.
Try the attached file.
Andre'
--
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 224
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes 0
\end_header
\layout Standard
\begin_inset FormulaMacro
\newcommand{\xx}[1]{{\boldsymbol{#1}}}
{\mathbf{#1}}
\end_inset
\layout Standard
\begin_inset Formula $\xx{\alpha}_{\alpha}^{\alpha}$
\end_inset
\the_end