]> git.lyx.org Git - lyx.git/commitdiff
Convert deprecated '\rm' to '\textrm' in examples
authorScott Kostyshak <skostysh@lyx.org>
Sun, 28 Aug 2016 23:12:20 +0000 (19:12 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sun, 28 Aug 2016 23:40:37 +0000 (19:40 -0400)
This change fixes the export of our FeynmanDiagrams.lyx example
files on the latest TeX Live 2016.

The IJMP(C|D).lyx examples compiled before the change but might as
well convert these instances of '\rm' also.

The changes were made with the help of the following command:

  find ./ -iregex .*lyx -exec sed -i 's/\\rm /\\textrm /g' {} \;

and the resulting diff was confirmed manually.

This commit is consistent with 3cecd4d3.

lib/examples/FeynmanDiagrams.lyx
lib/examples/de/FeynmanDiagrams.lyx
lib/examples/fr/FeynmanDiagrams.lyx
lib/examples/ja/FeynmanDiagrams.lyx
lib/templates/IJMPC.lyx
lib/templates/IJMPD.lyx

index 2f04454611d41f1110077aaed69a77d1d0ae2f55..f294d92ce205e35bf2a484db76fbaae3a0684a97 100644 (file)
@@ -671,7 +671,7 @@ particle-momentum specification
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $\backslash{\rm momentum}\{fA\}\{\vec{p\}}$
+\begin_inset Formula $\backslash{\textrm momentum}\{fA\}\{\vec{p\}}$
 \end_inset
 
 
@@ -733,7 +733,7 @@ p
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $\backslash{\rm vertexlabel}^{e^{+}}fA$
+\begin_inset Formula $\backslash{\textrm vertexlabel}^{e^{+}}fA$
 \end_inset
 
 
@@ -747,7 +747,7 @@ p
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $fglS\backslash{\rm vertexlabel}_{\gamma}$
+\begin_inset Formula $fglS\backslash{\textrm vertexlabel}_{\gamma}$
 \end_inset
 
 
@@ -769,7 +769,7 @@ p
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $\Diagram{\vertexlabel^{{\rm e^{+}}}fA\\
+\begin_inset Formula $\Diagram{\vertexlabel^{{\textrm e^{+}}}fA\\
 fglS\vertexlabel_{\gamma}
 }
 $
index be9fb6539c6025e3361b1771c592303a6e069336..60d30c011cfe8ec33f821a6b6f428f7318dc90c6 100644 (file)
@@ -676,7 +676,7 @@ Teilchenimpuls-Angabe
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $\backslash{\rm momentum}\{fA\}\{\vec{p\}}$
+\begin_inset Formula $\backslash{\textrm momentum}\{fA\}\{\vec{p\}}$
 \end_inset
 
 
@@ -738,7 +738,7 @@ p
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $\backslash{\rm vertexlabel}^{e^{+}}fA$
+\begin_inset Formula $\backslash{\textrm vertexlabel}^{e^{+}}fA$
 \end_inset
 
 
@@ -752,7 +752,7 @@ p
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $fglS\backslash{\rm vertexlabel}_{\gamma}$
+\begin_inset Formula $fglS\backslash{\textrm vertexlabel}_{\gamma}$
 \end_inset
 
 
@@ -774,7 +774,7 @@ p
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $\Diagram{\vertexlabel^{{\rm e^{+}}}fA\\
+\begin_inset Formula $\Diagram{\vertexlabel^{{\textrm e^{+}}}fA\\
 fglS\vertexlabel_{\gamma}
 }
 $
index d5e85d7dd4dbd898d1363bea652894aae26de363..f81189f86d7bbdd3463a093c08c81803f6346e3e 100644 (file)
@@ -683,7 +683,7 @@ spécification des moments particulaires
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $\backslash{\rm momentum}\{fA\}\{\vec{p\}}$
+\begin_inset Formula $\backslash{\textrm momentum}\{fA\}\{\vec{p\}}$
 \end_inset
 
 
@@ -745,7 +745,7 @@ Une étiquette de sommet
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $\backslash{\rm vertexlabel}^{e^{+}}fA$
+\begin_inset Formula $\backslash{\textrm vertexlabel}^{e^{+}}fA$
 \end_inset
 
 
@@ -759,7 +759,7 @@ Une étiquette de sommet
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $fglS\backslash{\rm vertexlabel}_{\gamma}$
+\begin_inset Formula $fglS\backslash{\textrm vertexlabel}_{\gamma}$
 \end_inset
 
 
@@ -781,7 +781,7 @@ Une étiquette de sommet
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $\Diagram{\vertexlabel^{{\rm e^{+}}}fA\\
+\begin_inset Formula $\Diagram{\vertexlabel^{{\textrm e^{+}}}fA\\
 fglS\vertexlabel_{\gamma}
 }
 $
index 00fa6694ab7efe88704316d1286158a00ab6b4c1..dc8c6a537a41b4891eee9035ea8e635715c83499 100644 (file)
@@ -644,7 +644,7 @@ momentum{ch}{文字列}
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $\backslash{\rm momentum}\{fA\}\{\vec{p\}}$
+\begin_inset Formula $\backslash{\textrm momentum}\{fA\}\{\vec{p\}}$
 \end_inset
 
 
@@ -706,7 +706,7 @@ p
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $\backslash{\rm vertexlabel}^{e^{+}}fA$
+\begin_inset Formula $\backslash{\textrm vertexlabel}^{e^{+}}fA$
 \end_inset
 
 
@@ -720,7 +720,7 @@ p
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $fglS\backslash{\rm vertexlabel}_{\gamma}$
+\begin_inset Formula $fglS\backslash{\textrm vertexlabel}_{\gamma}$
 \end_inset
 
 
@@ -742,7 +742,7 @@ p
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $\Diagram{\vertexlabel^{{\rm e^{+}}}fA\\
+\begin_inset Formula $\Diagram{\vertexlabel^{{\textrm e^{+}}}fA\\
 fglS\vertexlabel_{\gamma}
 }
 $
index 7445abd9f95de67674c22458f5c502077ae8cbad..21607804e376dc0c7efdf57c584dc223b2713ff0 100644 (file)
@@ -548,7 +548,7 @@ A schematic illustration of dissociative recombination.
 \end_inset
 
  is initiated when the molecular ion S
-\begin_inset Formula $_{{\rm L}}$
+\begin_inset Formula $_{{\textrm L}}$
 \end_inset
 
  captures an electron with kinetic energy.
index 8fed9d8ac846f49a0e2649f01a8d850d01891f4b..f4825a28accf31c9d35c8e80058ab9a8203877a0 100644 (file)
@@ -554,7 +554,7 @@ A schematic illustration of dissociative recombination.
 \end_inset
 
  is initiated when the molecular ion S
-\begin_inset Formula $_{{\rm L}}$
+\begin_inset Formula $_{{\textrm L}}$
 \end_inset
 
  captures an electron with kinetic energy.