Hello,

I have been using files written in LyX 1.2.x on LyX 1.3.0. I have defined math-macro for writting tensors which have superscripts and subscripts to the left and right of each other (instead of one above the other). These worked fine for 1.2.x but are causing trouble on 1.3.0 (if I have more then one such macro?)

I have attached an original file (very short) in 1.2.0. If you open it in 1.3.0, save it as 1.3.0 (also attached) and open again (in 1.3.0) the resulting macro is diferent. If you fix one of the two (by adding {}) save, open it again, correct the second one, save once more and open again, the first one you have corrected will change (to superscript and sub script one above the other). If you fix both, save and open again, there is no problem.

Thanks for any help,

Amir.
#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage widemarginsa4
\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{\Tud}[3]{{#1^{#2}}_{#3}}
\end_inset 


\begin_inset FormulaMacro 
\newcommand{\Tdu}[3]{{#1_{#2}}^{#3}}
\end_inset 


\layout Standard


\begin_inset Formula \[
\Tud{T}{u}{d}\]

\end_inset 


\the_end
#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
\spacing single 
\papersize a4paper
\paperpackage widemarginsa4
\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{\Tud}[3]{#1^{#2}_{#3}}
\end_inset 


\begin_inset FormulaMacro 
\newcommand{\Tdu}[3]{#1_{#2}^{#3}}
\end_inset 


\layout Standard


\begin_inset Formula \[
\Tud{T}{u}{d}\]

\end_inset 


\the_end

Reply via email to