Alignment in tables, there width is been fixed and other strange things

2001-05-17 Thread Andi

I have a problem, somebody already asked in March, but I was not able to 
solve it anyway:

If I fix the column width of a table, I´m no longer able to center the 
text in the table.
Dekel did some suggestions and attached an example file, but 
unfortunatly I was not able to open it (msg10030.html). There was an 
error message: Tabular5 no longer supported, use an older version of 
Lyx and then Lyx crashed.
Does anyone has a solution for this problem?

Another question is: Do I have to enter each column after another and  
add the table width? Because, if I mark more than one to enter the same 
width for all of them, only one was affected.

While doing this, I ran in another strange thing: If I want to change a 
width I already entered, the cursor leaves the field as soon as I delete 
are enter ONE charakter and I have to use the mouse to activate the 
field again before I can enter the next charakter. Are there some 
settings, I have to change (Lyx1.1.5fix)?

Thanks in advance

Andi




Alignment in tables, there width is been fixed and other strange things

2001-05-17 Thread Andi

I have a problem, somebody already asked in March, but I was not able to 
solve it anyway:

If I fix the column width of a table, I´m no longer able to center the 
text in the table.
Dekel did some suggestions and attached an example file, but 
unfortunatly I was not able to open it (msg10030.html). There was an 
error message: Tabular5 no longer supported, use an older version of 
Lyx and then Lyx crashed.
Does anyone has a solution for this problem?

Another question is: Do I have to enter each column after another and  
add the table width? Because, if I mark more than one to enter the same 
width for all of them, only one was affected.

While doing this, I ran in another strange thing: If I want to change a 
width I already entered, the cursor leaves the field as soon as I delete 
are enter ONE charakter and I have to use the mouse to activate the 
field again before I can enter the next charakter. Are there some 
settings, I have to change (Lyx1.1.5fix)?

Thanks in advance

Andi




Alignment in tables, there width is been fixed and other strange things

2001-05-17 Thread Andi

I have a problem, somebody already asked in March, but I was not able to 
solve it anyway:

If I fix the column width of a table, I´m no longer able to center the 
text in the table.
Dekel did some suggestions and attached an example file, but 
unfortunatly I was not able to open it (msg10030.html). There was an 
error message: "Tabular<5 no longer supported, use an older version of 
Lyx" and then Lyx crashed.
Does anyone has a solution for this problem?

Another question is: Do I have to enter each column after another and  
add the table width? Because, if I mark more than one to enter the same 
width for all of them, only one was affected.

While doing this, I ran in another strange thing: If I want to change a 
width I already entered, the cursor leaves the field as soon as I delete 
are enter ONE charakter and I have to use the mouse to activate the 
field again before I can enter the next charakter. Are there some 
settings, I have to change (Lyx1.1.5fix)?

Thanks in advance

Andi




Re: Different numbering for chemical reaction and numerical equation

2001-05-11 Thread Andi

 During writing my thesis I ran into this problem:
 I use chemical reactions and numerical equations in the text. The
 problem is, to number the different equations in a different way, like:
 
 1+1=2(2.1)
 1+2=3(2.2)
 
 but for chemical reaction something like
 
 C+O2-CO2(R. 2.1)
 
 The equations and reactions are written in math-mode and the automatic
 numbering was done
 by using M-m n.

1. Put the following line in the preamble

\newcounter{reaction}
\numberwithin{reaction}{chapter}
\newcommand{\reaction}{\addtocounter{reaction}{1}\tag{R. \thereaction}}

2. Select Use ams math in the document dialog (in extra tab in 1.1.6).

3. At each reaction, write \reaction at the end (inside the math inset).

Note that when you reference a reaction, you will get 'R. 2.1'.

I´m sorry, but I think I´m too dummy. I´m not able to insert a \reaction inside the 
math
inset. The \ doesn´t work.But writing reaction in Tex-red works fine. That´s 
exactly
what I needed.

Thanks a lot

Andi




Re: Different numbering for chemical reaction and numerical equation

2001-05-11 Thread Andi

 During writing my thesis I ran into this problem:
 I use chemical reactions and numerical equations in the text. The
 problem is, to number the different equations in a different way, like:
 
 1+1=2(2.1)
 1+2=3(2.2)
 
 but for chemical reaction something like
 
 C+O2-CO2(R. 2.1)
 
 The equations and reactions are written in math-mode and the automatic
 numbering was done
 by using M-m n.

1. Put the following line in the preamble

\newcounter{reaction}
\numberwithin{reaction}{chapter}
\newcommand{\reaction}{\addtocounter{reaction}{1}\tag{R. \thereaction}}

2. Select Use ams math in the document dialog (in extra tab in 1.1.6).

3. At each reaction, write \reaction at the end (inside the math inset).

Note that when you reference a reaction, you will get 'R. 2.1'.

I´m sorry, but I think I´m too dummy. I´m not able to insert a \reaction inside the 
math
inset. The \ doesn´t work.But writing reaction in Tex-red works fine. That´s 
exactly
what I needed.

Thanks a lot

Andi




Re: Different numbering for chemical reaction and numerical equation

2001-05-11 Thread Andi

>> During writing my thesis I ran into this problem:
>> I use chemical reactions and numerical equations in the text. The
>> problem is, to number the different equations in a different way, like:
>>> 
>> 1+1=2(2.1)
>> 1+2=3(2.2)
>> 
>> but for chemical reaction something like
>> 
>> C+O2->CO2(R. 2.1)
>> 
>> The equations and reactions are written in math-mode and the automatic
>> numbering was done
>> by using M-m n.

>1. Put the following line in the preamble

>\newcounter{reaction}
>\numberwithin{reaction}{chapter}
>\newcommand{\reaction}{\addtocounter{reaction}{1}\tag{R. \thereaction}}

>2. Select "Use ams math" in the document dialog (in "extra" tab in 1.1.6).

>3. At each reaction, write \reaction at the end (inside the math inset).

>Note that when you reference a reaction, you will get 'R. 2.1'.

I´m sorry, but I think I´m too dummy. I´m not able to insert a \reaction inside the 
math
inset. The "\" doesn´t work.But writing "reaction" in Tex-red works fine. That´s 
exactly
what I needed.

Thanks a lot

Andi