On Sun, Mar 04, 2001 at 02:57:35AM +0100, Andi wrote: > 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? Press on the "Extra" button, and write >{\centering}p{<width>} in the Special column alignment field, where <width> is the desired width. You also need to put \usepackage{array} at the preamble. You do not need to enter the width in the width field. See the attached file. > 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. You can only set one column at a time. > 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)? This is a bug.
#LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 2.16 \textclass article \begin_preamble \usepackage{array} \end_preamble \language american \inputencoding default \fontscheme default \graphics default \paperfontsize 12 \spacing single \papersize Default \paperpackage a4wide \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable multicol5 4 3 0 0 -1 -1 -1 -1 1 0 0 0 1 0 0 0 1 0 0 0 1 1 0 0 8 1 0 "" "" 8 1 0 "" ">{\centering}p{2in}" 8 1 1 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" \newline 1 \newline \newline \newline Centered fixed width column \newline \newline \newline \newline \newline \newline \newline \the_end