Re: Arrays or similar in \xymatrix{

2012-02-05 Thread Paul A . Rubin
I'm not entirely sure I know what you want. Does the following file do it?

Paul

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\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 letterpaper
\use_geometry true
\use_amsmath 2
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset Formula $\xymatrix{S_{0}u^{2}\\
S_{0}u\ar[urr]\ar[drr]\\
S_{0}\ar[urr]\ar[drr]\genfrac{}{}{0pt}{0}{S_{0}u}{f_{u}}\\
S_{0}d\ar[urr]\ar[drr]\\
S_{0}d^{2}
}
$
\end_inset


\end_layout

\end_body
\end_document






Re: Arrays or similar in \xymatrix{

2012-02-05 Thread Paul A . Rubin
I'm not entirely sure I know what you want. Does the following file do it?

Paul

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\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 letterpaper
\use_geometry true
\use_amsmath 2
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset Formula $\xymatrix{S_{0}u^{2}\\
S_{0}u\ar[urr]\ar[drr]\\
S_{0}\ar[urr]\ar[drr]\genfrac{}{}{0pt}{0}{S_{0}u}{f_{u}}\\
S_{0}d\ar[urr]\ar[drr]\\
S_{0}d^{2}
}
$
\end_inset


\end_layout

\end_body
\end_document






Re: Arrays or similar in \xymatrix{

2012-02-05 Thread Paul A . Rubin
I'm not entirely sure I know what you want. Does the following file do it?

Paul

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\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 letterpaper
\use_geometry true
\use_amsmath 2
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset Formula $\xymatrix{ &  &  &  & S_{0}u^{2}\\
 &  & S_{0}u\ar[urr]\ar[drr]\\
S_{0}\ar[urr]\ar[drr] &  &  &  & \genfrac{}{}{0pt}{0}{S_{0}u}{f_{u}}\\
 &  & S_{0}d\ar[urr]\ar[drr]\\
 &  &  &  & S_{0}d^{2}
}
$
\end_inset


\end_layout

\end_body
\end_document






Arrays or similar in \xymatrix{

2012-02-03 Thread tojarvin

Hi,
I'm having difficulties creating an binomial option tree. The tree is  
fine, however, LYX refuses to let me create two lines on top of each  
other at the nodes. All fractions and \underset work, but I would like  
the entries (S_0u / f_u) to be equally sized in two lines at each node  
without fraction lines. Neither tables nor array/align,  
*\txt{S_0ud\\f_ud} etc shows up in the figure. Is there anyway around  
this in LYX or do I need to write it in TEX?

My entry looks like:

\xymatrix{

S_0u^2\\

  S_0u \ar[urr] \ar[drr]   \\

S_0 \ar[urr] \ar[drr] *{\txt4pc{S_0ud\\ f_ud}} \\

  S_0d \ar[urr] \ar[drr]   \\

S_0d^2}

Best regards,
Tomi




Arrays or similar in \xymatrix{

2012-02-03 Thread tojarvin

Hi,
I'm having difficulties creating an binomial option tree. The tree is  
fine, however, LYX refuses to let me create two lines on top of each  
other at the nodes. All fractions and \underset work, but I would like  
the entries (S_0u / f_u) to be equally sized in two lines at each node  
without fraction lines. Neither tables nor array/align,  
*\txt{S_0ud\\f_ud} etc shows up in the figure. Is there anyway around  
this in LYX or do I need to write it in TEX?

My entry looks like:

\xymatrix{

S_0u^2\\

  S_0u \ar[urr] \ar[drr]   \\

S_0 \ar[urr] \ar[drr] *{\txt4pc{S_0ud\\ f_ud}} \\

  S_0d \ar[urr] \ar[drr]   \\

S_0d^2}

Best regards,
Tomi




Arrays or similar in \xymatrix{

2012-02-03 Thread tojarvin

Hi,
I'm having difficulties creating an binomial option tree. The tree is  
fine, however, LYX refuses to let me create two lines on top of each  
other at the nodes. All fractions and \underset work, but I would like  
the entries (S_0u / f_u) to be equally sized in two lines at each node  
without fraction lines. Neither tables nor array/align,  
*\txt{S_0ud\\f_ud} etc shows up in the figure. Is there anyway around  
this in LYX or do I need to write it in TEX?

My entry looks like:

\xymatrix{

& & & & S_0u^2\\

& & S_0u \ar[urr] \ar[drr] & & \\

S_0 \ar[urr] \ar[drr] & & & & *{\txt<4pc>{S_0ud\\ f_ud}} \\

& & S_0d \ar[urr] \ar[drr] & & \\

& & & & S_0d^2}

Best regards,
Tomi