Re: Master files

1999-10-07 Thread Ingo Kloecker

Ralph Boland wrote:
I am writing a thesis in lyx and am trying to use the multipart
document feature.

I have set my master file and each chapter to be  book (AMS).
Now if I try to print my master file I get the entire thesis. Good.

But if I try to print any indivual chapter I get an error because lyx
expects there to be a title.  (Lyx also fails to know the correct
number for the chapter but that's not so important).

It seems to me that I need to create a private version of  
the book (AMS) layout that doesn't have a title so that I 
can print individual chapters.

Am I right?  Is there a better way to do this?
One that keeps the chapter/section/theorem etc numbers
correct would be nice but not crucial.

You could export your thesis to postscript (or print to a file) and then print
only the desired pages out of ghostview.

Regards,
Ingo



Re: Master files

1999-10-07 Thread Ingo Kloecker

Ralph Boland wrote:
I am writing a thesis in lyx and am trying to use the multipart
document feature.

I have set my master file and each chapter to be  book (AMS).
Now if I try to print my master file I get the entire thesis. Good.

But if I try to print any indivual chapter I get an error because lyx
expects there to be a title.  (Lyx also fails to know the correct
number for the chapter but that's not so important).

It seems to me that I need to create a private version of  
the book (AMS) layout that doesn't have a title so that I 
can print individual chapters.

Am I right?  Is there a better way to do this?
One that keeps the chapter/section/theorem etc numbers
correct would be nice but not crucial.

You could export your thesis to postscript (or print to a file) and then print
only the desired pages out of ghostview.

Regards,
Ingo



Re: Master files

1999-10-07 Thread Ingo Kloecker

Ralph Boland wrote:
>I am writing a thesis in lyx and am trying to use the multipart
>document feature.
>
>I have set my master file and each chapter to be  book (AMS).
>Now if I try to print my master file I get the entire thesis. Good.
>
>But if I try to print any indivual chapter I get an error because lyx
>expects there to be a title.  (Lyx also fails to know the correct
>number for the chapter but that's not so important).
>
>It seems to me that I need to create a private version of  
>the book (AMS) layout that doesn't have a title so that I 
>can print individual chapters.
>
>Am I right?  Is there a better way to do this?
>One that keeps the chapter/section/theorem etc numbers
>correct would be nice but not crucial.

You could export your thesis to postscript (or print to a file) and then print
only the desired pages out of ghostview.

Regards,
Ingo



Re: Continous numbering of formulas

1999-09-28 Thread Ingo Kloecker

Hi,

 "Martin" == Martin Vonwald [EMAIL PROTECTED] writes:

Martin Hi there! I am writing a document with book (koma-script)
Martin style and I need the equations numbered continous across
Martin different chapters (1, 2, 3, 4, ... instead of 1.1, 1.2, 2.1,
Martin 2.2, ..). I added
Martin \renewcommand{\theequation}{\thesection.\arabic{equation}} to
Martin the preamble, but then I get something like 1, 2, 1, 2, 3, 1,
Martin 2, ... What do I have to add to the preamble so that the
Martin equation counter is NOT reset at each chapter?

I found the following in the german TeX-FAQ at
http://www.dante.de/faq/de-tex-faq/html/makros4.html#91:

8.5.5 Wie kann ich erreichen, daß ein Zähler bei Erhöhung eines anderen
Zählers zurückgesetzt bzw. nicht zurückgesetzt wird?

Mit der Deklaration \@addtoreset{equation}{section} kann man erreichen, daß der 
Gleichungszähler immer dann
auf Null zurückgesetzt wird, wenn der Abschnittszähler erhöht wird. Diese Deklaration 
wird implizit aufgerufen, wenn man in
der Deklaration des Gleichungszählers das optionale Argument verwendet, also 
\newcounter{equation}[section].
Soll das Gegenteil erreicht werden, so wird das Paket ,remreset' benötigt, das die 
Deklaration \@removefromreset
implementiert, mit der man durch \@removefromreset{equation}{section} obiges 
nachträglich wieder rückgängig
machen kann. 
 remreset:  
  CTAN: macros/latex/contrib/supported/carlisle/remreset.sty


The same in english (with the help of babelfish):

8.5.5  How can I achieve that a counter is reset with the
increase of another counter or is not reset? 

With the declaration \@addtoreset{equation}{section} one can
achieve that the equation counter is reset to zero whenever the
paragraph counter is increased. This declaration is implicitly
called, if one uses the optional argument in the declaration of
the equation counter, thus \newcounter{equation}[section]. If the
opposite is to be achieved, then the package 'remreset' is
needed, which implements the declaration \@removefromreset,
with which one can cancel the above subsequently using
\@removefromreset{equation}{section}. 


So all you have to do is to install the attached package and to insert the
following in the Latex preamble:
\usepackage{remreset}
\@removefromreset{equation}{chapter}


Regards,
Ingo



% remreset package
%%

% Copyright 1997 David carlisle
% This file may be distributed under the terms of the LPPL.
% See 00readme.txt for details.

% 1997/09/28  David Carlisle

% LaTeX includes a command \@addtoreset that is used to declare that
% a counter should be reset every time a second counter is incremented.

% For example the book class has a line
% \@addtoreset{footnote}{chapter}
% So that the footnote counter is reset each chapter.

% If you wish to bas a new class on book, but without this counter
% being reset, then standard LaTeX gives no simple mechanism to do
% this.

% This package defines |\@removefromreset| which just undoes the effect
% of \@addtorest. So for example a class file may be defined by

% \LoadClass{book}
% \@removefromreset{footnote}{chapter}


\def\@removefromreset#1#2{{%
  \expandafter\let\csname c@#1\endcsname\@removefromreset
  \def\@elt##1{%
\expandafter\ifx\csname c@##1\endcsname\@removefromreset
\else
  \noexpand\@elt{##1}%
\fi}%
  \expandafter\xdef\csname cl@#2\endcsname{%
\csname cl@#2\endcsname}}}





Re: New name (Tagesordnungspunkte - TOPs) instead of Inhaltsverzeichnis (table of contents)

1999-09-28 Thread Ingo Kloecker

Jens Stolze wrote:
I have to write a journal and I want to use "table of contents"
(Inhaltsverzeichnis) to renumber the parts of the Text and make a table of
contents. I am in trouble with the title of this section. I want to name
it "Tagesordnungspunkte", "Inhaltsverzeichnis" is wrong.

Any hints?  I don´t find them in my books.

Write
\renewcommand{\contentsname}{Tagesordnungspunkte}
in TeX mode directly before the "table of contents".

Regards,
Ingo



Re: Continous numbering of formulas

1999-09-28 Thread Ingo Kloecker

Hi,

 "Martin" == Martin Vonwald [EMAIL PROTECTED] writes:

Martin Hi there! I am writing a document with book (koma-script)
Martin style and I need the equations numbered continous across
Martin different chapters (1, 2, 3, 4, ... instead of 1.1, 1.2, 2.1,
Martin 2.2, ..). I added
Martin \renewcommand{\theequation}{\thesection.\arabic{equation}} to
Martin the preamble, but then I get something like 1, 2, 1, 2, 3, 1,
Martin 2, ... What do I have to add to the preamble so that the
Martin equation counter is NOT reset at each chapter?

I found the following in the german TeX-FAQ at
http://www.dante.de/faq/de-tex-faq/html/makros4.html#91:

8.5.5 Wie kann ich erreichen, daß ein Zähler bei Erhöhung eines anderen
Zählers zurückgesetzt bzw. nicht zurückgesetzt wird?

Mit der Deklaration \@addtoreset{equation}{section} kann man erreichen, daß der 
Gleichungszähler immer dann
auf Null zurückgesetzt wird, wenn der Abschnittszähler erhöht wird. Diese Deklaration 
wird implizit aufgerufen, wenn man in
der Deklaration des Gleichungszählers das optionale Argument verwendet, also 
\newcounter{equation}[section].
Soll das Gegenteil erreicht werden, so wird das Paket ,remreset' benötigt, das die 
Deklaration \@removefromreset
implementiert, mit der man durch \@removefromreset{equation}{section} obiges 
nachträglich wieder rückgängig
machen kann. 
 remreset:  
  CTAN: macros/latex/contrib/supported/carlisle/remreset.sty


The same in english (with the help of babelfish):

8.5.5  How can I achieve that a counter is reset with the
increase of another counter or is not reset? 

With the declaration \@addtoreset{equation}{section} one can
achieve that the equation counter is reset to zero whenever the
paragraph counter is increased. This declaration is implicitly
called, if one uses the optional argument in the declaration of
the equation counter, thus \newcounter{equation}[section]. If the
opposite is to be achieved, then the package 'remreset' is
needed, which implements the declaration \@removefromreset,
with which one can cancel the above subsequently using
\@removefromreset{equation}{section}. 


So all you have to do is to install the attached package and to insert the
following in the Latex preamble:
\usepackage{remreset}
\@removefromreset{equation}{chapter}


Regards,
Ingo



% remreset package
%%

% Copyright 1997 David carlisle
% This file may be distributed under the terms of the LPPL.
% See 00readme.txt for details.

% 1997/09/28  David Carlisle

% LaTeX includes a command \@addtoreset that is used to declare that
% a counter should be reset every time a second counter is incremented.

% For example the book class has a line
% \@addtoreset{footnote}{chapter}
% So that the footnote counter is reset each chapter.

% If you wish to bas a new class on book, but without this counter
% being reset, then standard LaTeX gives no simple mechanism to do
% this.

% This package defines |\@removefromreset| which just undoes the effect
% of \@addtorest. So for example a class file may be defined by

% \LoadClass{book}
% \@removefromreset{footnote}{chapter}


\def\@removefromreset#1#2{{%
  \expandafter\let\csname c@#1\endcsname\@removefromreset
  \def\@elt##1{%
\expandafter\ifx\csname c@##1\endcsname\@removefromreset
\else
  \noexpand\@elt{##1}%
\fi}%
  \expandafter\xdef\csname cl@#2\endcsname{%
\csname cl@#2\endcsname}}}





Re: New name (Tagesordnungspunkte - TOPs) instead of Inhaltsverzeichnis (table of contents)

1999-09-28 Thread Ingo Kloecker

Jens Stolze wrote:
I have to write a journal and I want to use "table of contents"
(Inhaltsverzeichnis) to renumber the parts of the Text and make a table of
contents. I am in trouble with the title of this section. I want to name
it "Tagesordnungspunkte", "Inhaltsverzeichnis" is wrong.

Any hints?  I don´t find them in my books.

Write
\renewcommand{\contentsname}{Tagesordnungspunkte}
in TeX mode directly before the "table of contents".

Regards,
Ingo



Re: Continous numbering of formulas

1999-09-28 Thread Ingo Kloecker

Hi,

>> "Martin" == Martin Vonwald <[EMAIL PROTECTED]> writes:
>
>Martin> Hi there! I am writing a document with book (koma-script)
>Martin> style and I need the equations numbered continous across
>Martin> different chapters (1, 2, 3, 4, ... instead of 1.1, 1.2, 2.1,
>Martin> 2.2, ..). I added
>Martin> \renewcommand{\theequation}{\thesection.\arabic{equation}} to
>Martin> the preamble, but then I get something like 1, 2, 1, 2, 3, 1,
>Martin> 2, ... What do I have to add to the preamble so that the
>Martin> equation counter is NOT reset at each chapter?

I found the following in the german TeX-FAQ at
http://www.dante.de/faq/de-tex-faq/html/makros4.html#91:

8.5.5 Wie kann ich erreichen, daß ein Zähler bei Erhöhung eines anderen
Zählers zurückgesetzt bzw. nicht zurückgesetzt wird?

Mit der Deklaration \@addtoreset{equation}{section} kann man erreichen, daß der 
Gleichungszähler immer dann
auf Null zurückgesetzt wird, wenn der Abschnittszähler erhöht wird. Diese Deklaration 
wird implizit aufgerufen, wenn man in
der Deklaration des Gleichungszählers das optionale Argument verwendet, also 
\newcounter{equation}[section].
Soll das Gegenteil erreicht werden, so wird das Paket ,remreset' benötigt, das die 
Deklaration \@removefromreset
implementiert, mit der man durch \@removefromreset{equation}{section} obiges 
nachträglich wieder rückgängig
machen kann. 
 remreset:  
  CTAN: macros/latex/contrib/supported/carlisle/remreset.sty


The same in english (with the help of babelfish):

8.5.5  How can I achieve that a counter is reset with the
increase of another counter or is not reset? 

With the declaration \@addtoreset{equation}{section} one can
achieve that the equation counter is reset to zero whenever the
paragraph counter is increased. This declaration is implicitly
called, if one uses the optional argument in the declaration of
the equation counter, thus \newcounter{equation}[section]. If the
opposite is to be achieved, then the package 'remreset' is
needed, which implements the declaration \@removefromreset,
with which one can cancel the above subsequently using
\@removefromreset{equation}{section}. 


So all you have to do is to install the attached package and to insert the
following in the Latex preamble:
\usepackage{remreset}
\@removefromreset{equation}{chapter}


Regards,
Ingo



% remreset package
%%

% Copyright 1997 David carlisle
% This file may be distributed under the terms of the LPPL.
% See 00readme.txt for details.

% 1997/09/28  David Carlisle

% LaTeX includes a command \@addtoreset that is used to declare that
% a counter should be reset every time a second counter is incremented.

% For example the book class has a line
% \@addtoreset{footnote}{chapter}
% So that the footnote counter is reset each chapter.

% If you wish to bas a new class on book, but without this counter
% being reset, then standard LaTeX gives no simple mechanism to do
% this.

% This package defines |\@removefromreset| which just undoes the effect
% of \@addtorest. So for example a class file may be defined by

% \LoadClass{book}
% \@removefromreset{footnote}{chapter}


\def\@removefromreset#1#2{{%
  \expandafter\let\csname c@#1\endcsname\@removefromreset
  \def\@elt##1{%
\expandafter\ifx\csname c@##1\endcsname\@removefromreset
\else
  \noexpand\@elt{##1}%
\fi}%
  \expandafter\xdef\csname cl@#2\endcsname{%
\csname cl@#2\endcsname}}}





Re: New name (Tagesordnungspunkte - TOPs) instead of "Inhaltsverzeichnis" (table of contents)

1999-09-28 Thread Ingo Kloecker

Jens Stolze wrote:
>I have to write a journal and I want to use "table of contents"
>(Inhaltsverzeichnis) to renumber the parts of the Text and make a table of
>contents. I am in trouble with the title of this section. I want to name
>it "Tagesordnungspunkte", "Inhaltsverzeichnis" is wrong.
>
>Any hints?  I don´t find them in my books.

Write
\renewcommand{\contentsname}{Tagesordnungspunkte}
in TeX mode directly before the "table of contents".

Regards,
Ingo



Re: Two questions

1999-09-24 Thread Ingo Kloecker

Varotto Riccardo wrote:

2. I want a document with the follow characteristics:
class: book   pagestyle: headingsides: two
Margins:
Top: 30mm Bottom: 20mmRight: 25mm   Left: 40mm
AND THAT THE CHAPTERS START AT RIGHT PAGE (odd page) 
If I select 'Use geometry package' and specific the margin, I not obtained the
chapter initial at odd page.
You can try to insert a \cleardoublepage (in TeX-mode) directly before the title
of the new chapter.

I hope this does the trick.

Regards,
Ingo



Re: Two questions

1999-09-24 Thread Ingo Kloecker

Varotto Riccardo wrote:

2. I want a document with the follow characteristics:
class: book   pagestyle: headingsides: two
Margins:
Top: 30mm Bottom: 20mmRight: 25mm   Left: 40mm
AND THAT THE CHAPTERS START AT RIGHT PAGE (odd page) 
If I select 'Use geometry package' and specific the margin, I not obtained the
chapter initial at odd page.
You can try to insert a \cleardoublepage (in TeX-mode) directly before the title
of the new chapter.

I hope this does the trick.

Regards,
Ingo



Re: Two questions

1999-09-24 Thread Ingo Kloecker

Varotto Riccardo wrote:

>2. I want a document with the follow characteristics:
>class: book   pagestyle: headingsides: two
>Margins:
>Top: 30mm Bottom: 20mmRight: 25mm   Left: 40mm
>AND THAT THE CHAPTERS START AT RIGHT PAGE (odd page) 
>If I select 'Use geometry package' and specific the margin, I not obtained the
>chapter initial at odd page.
You can try to insert a \cleardoublepage (in TeX-mode) directly before the title
of the new chapter.

I hope this does the trick.

Regards,
Ingo



Re: Need another \angle - symbol

1999-09-20 Thread Ingo Kloecker

Alexander Wollmann wrote:
Hello everybody,

I often used the \angle - symbol in my exam-paper. The problem is that I have
to write \angle abc  \angle xyz a hundred of times. But it looks very
ugly if you use \angle directly after . So I need another symbol to mark
angels. Who has a good idea?

Try \measuredangle or \sphericalangle.

Regards,
Ingo



Re: Need another \angle - symbol

1999-09-20 Thread Ingo Kloecker

Alexander Wollmann wrote:

I´m wondering if there is an overview of
all available math-symbols in different packages and so on. In my LaTeX book I
can´t find \measuredangle or \sphericalangle.

In amsguide.dvi you can find a table with all symbols in the AMS-packages. I
found this file at the following location:
/usr/doc/packages/te_ams/texmf/amstex/amsguide.dvi
Use xdvi or kdvi to view this file. I think the teTeX-documentation is a good
starting point for your quest for a nice angle-symbol.

Regards,
Ingo



Re: Need another \angle - symbol

1999-09-20 Thread Ingo Kloecker

Alexander Wollmann wrote:
Hello everybody,

I often used the \angle - symbol in my exam-paper. The problem is that I have
to write \angle abc  \angle xyz a hundred of times. But it looks very
ugly if you use \angle directly after . So I need another symbol to mark
angels. Who has a good idea?

Try \measuredangle or \sphericalangle.

Regards,
Ingo



Re: Need another \angle - symbol

1999-09-20 Thread Ingo Kloecker

Alexander Wollmann wrote:

I´m wondering if there is an overview of
all available math-symbols in different packages and so on. In my LaTeX book I
can´t find \measuredangle or \sphericalangle.

In amsguide.dvi you can find a table with all symbols in the AMS-packages. I
found this file at the following location:
/usr/doc/packages/te_ams/texmf/amstex/amsguide.dvi
Use xdvi or kdvi to view this file. I think the teTeX-documentation is a good
starting point for your quest for a nice angle-symbol.

Regards,
Ingo



Re: Need another \angle - symbol

1999-09-20 Thread Ingo Kloecker

Alexander Wollmann wrote:
>Hello everybody,
>
>I often used the \angle - symbol in my exam-paper. The problem is that I have
>to write \angle abc < \angle xyz a hundred of times. But it looks very
>ugly if you use \angle directly after <. So I need another symbol to mark
>angels. Who has a good idea?

Try \measuredangle or \sphericalangle.

Regards,
Ingo



Re: Need another \angle - symbol

1999-09-20 Thread Ingo Kloecker

Alexander Wollmann wrote:

>I´m wondering if there is an overview of
>all available math-symbols in different packages and so on. In my LaTeX book I
>can´t find \measuredangle or \sphericalangle.

In amsguide.dvi you can find a table with all symbols in the AMS-packages. I
found this file at the following location:
/usr/doc/packages/te_ams/texmf/amstex/amsguide.dvi
Use xdvi or kdvi to view this file. I think the teTeX-documentation is a good
starting point for your quest for a nice angle-symbol.

Regards,
Ingo



Re: superscript of sums and integrals in multiline equation

1999-09-17 Thread Ingo Kloecker

Herbert wrote:

In multiline format (eqnarray) the left and the right part are real
formulas,
but the middle part is a textformula!
This is really interesting. Thanks for clearing up this mystery.

 So it's not possible to write
a sum super/subscript under /above the sum-symbol. If you choose the
array-format, all parts are in textmode. 
You can type the sum in all three parts of a multiline formula and you
will
see, that the middle sum is typed with super/subscript shifted to the
right,
the left and right one the one with super/subscript above/under the sum.
The option \limits works only for integrals, in both math modes!
In this point I disagree with you. Type the following in the middle part of a
multiline formula and you will get a sum with super/subscripted limits:
\sum \limits _n=1 ^\infty  n

Therefore it's not correct, when LyX views these symbols different to
the latex-convention.
I agree.

Regards,
Ingo



Re: superscript of sums and integrals in multiline equation

1999-09-17 Thread Ingo Kloecker

Herbert wrote:

In multiline format (eqnarray) the left and the right part are real
formulas,
but the middle part is a textformula!
This is really interesting. Thanks for clearing up this mystery.

 So it's not possible to write
a sum super/subscript under /above the sum-symbol. If you choose the
array-format, all parts are in textmode. 
You can type the sum in all three parts of a multiline formula and you
will
see, that the middle sum is typed with super/subscript shifted to the
right,
the left and right one the one with super/subscript above/under the sum.
The option \limits works only for integrals, in both math modes!
In this point I disagree with you. Type the following in the middle part of a
multiline formula and you will get a sum with super/subscripted limits:
\sum \limits _n=1 ^\infty  n

Therefore it's not correct, when LyX views these symbols different to
the latex-convention.
I agree.

Regards,
Ingo



Re: superscript of sums and integrals in multiline equation

1999-09-17 Thread Ingo Kloecker

Herbert wrote:

>In multiline format (eqnarray) the left and the right part are real
>formulas,
>but the middle part is a textformula!
This is really interesting. Thanks for clearing up this mystery.

> So it's not possible to write
>a sum super/subscript under /above the sum-symbol. If you choose the
>array-format, all parts are in textmode. 
>You can type the sum in all three parts of a multiline formula and you
>will
>see, that the middle sum is typed with super/subscript shifted to the
>right,
>the left and right one the one with super/subscript above/under the sum.
>The option \limits works only for integrals, in both math modes!
In this point I disagree with you. Type the following in the middle part of a
multiline formula and you will get a sum with super/subscripted limits:
\sum \limits _n=1 ^\infty  n

>Therefore it's not correct, when LyX views these symbols different to
>the latex-convention.
I agree.

Regards,
Ingo



problem when superscripted integrals are copied

1999-09-16 Thread Ingo Kloecker

Hi,

while trying to solve the different behavior of sums and integrals in
multiline equations I discovered another problem.
When you copy an integral with super/subscripted limits (mark the integral, C-C,
move to insert position, C-V) the copied integral turns out to have
postscripted limits. Obviously LyX "forgets" the \limits while copying the
integral.
The same happens when copying a sum with postscripted limits in a single-line
equation. Only that LyX here "forgets" the \nolimits.

Regards,
Ingo



Re: superscript of sums and integrals in multiline equation

1999-09-16 Thread Ingo Kloecker

Herbert wrote:

 Alexander Wollmann wrote:
 I have a problem with the subscript of sums and integrals:
 
 In a single math line (M-m d) the subscript is correctly placed UNDER the sum.
 Toggle with M-m l changes from "under" to "shifted to the right".
 
 In a multiline equation this does only work for integrals. Superscript with
 sums are always shifted to the right (in postscript), even it seems to be OK in
 LyX. I need them to be UNDER!! What can I do?

there is no problem for me (Lyx 1.0.4pre6 and Suse 6.2) to write a sum
with super- and/or subscript above and/or under the sum or integral,
both in
a single line equation and in multilines.

I have just installed Lyx 1.0.4pre6 on Suse 6.1 and it still doesn't work for
me. Please have a look at the attached example. In Lyx you should see two sums
and two integrals in one multiline equation. The first sum resp. integral has
sub-/superscripted limits while the second one has its limits
postscripted. Now have a look at the DVI-File. Here both sums have postscripted
limits while there is no problem with the integrals.

The LaTeX-Export looks like this:
\begin{eqnarray*}
  \sum ^{n}_{i=1}i  \\
  \sum\nolimits _{i=1}^{n}i  \\
  \int\limits ^{\infty }_{x=0}e^{-x^{2}}  \\
  \int ^{\infty }_{x=0}e^{-x^{2}} 
\end{eqnarray*}
 
But correct would be:
\begin{eqnarray*}
  \sum\limits ^{n}_{i=1}i  \\
  \sum _{i=1}^{n}i  \\
  \int\limits ^{\infty }_{x=0}e^{-x^{2}}  \\
  \int ^{\infty }_{x=0}e^{-x^{2}} 
\end{eqnarray*}

Regards,
Ingo



problem when superscripted integrals are copied

1999-09-16 Thread Ingo Kloecker

Hi,

while trying to solve the different behavior of sums and integrals in
multiline equations I discovered another problem.
When you copy an integral with super/subscripted limits (mark the integral, C-C,
move to insert position, C-V) the copied integral turns out to have
postscripted limits. Obviously LyX "forgets" the \limits while copying the
integral.
The same happens when copying a sum with postscripted limits in a single-line
equation. Only that LyX here "forgets" the \nolimits.

Regards,
Ingo



Re: superscript of sums and integrals in multiline equation

1999-09-16 Thread Ingo Kloecker

Herbert wrote:

 Alexander Wollmann wrote:
 I have a problem with the subscript of sums and integrals:
 
 In a single math line (M-m d) the subscript is correctly placed UNDER the sum.
 Toggle with M-m l changes from "under" to "shifted to the right".
 
 In a multiline equation this does only work for integrals. Superscript with
 sums are always shifted to the right (in postscript), even it seems to be OK in
 LyX. I need them to be UNDER!! What can I do?

there is no problem for me (Lyx 1.0.4pre6 and Suse 6.2) to write a sum
with super- and/or subscript above and/or under the sum or integral,
both in
a single line equation and in multilines.

I have just installed Lyx 1.0.4pre6 on Suse 6.1 and it still doesn't work for
me. Please have a look at the attached example. In Lyx you should see two sums
and two integrals in one multiline equation. The first sum resp. integral has
sub-/superscripted limits while the second one has its limits
postscripted. Now have a look at the DVI-File. Here both sums have postscripted
limits while there is no problem with the integrals.

The LaTeX-Export looks like this:
\begin{eqnarray*}
  \sum ^{n}_{i=1}i  \\
  \sum\nolimits _{i=1}^{n}i  \\
  \int\limits ^{\infty }_{x=0}e^{-x^{2}}  \\
  \int ^{\infty }_{x=0}e^{-x^{2}} 
\end{eqnarray*}
 
But correct would be:
\begin{eqnarray*}
  \sum\limits ^{n}_{i=1}i  \\
  \sum _{i=1}^{n}i  \\
  \int\limits ^{\infty }_{x=0}e^{-x^{2}}  \\
  \int ^{\infty }_{x=0}e^{-x^{2}} 
\end{eqnarray*}

Regards,
Ingo



problem when superscripted integrals are copied

1999-09-16 Thread Ingo Kloecker

Hi,

while trying to solve the different behavior of sums and integrals in
multiline equations I discovered another problem.
When you copy an integral with super/subscripted limits (mark the integral, C-C,
move to insert position, C-V) the copied integral turns out to have
postscripted limits. Obviously LyX "forgets" the \limits while copying the
integral.
The same happens when copying a sum with postscripted limits in a single-line
equation. Only that LyX here "forgets" the \nolimits.

Regards,
Ingo



Re: superscript of sums and integrals in multiline equation

1999-09-16 Thread Ingo Kloecker

Herbert wrote:

>> Alexander Wollmann wrote:
>> >I have a problem with the subscript of sums and integrals:
>> >
>> >In a single math line (M-m d) the subscript is correctly placed UNDER the sum.
>> >Toggle with M-m l changes from "under" to "shifted to the right".
>> >
>> >In a multiline equation this does only work for integrals. Superscript with
>> >sums are always shifted to the right (in postscript), even it seems to be OK in
>> >LyX. I need them to be UNDER!! What can I do?
>
>there is no problem for me (Lyx 1.0.4pre6 and Suse 6.2) to write a sum
>with super- and/or subscript above and/or under the sum or integral,
>both in
>a single line equation and in multilines.

I have just installed Lyx 1.0.4pre6 on Suse 6.1 and it still doesn't work for
me. Please have a look at the attached example. In Lyx you should see two sums
and two integrals in one multiline equation. The first sum resp. integral has
sub-/superscripted limits while the second one has its limits
postscripted. Now have a look at the DVI-File. Here both sums have postscripted
limits while there is no problem with the integrals.

The LaTeX-Export looks like this:
\begin{eqnarray*}
 & \sum ^{n}_{i=1}i & \\
 & \sum\nolimits _{i=1}^{n}i & \\
 & \int\limits ^{\infty }_{x=0}e^{-x^{2}} & \\
 & \int ^{\infty }_{x=0}e^{-x^{2}} &
\end{eqnarray*}
 
But correct would be:
\begin{eqnarray*}
 & \sum\limits ^{n}_{i=1}i & \\
 & \sum _{i=1}^{n}i & \\
 & \int\limits ^{\infty }_{x=0}e^{-x^{2}} & \\
 & \int ^{\infty }_{x=0}e^{-x^{2}} &
\end{eqnarray*}

Regards,
Ingo



No error message if disks are full?

1999-06-09 Thread Ingo Kloecker

Hi,

one of my friends encountered the following problem:
After working with LyX on some document he saved it and quit LyX. Then
he noticed that the filesize of the lyx-file was 0 Bytes (excellent
compression :-)). Unfortunately LyX didn't warn him, that his document
couldn't be saved because there was no space left on /home. So he lost
the work of a whole morning. I haven't checked if there really isn't a
warning (I guess the other users of /home would get a little upset if I
used all space which is left on /home only to confirm this behavior),
but I think the developers should know it.


Regards,
Ingo




No error message if disks are full?

1999-06-09 Thread Ingo Kloecker

Hi,

one of my friends encountered the following problem:
After working with LyX on some document he saved it and quit LyX. Then
he noticed that the filesize of the lyx-file was 0 Bytes (excellent
compression :-)). Unfortunately LyX didn't warn him, that his document
couldn't be saved because there was no space left on /home. So he lost
the work of a whole morning. I haven't checked if there really isn't a
warning (I guess the other users of /home would get a little upset if I
used all space which is left on /home only to confirm this behavior),
but I think the developers should know it.


Regards,
Ingo




No error message if disks are full?

1999-06-09 Thread Ingo Kloecker

Hi,

one of my friends encountered the following problem:
After working with LyX on some document he saved it and quit LyX. Then
he noticed that the filesize of the lyx-file was 0 Bytes (excellent
compression :-)). Unfortunately LyX didn't warn him, that his document
couldn't be saved because there was no space left on /home. So he lost
the work of a whole morning. I haven't checked if there really isn't a
warning (I guess the other users of /home would get a little upset if I
used all space which is left on /home only to confirm this behavior),
but I think the developers should know it.


Regards,
Ingo




Re: German Umlaute in math mode.

1999-05-31 Thread Ingo Kloecker

Steffen Schmidt wrote:

 Unfortunately I
 can't type any german umlaute in the math mode. And simply copying from
 the text is also not possible :-|

 Does anyone know a solution?

According to Jean-Marc (cf. 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg00240.html) this is
currently not possible.


Bye,
Ingo




Re: German Umlaute in math mode.

1999-05-31 Thread Ingo Kloecker

Steffen Schmidt wrote:

 Unfortunately I
 can't type any german umlaute in the math mode. And simply copying from
 the text is also not possible :-|

 Does anyone know a solution?

According to Jean-Marc (cf. 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg00240.html) this is
currently not possible.


Bye,
Ingo




Re: German Umlaute in math mode.

1999-05-31 Thread Ingo Kloecker

Steffen Schmidt wrote:

> Unfortunately I
> can't type any german umlaute in the math mode. And simply copying from
> the text is also not possible :-|
>
> Does anyone know a solution?

According to Jean-Marc (cf. 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg00240.html) this is
currently not possible.


Bye,
Ingo




Re: Enumerate

1999-05-17 Thread Ingo Kloecker

 I'm wondering how to get rid of the blank lines in a enumerate list.
 Using the enumerate environment a get something like:

 1) First

 2) Second

 3) Third

 Thus, I would like to get:

 1) First
 2) Second
 3) Third

 Any ideas?

Append in TeX-Mode a \vspace{-1em} to each item except the last one,
i.e.
1) First \vspace{-1em}

2) Second \vspace{-1em}

3) Third

In LyX there will still be a blank line after each item. But the
DVI-Preview shows the desired result.


Ingo




Names of math-macros

1999-05-17 Thread Ingo Kloecker

Hi there!

I just had some problems latexing one of my lyx-files. I found out that
the name of a macro must not contain any numbers, i.e. a macro named
gl2x is not possible. Unfortunately LyX doesn't complain if you use a
number in the name of a macro. I think this should be changed. LyX
should at least print a warning.
Another problem I encountered is that if latex finds more than 100
errors while texing a file, LyX tries to display the dvi-file (which was
not build because of all the errors) anyways. It seems that LyX doesn't
notice that latex aborted texing the file.

Have a nice day.

Ingo




Re: Enumerate

1999-05-17 Thread Ingo Kloecker

 I'm wondering how to get rid of the blank lines in a enumerate list.
 Using the enumerate environment a get something like:

 1) First

 2) Second

 3) Third

 Thus, I would like to get:

 1) First
 2) Second
 3) Third

 Any ideas?

Append in TeX-Mode a \vspace{-1em} to each item except the last one,
i.e.
1) First \vspace{-1em}

2) Second \vspace{-1em}

3) Third

In LyX there will still be a blank line after each item. But the
DVI-Preview shows the desired result.


Ingo




Names of math-macros

1999-05-17 Thread Ingo Kloecker

Hi there!

I just had some problems latexing one of my lyx-files. I found out that
the name of a macro must not contain any numbers, i.e. a macro named
gl2x is not possible. Unfortunately LyX doesn't complain if you use a
number in the name of a macro. I think this should be changed. LyX
should at least print a warning.
Another problem I encountered is that if latex finds more than 100
errors while texing a file, LyX tries to display the dvi-file (which was
not build because of all the errors) anyways. It seems that LyX doesn't
notice that latex aborted texing the file.

Have a nice day.

Ingo




Re: Enumerate

1999-05-17 Thread Ingo Kloecker

> I'm wondering how to get rid of the blank lines in a enumerate list.
> Using the enumerate environment a get something like:
>
> 1) First
>
> 2) Second
>
> 3) Third
>
> Thus, I would like to get:
>
> 1) First
> 2) Second
> 3) Third
>
> Any ideas?

Append in TeX-Mode a \vspace{-1em} to each item except the last one,
i.e.
1) First \vspace{-1em}

2) Second \vspace{-1em}

3) Third

In LyX there will still be a blank line after each item. But the
DVI-Preview shows the desired result.


Ingo




Names of math-macros

1999-05-17 Thread Ingo Kloecker

Hi there!

I just had some problems latexing one of my lyx-files. I found out that
the name of a macro must not contain any numbers, i.e. a macro named
gl2x is not possible. Unfortunately LyX doesn't complain if you use a
number in the name of a macro. I think this should be changed. LyX
should at least print a warning.
Another problem I encountered is that if latex finds more than 100
errors while texing a file, LyX tries to display the dvi-file (which was
not build because of all the errors) anyways. It seems that LyX doesn't
notice that latex aborted texing the file.

Have a nice day.

Ingo




Re: nth roots

1999-05-13 Thread Ingo Kloecker

Alexander Stasinski wrote:

 Surely this question must have been discussed before, but since the
 mailing list archive seems to be down I take the chance of asking it
 again:
 How do one obtain nth roots in LyX, e.g. a cubic root sign?

As Jean-Marc already answered some 20 days ago to the same question just
type
M-x math-insert root

Ingo




Re: nth roots

1999-05-13 Thread Ingo Kloecker

Alexander Stasinski wrote:

 Surely this question must have been discussed before, but since the
 mailing list archive seems to be down I take the chance of asking it
 again:
 How do one obtain nth roots in LyX, e.g. a cubic root sign?

As Jean-Marc already answered some 20 days ago to the same question just
type
M-x math-insert root

Ingo




Re: nth roots

1999-05-13 Thread Ingo Kloecker

Alexander Stasinski wrote:

> Surely this question must have been discussed before, but since the
> mailing list archive seems to be down I take the chance of asking it
> again:
> How do one obtain nth roots in LyX, e.g. a cubic root sign?

As Jean-Marc already answered some 20 days ago to the same question just
type
M-x math-insert root

Ingo




Re: [lyx-users] Where to find the 'broadway' stuff.

1999-05-05 Thread Ingo Kloecker

 I assume it needs LaTeX support that it isn't finding on my system.
 However, neither a CTAN search nor a Web search turns up anything
 relevant.

 Any hints as to what I'm missing and where to find it?

Like you are told in Help/Latex Configuration the class file "must be
installed from the tex/ subdirectory of LyX source distribution". The
exact location should be lyx-1.0.2/lib/tex/broadway.cls.


Ingo




Re: Margins style

1999-05-05 Thread Ingo Kloecker

Frederic Leymarie wrote:

 A question when using margins (and geometry package).
 I can reset the margin size no problem.
 But, how to change the justification of only the (side) margins?

 I would like to keep my main text justified,
 but have the (right) margins left-justified.

Have you tried to mark the text in the margin-box and change the
justification via Layout/Paragraphformat (the second option in the
Layout-Menu) to left-justified? Unfortunately you have to do it for all
your
margin-boxes. But it works.

Ingo



Re: [lyx-users] Where to find the 'broadway' stuff.

1999-05-05 Thread Ingo Kloecker

 I assume it needs LaTeX support that it isn't finding on my system.
 However, neither a CTAN search nor a Web search turns up anything
 relevant.

 Any hints as to what I'm missing and where to find it?

Like you are told in Help/Latex Configuration the class file "must be
installed from the tex/ subdirectory of LyX source distribution". The
exact location should be lyx-1.0.2/lib/tex/broadway.cls.


Ingo




Re: Margins style

1999-05-05 Thread Ingo Kloecker

Frederic Leymarie wrote:

 A question when using margins (and geometry package).
 I can reset the margin size no problem.
 But, how to change the justification of only the (side) margins?

 I would like to keep my main text justified,
 but have the (right) margins left-justified.

Have you tried to mark the text in the margin-box and change the
justification via Layout/Paragraphformat (the second option in the
Layout-Menu) to left-justified? Unfortunately you have to do it for all
your
margin-boxes. But it works.

Ingo



Re: [lyx-users] Where to find the 'broadway' stuff.

1999-05-05 Thread Ingo Kloecker

> I assume it needs LaTeX support that it isn't finding on my system.
> However, neither a CTAN search nor a Web search turns up anything
> relevant.
>
> Any hints as to what I'm missing and where to find it?

Like you are told in Help/Latex Configuration the class file "must be
installed from the tex/ subdirectory of LyX source distribution". The
exact location should be lyx-1.0.2/lib/tex/broadway.cls.


Ingo




Re: Margins style

1999-05-05 Thread Ingo Kloecker

Frederic Leymarie wrote:

> A question when using margins (and geometry package).
> I can reset the margin size no problem.
> But, how to change the justification of only the (side) margins?
>
> I would like to keep my main text justified,
> but have the (right) margins left-justified.

Have you tried to mark the text in the margin-box and change the
justification via Layout/Paragraphformat (the second option in the
Layout-Menu) to left-justified? Unfortunately you have to do it for all
your
margin-boxes. But it works.

Ingo



Re: Running headers

1999-04-30 Thread Ingo Kloecker

 Is there a way in lyx to have a shorter version of a chapter header
 apart from  \chapter[short]{long header} in tex mode?

Which documentclass do you use?
In article there is no chapter. But you could use report (?) or book. In
these documentclasses there exists the chapter header.

Regards,

Ingo




Re: Running headers

1999-04-30 Thread Ingo Kloecker

 Is there a way in lyx to have a shorter version of a chapter header
 apart from  \chapter[short]{long header} in tex mode?

Which documentclass do you use?
In article there is no chapter. But you could use report (?) or book. In
these documentclasses there exists the chapter header.

Regards,

Ingo




Re: Running headers

1999-04-30 Thread Ingo Kloecker

> Is there a way in lyx to have a shorter version of a chapter header
> apart from  \chapter[short]{long header} in tex mode?

Which documentclass do you use?
In article there is no chapter. But you could use report (?) or book. In
these documentclasses there exists the chapter header.

Regards,

Ingo




Re: Math set Symbols

1999-04-15 Thread Ingo Kloecker

Andreas wrote:

 I am searching symbols for printing mathematical reel
  numbers (something like |R or |N).

 I found it in the ams fonts, but I don't know how to activate this and

 display the symbols . I have tryed to use Layout - Document -
use
 AMS, but I don't know how to get the symbols .


Change into LaTeX-Mode and type "\mathbb{R}" for |R. This works also for
N, Q, Z, C etc. If you use these symbols often in your text you should
define a macro. For "\mathbb{R}" I use for example the shortcut "\RR".
Unfortunately LyX is not able to view |R. But it is printed correctly.


Salut,

Ingo




Re: Math set Symbols

1999-04-15 Thread Ingo Kloecker

Andreas wrote:

 I am searching symbols for printing mathematical reel
  numbers (something like |R or |N).

 I found it in the ams fonts, but I don't know how to activate this and

 display the symbols . I have tryed to use Layout - Document -
use
 AMS, but I don't know how to get the symbols .


Change into LaTeX-Mode and type "\mathbb{R}" for |R. This works also for
N, Q, Z, C etc. If you use these symbols often in your text you should
define a macro. For "\mathbb{R}" I use for example the shortcut "\RR".
Unfortunately LyX is not able to view |R. But it is printed correctly.


Salut,

Ingo




Re: Math set Symbols

1999-04-15 Thread Ingo Kloecker

Andreas wrote:

> I am searching symbols for printing mathematical reel
>  numbers (something like |R or |N).

> I found it in the ams fonts, but I don't know how to activate this and

> display the symbols . I have tryed to use Layout -> Document ->
use
> AMS, but I don't know how to get the symbols .


Change into LaTeX-Mode and type "\mathbb{R}" for |R. This works also for
N, Q, Z, C etc. If you use these symbols often in your text you should
define a macro. For "\mathbb{R}" I use for example the shortcut "\RR".
Unfortunately LyX is not able to view |R. But it is printed correctly.


Salut,

Ingo