> >> i.e. the LyX expects a "simple" token after the \dot and cannot
> >> handle compounds.
> >>
> >> I wonder whether this can be changed.
> This is because \dot is an accent and not a macro. That's probably the
> reason why ams provides \Dot.
Still, there are cases, where also an accent might
>> i.e. the LyX expects a "simple" token after the \dot and cannot
>> handle compounds.
>>
>> I wonder whether this can be changed.
This is because \dot is an accent and not a macro. That's probably the
reason why ams provides \Dot.
JMarc
Guenter Milde wrote:
> My first suggestion was to change the order of input (supposing that for
> typesetting it does not matter, whether the operations are commutative),
> i.e. instead of
>
>\dot{\mean{g (with lyx inserting the closing brackets)
> put
> \mean{\dot g
>
> It works, but th
> Oscar wrote:
> >
> > Hi all:
> >
> > I am trying to get the time derivative of the mean value of a variable.
> > To
> > implement the mean value of a variable I defined in the preamble:
> >
> > \newcommand{\mean}[1]{<#1>}
> >
Herbert Voss wrote:
>
> try
> \newcommand\myDot[1]{\dot{#1}}
> or
> \newcommand\myDotMean[1]{\dot{\mean{#1}}}
>
Thank you very much for your help Herbert.
But I would like to know if there exists a bug with \dot in math mode,
because, yes, I can define other commands to solve the problem, i.e. I
Oscar wrote:
>
> Hi all:
>
> I am trying to get the time derivative of the mean value of a variable.
> To
> implement the mean value of a variable I defined in the preamble:
>
> \newcommand{\mean}[1]{<#1>}
>
> I guess that there is a problem with \dot in
}\mean {x}\]
If I type Alt-m d \dot space \mean{x
the tex output is:
\[
\dot{\mean }{x}\]
which both of them are completely wrong, because I would like to obtain
\[
\dot{\mean{x}}\]
I guess that there is a problem with \dot in math mode, but maybe I have
missed something important. What am I