]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/aas_sample.lyx
Fix pasting insets into math (bug #9302)
[lyx.git] / lib / examples / aas_sample.lyx
index dbd2bfc12f3ec71d5231b14168168e31e6d9948f..693b7411179faa9384f55c5e668ae587cf9161ab 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 344
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 474
 \begin_document
 \begin_header
 \textclass aastex
 \shortauthors{Collapsed Cores in Globular Clusters}
 \end_preamble
 \use_default_options false
+\maintain_unincluded_children false
 \language english
+\language_package default
 \inputencoding default
+\fontencoding global
 \font_roman default
 \font_sans default
 \font_typewriter default
+\font_math auto
 \font_default_family default
+\use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
-
 \graphics default
+\default_output_format default
+\output_sync 0
+\bibtex_command default
+\index_command default
 \paperfontsize default
 \spacing single
 \use_hyperref false
 \papersize default
 \use_geometry false
-\use_amsmath 0
-\use_esint 0
+\use_package amsmath 0
+\use_package amssymb 0
+\use_package cancel 0
+\use_package esint 0
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
 \cite_engine basic
+\cite_engine_type default
+\biblio_style plain
 \use_bibtopic false
+\use_indices false
 \paperorientation portrait
+\suppress_date false
+\justification true
+\use_refstyle 0
+\index Index
+\shortcut idx
+\color #008000
+\end_index
 \secnumdepth 3
 \tocdepth 3
 \paragraph_separation indent
-\defskip medskip
+\paragraph_indentation default
 \quotes_language english
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
 \tracking_changes false
 \output_changes false
-\author "" 
-\author "" 
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
 \end_header
 
 \begin_body
@@ -133,13 +160,11 @@ Space Telescope Science Institute, Baltimore, MD 21218
 \end_layout
 
 \begin_layout Altaffilation
-1
-\begin_inset ERT
-status collapsed
+\begin_inset Argument 1
+status open
 
 \begin_layout Plain Layout
-
-}{
+1
 \end_layout
 
 \end_inset
@@ -153,13 +178,11 @@ under contract to the National Science Foundation.
 \end_layout
 
 \begin_layout Altaffilation
-2
-\begin_inset ERT
-status collapsed
+\begin_inset Argument 1
+status open
 
 \begin_layout Plain Layout
-
-}{
+2
 \end_layout
 
 \end_inset
@@ -168,13 +191,11 @@ Society of Fellows, Harvard University.
 \end_layout
 
 \begin_layout Altaffilation
-3
-\begin_inset ERT
-status collapsed
+\begin_inset Argument 1
+status open
 
 \begin_layout Plain Layout
-
-}{
+3
 \end_layout
 
 \end_inset
@@ -184,13 +205,11 @@ present address: Center for Astrophysics, 60 Garden Street, Cambridge, MA
 \end_layout
 
 \begin_layout Altaffilation
-4
-\begin_inset ERT
-status collapsed
+\begin_inset Argument 1
+status open
 
 \begin_layout Plain Layout
-
-}{
+4
 \end_layout
 
 \end_inset
@@ -199,13 +218,11 @@ Visiting Programmer, Space Telescope Science Institute
 \end_layout
 
 \begin_layout Altaffilation
-5
-\begin_inset ERT
-status collapsed
+\begin_inset Argument 1
+status open
 
 \begin_layout Plain Layout
-
-}{
+5
 \end_layout
 
 \end_inset
@@ -459,8 +476,10 @@ A tree-level amplitude in
 \end_inset
 
  collisions can be expressed in terms of fermion strings of the form 
-\begin_inset Formula \begin{equation}
-\bar{v}(p_{2},\sigma_{2})P_{-\tau}\hat{a}_{1}\hat{a}_{2}\cdots\hat{a}_{n}u(p_{1},\sigma_{1}),\end{equation}
+\begin_inset Formula 
+\begin{equation}
+\bar{v}(p_{2},\sigma_{2})P_{-\tau}\hat{a}_{1}\hat{a}_{2}\cdots\hat{a}_{n}u(p_{1},\sigma_{1}),
+\end{equation}
 
 \end_inset
 
@@ -520,29 +539,39 @@ In the chiral representation the
 \end_inset
 
  and the unit matrix 1 as 
-\begin_inset Formula \begin{eqnarray*}
+\begin_inset Formula 
+\begin{eqnarray*}
 \gamma^{\mu} & = & \left(\begin{array}{cc}
 0 & \sigma_{+}^{\mu}\\
-\sigma_{-}^{\mu} & 0\end{array}\right),\gamma^{5}=\left(\begin{array}{cc}
+\sigma_{-}^{\mu} & 0
+\end{array}\right),\gamma^{5}=\left(\begin{array}{cc}
 -1 & 0\\
-0 & 1\end{array}\right),\\
-\sigma_{\pm}^{\mu} & = & ({\textbf{1}},\pm\sigma),\end{eqnarray*}
+0 & 1
+\end{array}\right),\\
+\sigma_{\pm}^{\mu} & = & ({\textbf{1}},\pm\sigma),
+\end{eqnarray*}
 
 \end_inset
 
  giving 
-\begin_inset Formula \begin{equation}
+\begin_inset Formula 
+\begin{equation}
 \hat{a}=\left(\begin{array}{cc}
 0 & (\hat{a})_{+}\\
-(\hat{a})_{-} & 0\end{array}\right),(\hat{a})_{\pm}=a_{\mu}\sigma_{\pm}^{\mu},\end{equation}
+(\hat{a})_{-} & 0
+\end{array}\right),(\hat{a})_{\pm}=a_{\mu}\sigma_{\pm}^{\mu},
+\end{equation}
 
 \end_inset
 
  The spinors are expressed in terms of two-component Weyl spinors as 
-\begin_inset Formula \begin{equation}
+\begin_inset Formula 
+\begin{equation}
 u=\left(\begin{array}{c}
 (u)_{-}\\
-(u)_{+}\end{array}\right),v={\textbf{(}}\vdag_{+}{\textbf{,}}\vdag_{-}{\textbf{)}}.\end{equation}
+(u)_{+}
+\end{array}\right),v={\textbf{(}}\vdag_{+}{\textbf{,}}\vdag_{-}{\textbf{)}}.
+\end{equation}
 
 \end_inset
 
@@ -562,9 +591,11 @@ The Weyl spinors are given in terms of helicity eigenstates
 \end_layout
 
 \begin_layout MathLetters
-\begin_inset Formula \begin{eqnarray}
+\begin_inset Formula 
+\begin{eqnarray}
 u(p,\lambda)_{\pm} & = & (E\pm\lambda|{\textbf{p}}|)^{1/2}\chi_{\lambda}(p),\\
-v(p,\lambda)_{\pm} & = & \pm\lambda(E\mp\lambda|{\textbf{p}}|)^{1/2}\chi_{-\lambda}(p)\end{eqnarray}
+v(p,\lambda)_{\pm} & = & \pm\lambda(E\mp\lambda|{\textbf{p}}|)^{1/2}\chi_{-\lambda}(p)
+\end{eqnarray}
 
 \end_inset
 
@@ -578,36 +609,46 @@ Floating material and so forth
 \begin_layout Standard
 Consider a task that computes profile parameters for a modified Lorentzian
  of the form 
-\begin_inset Formula \begin{equation}
-I=\frac{1}{1+d_{1}^{P(1+d_{2})}}\end{equation}
+\begin_inset Formula 
+\begin{equation}
+I=\frac{1}{1+d_{1}^{P(1+d_{2})}}
+\end{equation}
 
 \end_inset
 
  where 
-\begin_inset Formula \[
+\begin_inset Formula 
+\[
 d_{1}=\sqrt{\left(\begin{array}{c}
 \frac{x_{1}}{R_{maj}}\end{array}\right)^{2}+\left(\begin{array}{c}
-\frac{y_{1}}{R_{min}}\end{array}\right)^{2}}\]
+\frac{y_{1}}{R_{min}}\end{array}\right)^{2}}
+\]
 
 \end_inset
 
 
-\begin_inset Formula \[
+\begin_inset Formula 
+\[
 d_{2}=\sqrt{\left(\begin{array}{c}
 \frac{x_{1}}{PR_{maj}}\end{array}\right)^{2}+\left(\begin{array}{c}
-\case{y_{1}}{PR_{min}}\end{array}\right)^{2}}\]
+\case{y_{1}}{PR_{min}}\end{array}\right)^{2}}
+\]
 
 \end_inset
 
 
-\begin_inset Formula \[
-x_{1}=(x-x_{0})\cos\Theta+(y-y_{0})\sin\Theta\]
+\begin_inset Formula 
+\[
+x_{1}=(x-x_{0})\cos\Theta+(y-y_{0})\sin\Theta
+\]
 
 \end_inset
 
 
-\begin_inset Formula \[
-y_{1}=-(x-x_{0})\sin\Theta+(y-y_{0})\cos\Theta\]
+\begin_inset Formula 
+\[
+y_{1}=-(x-x_{0})\sin\Theta+(y-y_{0})\cos\Theta
+\]
 
 \end_inset
 
@@ -722,7 +763,29 @@ status collapsed
 
 
 \backslash
-anchor{ftp://www.aas.org/pubs/}{AAS ftp site}
+anchor{
+\end_layout
+
+\end_inset
+
+ftp://www.aas.org/pubs/
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+AAS ftp site
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
 \end_layout
 
 \end_inset
@@ -741,8 +804,10 @@ Appendicial material
 \begin_layout Standard
 Consider once again a task that computes profile parameters for a modified
  Lorentzian of the form 
-\begin_inset Formula \begin{equation}
-I=\frac{1}{1+d_{1}^{P(1+d_{2})}}\end{equation}
+\begin_inset Formula 
+\begin{equation}
+I=\frac{1}{1+d_{1}^{P(1+d_{2})}}
+\end{equation}
 
 \end_inset
 
@@ -750,25 +815,31 @@ I=\frac{1}{1+d_{1}^{P(1+d_{2})}}\end{equation}
 \end_layout
 
 \begin_layout MathLetters
-\begin_inset Formula \[
+\begin_inset Formula 
+\[
 d_{1}=\frac{3}{4}\sqrt{\left(\begin{array}{c}
 \frac{x_{1}}{R_{maj}}\end{array}\right)^{2}+\left(\begin{array}{c}
-\frac{y_{1}}{R_{min}}\end{array}\right)^{2}}\]
+\frac{y_{1}}{R_{min}}\end{array}\right)^{2}}
+\]
 
 \end_inset
 
 
-\begin_inset Formula \begin{equation}
+\begin_inset Formula 
+\begin{equation}
 d_{2}=\case{3}{4}\sqrt{\left(\begin{array}{c}
 \frac{x_{1}}{PR_{maj}}\end{array}\right)^{2}+\left(\begin{array}{c}
-\case{y_{1}}{PR_{min}}\end{array}\right)^{2}}\end{equation}
+\case{y_{1}}{PR_{min}}\end{array}\right)^{2}}
+\end{equation}
 
 \end_inset
 
 
-\begin_inset Formula \begin{eqnarray}
+\begin_inset Formula 
+\begin{eqnarray}
 x_{1} & = & (x-x_{0})\cos\Theta+(y-y_{0})\sin\Theta\\
-y_{1} & = & -(x-x_{0})\sin\Theta+(y-y_{0})\cos\Theta\end{eqnarray}
+y_{1} & = & -(x-x_{0})\sin\Theta+(y-y_{0})\cos\Theta
+\end{eqnarray}
 
 \end_inset
 
@@ -778,8 +849,10 @@ y_{1} & = & -(x-x_{0})\sin\Theta+(y-y_{0})\cos\Theta\end{eqnarray}
 \begin_layout Standard
 For completeness, here is one last equation.
  
-\begin_inset Formula \begin{equation}
-e=mc^{2}\end{equation}
+\begin_inset Formula 
+\begin{equation}
+e=mc^{2}
+\end{equation}
 
 \end_inset
 
@@ -1136,7 +1209,10 @@ Spitzer, L.
 
 \end_layout
 
-\begin_layout FigCaption
+\begin_layout Standard
+\begin_inset Caption FigCaption
+
+\begin_layout Plain Layout
 \begin_inset CommandInset label
 LatexCommand label
 name "fig1"
@@ -1146,7 +1222,15 @@ name "fig1"
 This is the first figure and it uses sgi9259.eps as its EPS figure file.
 \end_layout
 
-\begin_layout FigCaption
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Caption FigCaption
+
+\begin_layout Plain Layout
 \begin_inset CommandInset label
 LatexCommand label
 name "fig2"
@@ -1159,7 +1243,15 @@ This is an example of a long figure caption that must be set as a paragraph.
  
 \end_layout
 
-\begin_layout FigCaption
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Caption FigCaption
+
+\begin_layout Plain Layout
 \begin_inset CommandInset label
 LatexCommand label
 name "fig3"
@@ -1168,6 +1260,11 @@ name "fig3"
 
 This figure has no associated EPS file, so the optional parameter is omitted.
  
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -1184,7 +1281,7 @@ sideways false
 status open
 
 \begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 Terribly relevant tabular information.
@@ -1213,7 +1310,7 @@ name "tbl-2"
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="7" columns="13">
-<features>
+<features rotate="0" tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="right" valignment="top" width="0pt">
 <column alignment="right" valignment="top" width="0pt">