Re: Mathematical macro definition???

2003-09-30 Thread Matej Cepl
On 2003-09-30, 04:27 GMT, Herbert Vo wrote: be sure, that you are always in mathmode! \newcommand{\test}[4]{ $\left[\begin{array}{cc} \textit{#1}#4 \\ \textrm{#2}\textrm{#3} \end{array}\right]$% } \test{verb}{VAL}{\test{SPR}{COMP}{intr}{a}}{a} or

Re: Mathematical macro definition???

2003-09-30 Thread Andre Poenitz
On Tue, Sep 30, 2003 at 12:39:40PM +0200, Christian Ridderström wrote: I think the problem is that you are using \textrm and \textit, I've attached a file that uses \mathrm and \mathit instead. Unfortunately, the \mathit-text only shows up as italics in the DVI-file. (I'll post a question in

Re: Mathematical macro definition???

2003-09-30 Thread Christian Ridderström
On Tue, 30 Sep 2003, [ISO-8859-2] Herbert Voß wrote: p.s.: do not use special classes and font settings for demo files. And sending (back) a file from lyx 1.4.0 is ok? ;-) /Christian -- Christian Ridderström http://www.md.kth.se/~chr

Re: Mathematical macro definition???

2003-09-30 Thread Herbert Voß
Andre Poenitz schrieb: On Tue, Sep 30, 2003 at 12:39:40PM +0200, Christian Ridderström wrote: I think the problem is that you are using \textrm and \textit, I've attached a file that uses \mathrm and \mathit instead. Unfortunately, the \mathit-text only shows up as italics in the DVI-file.

Re: Mathematical macro definition???

2003-09-30 Thread Matej Cepl
On 2003-09-30, 04:27 GMT, Herbert Vo wrote: be sure, that you are always in mathmode! \newcommand{\test}[4]{ $\left[\begin{array}{cc} \textit{#1}#4 \\ \textrm{#2}\textrm{#3} \end{array}\right]$% } \test{verb}{VAL}{\test{SPR}{COMP}{intr}{a}}{a} or

Re: Mathematical macro definition???

2003-09-30 Thread Andre Poenitz
On Tue, Sep 30, 2003 at 12:39:40PM +0200, Christian Ridderström wrote: I think the problem is that you are using \textrm and \textit, I've attached a file that uses \mathrm and \mathit instead. Unfortunately, the \mathit-text only shows up as italics in the DVI-file. (I'll post a question in

Re: Mathematical macro definition???

2003-09-30 Thread Christian Ridderström
On Tue, 30 Sep 2003, [ISO-8859-2] Herbert Voß wrote: p.s.: do not use special classes and font settings for demo files. And sending (back) a file from lyx 1.4.0 is ok? ;-) /Christian -- Christian Ridderström http://www.md.kth.se/~chr

Re: Mathematical macro definition???

2003-09-30 Thread Herbert Voß
Andre Poenitz schrieb: On Tue, Sep 30, 2003 at 12:39:40PM +0200, Christian Ridderström wrote: I think the problem is that you are using \textrm and \textit, I've attached a file that uses \mathrm and \mathit instead. Unfortunately, the \mathit-text only shows up as italics in the DVI-file.

Re: Mathematical macro definition???

2003-09-30 Thread Matej Cepl
On 2003-09-30, 04:27 GMT, Herbert Voß wrote: > be sure, that you are always in mathmode! > > \newcommand{\test}[4]{ > $\left[\begin{array}{cc} > \textit{#1} & #4 \\ > \textrm{#2} & \textrm{#3} > \end{array}\right]$% > } > > > \test{verb}{VAL}{\test{SPR}{COMP}{intr}{a}}{a}

Re: Mathematical macro definition???

2003-09-30 Thread Andre Poenitz
On Tue, Sep 30, 2003 at 12:39:40PM +0200, Christian Ridderström wrote: > I think the problem is that you are using \textrm and \textit, I've > attached a file that uses \mathrm and \mathit instead. Unfortunately, the > \mathit-text only shows up as italics in the DVI-file. > (I'll post a

Re: Mathematical macro definition???

2003-09-30 Thread Christian Ridderström
On Tue, 30 Sep 2003, [ISO-8859-2] Herbert Voß wrote: > p.s.: do not use special classes and font settings > for demo files. And sending (back) a file from lyx 1.4.0 is ok? ;-) /Christian -- Christian Ridderström http://www.md.kth.se/~chr

Re: Mathematical macro definition???

2003-09-30 Thread Herbert Voß
Andre Poenitz schrieb: On Tue, Sep 30, 2003 at 12:39:40PM +0200, Christian Ridderström wrote: I think the problem is that you are using \textrm and \textit, I've attached a file that uses \mathrm and \mathit instead. Unfortunately, the \mathit-text only shows up as italics in the DVI-file.

Re: Mathematical macro definition???

2003-09-29 Thread Herbert Vo
Matej Cepl schrieb: \begin_inset FormulaMacro \newcommand{\test}[4]{\left[\begin{array}{cc} \textit{#1}#4 \\ \textrm{#2}\textrm{#3}\end{array}\right]} \end_inset \layout Standard \begin_inset Formula $\test{verb}{VAL}{\test{SPR}{COMP}{intr}{a}}{a}$ \end_inset be sure, that you are

Re: Mathematical macro definition???

2003-09-29 Thread Herbert Vo
Matej Cepl schrieb: \begin_inset FormulaMacro \newcommand{\test}[4]{\left[\begin{array}{cc} \textit{#1}#4 \\ \textrm{#2}\textrm{#3}\end{array}\right]} \end_inset \layout Standard \begin_inset Formula $\test{verb}{VAL}{\test{SPR}{COMP}{intr}{a}}{a}$ \end_inset be sure, that you are

Re: Mathematical macro definition???

2003-09-29 Thread Herbert Voß
Matej Cepl schrieb: \begin_inset FormulaMacro \newcommand{\test}[4]{\left[\begin{array}{cc} \textit{#1} & #4 \\ \textrm{#2} & \textrm{#3}\end{array}\right]} \end_inset \layout Standard \begin_inset Formula $\test{verb}{VAL}{\test{SPR}{COMP}{intr}{a}}{a}$ \end_inset be sure, that you are