Nirmal Govind wrote:
> The second solution doesn't compile. I get the following errors:
Try the example attached.
--
Angus
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\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
\layout Standard
\begin_inset FormulaMacro
\newcommand{\Matrix}[1]{\boldsymbol{#1}}
{\mathbf{#1}}
\end_inset
\layout Standard
\begin_inset FormulaMacro
\newcommand{\Vector}[1]{\boldsymbol{#1}}
{\mathbf{#1}}
\end_inset
\layout Standard
An example equation:
\begin_inset Formula \[
\Matrix{M}\Vector{\gamma}=\Vector{\delta}\]
\end_inset
\the_end