Re: Help with alignat ?

2005-02-23 Thread Uwe Stöhr
Matt wrote:
I see the trick you used was to add an extra column rlrlrl ...?
The column-alignment of the align-environment is always rl.
regards Uwe


Re: Help with alignat ?

2005-02-22 Thread Matt
Hi Uwe,

Thanks for the great help.

I see the trick you used was to add an extra column rlrlrl ...?

Matt

 --- Uwe Stöhr <[EMAIL PROTECTED]> wrote: 
> Matt wrote:
> 
> > I want to use lyx to align an array of
> > equations of the form:
> > 
> > y1=d1 on x1=e1
> > y2=d2 on x2=e2
> > 
> > Here d* and e* are variable length expressions.
> > 
> > To do this I chose 5 fields with alignment rlcrl. No matter what I
> do,
> > I cannot get the last field to appear in dvi with a left alignment!
> I
> > am using lyx 1.3.5.
> 
> Use the align, Flalign or Alignat-environment. (create a formula and
> use 
> then the menu Edit->Math->Change Formula Type)
> 
> I attached an example using Alignat.
> 
> regards Uwe
> > #LyX 1.3 created this file. For more info see http://www.lyx.org/
> \lyxformat 221
> \textclass scrartcl
> \begin_preamble
> \usepackage[gennarrow]{eurosym}
> \usepackage{icomma}
> \usepackage{textcomp}
> \usepackage{soul}
> \usepackage{calc}
> \usepackage{array}
> \usepackage{multirow}
> 
> \renewcommand{\multirowsetup}{\centering}
> \setlength{\extrarowheight}{2pt}
> \newcolumntype{A}[1]
>  {>{\centering\hspace{0pt}}m{#1}}
> 
> \renewcommand{\underbar}[1]{\ul{#1}}
> 
> \setkomafont{captionlabel}{\bfseries}
> 
> \usepackage[colorlinks=true, urlcolor=blue,
> linkcolor=black, pdftitle={Titel},
> pdfauthor={Uwe Stöhr}, bookmarksnumbered=true,
> pdfnewwindow=true, pdfstartview=XYZ,
> pdfpagelayout=OneColumn,
> bookmarksopen]{hyperref}
> \usepackage[figure]{hypcap}
> 
> %Linkfläche für Querverweise vergrößern
> \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1
> \renewcommand{\figureautorefname}{Abb.\negthinspace}
> \renewcommand{\tableautorefname}{Tab.\negthinspace}
> \renewcommand{\sectionautorefname}{Kap.\negthinspace}
> \renewcommand{\subsectionautorefname}{Kap.\negthinspace}
> \renewcommand{\subsubsectionautorefname}{Kap.\negthinspace}
> \newlength{\abc}
> \settowidth{\abc}{\space}
> \renewcommand{\equationautorefname}{\hspace{-\abc}}
> 
> %Damit die Zeichen ° , · und × in LyX direkt eingegeben werden
> können.
> \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
> \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
> \DeclareInputText{215}{\ifmmode\times\else\texttimes\fi}
> 
> %setzt die Schwelle herauf, ab der Gleitumgebungen allein
> %auf einer Seite erscheinen
> \renewcommand{\floatpagefraction}{0.7}
> 
> %setzt die Schwelle herauf, ab der Gleitumgebungen unten
> %auf einer Seite erscheinen dürfen
> \renewcommand{\bottomfraction}{0.5}
> \end_preamble
> \options fleqn,tablecaptionabove
> \language ngerman
> \inputencoding auto
> \fontscheme ae
> \graphics default
> \paperfontsize 12
> \spacing single 
> \papersize a4paper
> \paperpackage a4
> \use_geometry 0
> \use_amsmath 1
> \use_natbib 0
> \use_numerical_citations 0
> \paperorientation portrait
> \secnumdepth 4
> \tocdepth 3
> \paragraph_separation skip
> \defskip medskip
> \quotes_language german
> \quotes_times 2
> \papercolumns 1
> \papersides 1
> \paperpagestyle empty
> \bullet 1
>   1
>   34
>   -1
> \end_bullet
> \bullet 2
>   2
>   35
>   -1
> \end_bullet
> \bullet 3
>   2
>   7
>   -1
> \end_bullet
> 
> \layout Standard
> 
> hello
> \begin_inset Formula \begin{alignat*}{3}
> y_{1}= & \: dd1 & \textrm{on} &  & x_{1}= & \: e1\\
> y_{2}= & \: d2 & \hspace{1cm}\textrm{on} & \hspace{1cm} & x_{2}= & \:
> ee2\end{alignat*}
> 
> \end_inset 
> 
> 
> \the_end
>  

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com


Re: Help with alignat ?

2005-02-22 Thread Uwe Stöhr
Matt wrote:
I want to use lyx to align an array of
equations of the form:
y1=d1 on x1=e1
y2=d2 on x2=e2
Here d* and e* are variable length expressions.
To do this I chose 5 fields with alignment rlcrl. No matter what I do,
I cannot get the last field to appear in dvi with a left alignment! I
am using lyx 1.3.5.
Use the align, Flalign or Alignat-environment. (create a formula and use 
then the menu Edit->Math->Change Formula Type)

I attached an example using Alignat.
regards Uwe
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrartcl
\begin_preamble
\usepackage[gennarrow]{eurosym}
\usepackage{icomma}
\usepackage{textcomp}
\usepackage{soul}
\usepackage{calc}
\usepackage{array}
\usepackage{multirow}

\renewcommand{\multirowsetup}{\centering}
\setlength{\extrarowheight}{2pt}
\newcolumntype{A}[1]
 {>{\centering\hspace{0pt}}m{#1}}

\renewcommand{\underbar}[1]{\ul{#1}}

\setkomafont{captionlabel}{\bfseries}

\usepackage[colorlinks=true, urlcolor=blue,
linkcolor=black, pdftitle={Titel},
pdfauthor={Uwe Stöhr}, bookmarksnumbered=true,
pdfnewwindow=true, pdfstartview=XYZ,
pdfpagelayout=OneColumn,
bookmarksopen]{hyperref}
\usepackage[figure]{hypcap}

%Linkfläche für Querverweise vergrößern
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1
\renewcommand{\figureautorefname}{Abb.\negthinspace}
\renewcommand{\tableautorefname}{Tab.\negthinspace}
\renewcommand{\sectionautorefname}{Kap.\negthinspace}
\renewcommand{\subsectionautorefname}{Kap.\negthinspace}
\renewcommand{\subsubsectionautorefname}{Kap.\negthinspace}
\newlength{\abc}
\settowidth{\abc}{\space}
\renewcommand{\equationautorefname}{\hspace{-\abc}}

%Damit die Zeichen ° , · und × in LyX direkt eingegeben werden können.
\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
\DeclareInputText{215}{\ifmmode\times\else\texttimes\fi}

%setzt die Schwelle herauf, ab der Gleitumgebungen allein
%auf einer Seite erscheinen
\renewcommand{\floatpagefraction}{0.7}

%setzt die Schwelle herauf, ab der Gleitumgebungen unten
%auf einer Seite erscheinen dürfen
\renewcommand{\bottomfraction}{0.5}
\end_preamble
\options fleqn,tablecaptionabove
\language ngerman
\inputencoding auto
\fontscheme ae
\graphics default
\paperfontsize 12
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty
\bullet 1
1
34
-1
\end_bullet
\bullet 2
2
35
-1
\end_bullet
\bullet 3
2
7
-1
\end_bullet

\layout Standard

hello
\begin_inset Formula \begin{alignat*}{3}
y_{1}= & \: dd1 & \textrm{on} &  & x_{1}= & \: e1\\
y_{2}= & \: d2 & \hspace{1cm}\textrm{on} & \hspace{1cm} & x_{2}= & \: 
ee2\end{alignat*}

\end_inset 


\the_end


Help with alignat ?

2005-02-22 Thread Matt
Hi Guys,

You guessed it: I need help. I want to use lyx to align an array of
equations of the form:

y1=d1 on x1=e1
y2=d2 on x2=e2

Here d* and e* are variable length expressions.

To do this I chose 5 fields with alignment rlcrl. No matter what I do,
I cannot get the last field to appear in dvi with a left alignment! I
am using lyx 1.3.5.

Let me know what I can do or provide to help me get to the bottom of
this!

Thanks for your time,

Matt

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com