Re: table settings and setting border does all or nothing
On Wed, 17 Oct 2007, Enrico Forestieri wrote: However, you can control height and depth through a parameter. Indeed, LaTeX multiplies height and depth of a row in a table by \arraystretch. Now, given that the height is generally bigger than the depth, for a sufficiently high value of \arraystretch you will get a larger space above than below. I think that if you put in the preamble the following line: \renewcommand{\arraystretch}{1.5} Thank you! That worked fine for me.
Re: table settings and setting border does all or nothing
On Wed, 17 Oct 2007, Enrico Forestieri wrote: However, you can control height and depth through a parameter. Indeed, LaTeX multiplies height and depth of a row in a table by \arraystretch. Now, given that the height is generally bigger than the depth, for a sufficiently high value of \arraystretch you will get a larger space above than below. I think that if you put in the preamble the following line: \renewcommand{\arraystretch}{1.5} Thank you! That worked fine for me.
Re: table settings and setting border does all or nothing
On Wed, 17 Oct 2007, Enrico Forestieri wrote: > However, you can control height and depth through a parameter. Indeed, > LaTeX multiplies height and depth of a row in a table by \arraystretch. > Now, given that the height is generally bigger than the depth, for a > sufficiently high value of \arraystretch you will get a larger space > above than below. > > I think that if you put in the preamble the following line: > > \renewcommand{\arraystretch}{1.5} Thank you! That worked fine for me.
Re: table settings and setting border does all or nothing
On Mon, 15 Oct 2007, Paul A. Rubin wrote: Jeremy C. Reed wrote: On first row, using the Table Settings dialog (in lyx 1.5.2), the top border selection is for entire row. I can't get it to work for a single cell. Anyone else have that problem? SOP for LaTeX. If you want to customize borders for individual cells, declare each such cell to be multicolumn (where in this case multi = 1). Multicolumn cells get their own personal borders. Thanks. That worked. Is it standard for not being able to align text in a cell vertically? My capitalized letters are touching the top of the cell border -- but their is a big whitespace gap below each character. Why not centered? The Settings menu tool tip popup says for fixed width. Jeremy C. Reed
Re: table settings and setting border does all or nothing
Jeremy C. Reed wrote: Thanks. That worked. Is it standard for not being able to align text in a cell vertically? My capitalized letters are touching the top of the cell border -- but their is a big whitespace gap below each character. Is this in the GUI or when you generate a DVI or PDF? (The GUI gives only an approximate representation of what the final document will look like.) If you're talking about the end product, do any of the letters have descenders? What looks like a big gap below might not look so big with a descender taking root in it. /Paul
Re: table settings and setting border does all or nothing
On Tue, 16 Oct 2007, Paul A. Rubin wrote: Is it standard for not being able to align text in a cell vertically? My capitalized letters are touching the top of the cell border -- but their is a big whitespace gap below each character. Is this in the GUI or when you generate a DVI or PDF? (The GUI gives only an approximate representation of what the final document will look like.) If you're talking about the end product, do any of the letters have descenders? What looks like a big gap below might not look so big with a descender taking root in it. In the generated output. Not all the rows have a descender (a g). Every row has the characters jammed up to the top. All the rows appear to be the same height. And even the bottom of the g doesn't touch the bottom of the row (the border), but the tops of letters like TTL and Fl touch the top of row (top border). Looks bad. I can provide PDF. (Just noticed that my upgrade from 1.4.x to 1.5.2 lost my PDF export and view using just latex to create the PDF.) Jeremy C. Reed
Re: table settings and setting border does all or nothing
Jeremy C. Reed wrote: In the generated output. Not all the rows have a descender (a g). Every row has the characters jammed up to the top. All the rows appear to be the same height. And even the bottom of the g doesn't touch the bottom of the row (the border), but the tops of letters like TTL and Fl touch the top of row (top border). Looks bad. I can provide PDF. I think posting a small example (both LyX and PDF) would be a good idea. /Paul
Re: table settings and setting border does all or nothing
On Tue, 16 Oct 2007, Paul A. Rubin wrote: In the generated output. Not all the rows have a descender (a g). Every row has the characters jammed up to the top. All the rows appear to be the same height. And even the bottom of the g doesn't touch the bottom of the row (the border), but the tops of letters like TTL and Fl touch the top of row (top border). Looks bad. I can provide PDF. I think posting a small example (both LyX and PDF) would be a good idea. Attached. Jeremy C. Reed#LyX 1.5.2 created this file. For more info see http://www.lyx.org/ \lyxformat 276 \begin_document \begin_header \textclass article \language english \inputencoding auto \font_roman default \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author \end_header \begin_body \begin_layout Standard \begin_inset Tabular lyxtabular version=3 rows=1 columns=1 features column alignment=center valignment=top leftline=true rightline=true width=0 row topline=true bottomline=true cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Standard AbCdEfghijKl \end_layout \end_inset /cell /row /lyxtabular \end_inset \end_layout \begin_layout Standard Another table: \end_layout \begin_layout Standard \begin_inset Tabular lyxtabular version=3 rows=2 columns=1 features column alignment=center valignment=top leftline=true rightline=true width=0 row topline=true bottomline=true cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Standard TTL \end_layout \end_inset /cell /row row topline=true bottomline=true cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Standard padding \end_layout \end_inset /cell /row /lyxtabular \end_inset \end_layout \end_body \end_document newfile7.pdf Description: Adobe PDF document
Re: table settings and setting border does all or nothing
Jeremy C. Reed writes: On Tue, 16 Oct 2007, Paul A. Rubin wrote: Is it standard for not being able to align text in a cell vertically? My capitalized letters are touching the top of the cell border -- but their is a big whitespace gap below each character. Is this in the GUI or when you generate a DVI or PDF? (The GUI gives only an approximate representation of what the final document will look like.) If you're talking about the end product, do any of the letters have descenders? What looks like a big gap below might not look so big with a descender taking root in it. In the generated output. Not all the rows have a descender (a g). Every row has the characters jammed up to the top. All the rows appear to be the same height. And even the bottom of the g doesn't touch the bottom of the row (the border), but the tops of letters like TTL and Fl touch the top of row (top border). Looks bad. I can provide PDF. LaTeX sizes the height of a row in table based on the height and depth of the font used, irrespectively of the fact that you have letters with ascenders or descenders. So the space above a T is the same as the space below a p such that in case of TTL the space below is indeed larger. However, you can control height and depth through a parameter. Indeed, LaTeX multiplies height and depth of a row in a table by \arraystretch. Now, given that the height is generally bigger than the depth, for a sufficiently high value of \arraystretch you will get a larger space above than below. I think that if you put in the preamble the following line: \renewcommand{\arraystretch}{1.5} you will get what you want. In case you want a finer control, you could try using the following in the preamble: \newbox\mystrutbox \setbox\mystrutbox\hbox{% [EMAIL PROTECTED]@[EMAIL PROTECTED]@} [EMAIL PROTECTED] Keep in mind that LaTeX uses .7 instead of .85 above, and that if you follow this second path, you will lose the ability to control the height of a table row through the \arraystretch parameter. HTH -- Enrico
Re: table settings and setting border does all or nothing
another option that i've used for adding custom white space is to create a new command in the preamble using \rule. this is an extension of the suggestion by Enrico and you can fine tune the extra space as needed. \newcommand\T{\rule{0pt}{2.6ex}} \newcommand\B{\rule[-1.2ex]{0pt}{0pt}} add these commands to the preamble and then insert ERT into a row that you want extra white space above \T or below \B the letters. note that you'll need to add a space after the \T or \B otherwise latex will think that you have a undefined command. cheers, -brian On Oct 16, 2007, at 7:18 PM, Enrico Forestieri wrote: Jeremy C. Reed writes: On Tue, 16 Oct 2007, Paul A. Rubin wrote: Is it standard for not being able to align text in a cell vertically? My capitalized letters are touching the top of the cell border -- but their is a big whitespace gap below each character. Is this in the GUI or when you generate a DVI or PDF? (The GUI gives only an approximate representation of what the final document will look like.) If you're talking about the end product, do any of the letters have descenders? What looks like a big gap below might not look so big with a descender taking root in it. In the generated output. Not all the rows have a descender (a g). Every row has the characters jammed up to the top. All the rows appear to be the same height. And even the bottom of the g doesn't touch the bottom of the row (the border), but the tops of letters like TTL and Fl touch the top of row (top border). Looks bad. I can provide PDF. LaTeX sizes the height of a row in table based on the height and depth of the font used, irrespectively of the fact that you have letters with ascenders or descenders. So the space above a T is the same as the space below a p such that in case of TTL the space below is indeed larger. However, you can control height and depth through a parameter. Indeed, LaTeX multiplies height and depth of a row in a table by \arraystretch. Now, given that the height is generally bigger than the depth, for a sufficiently high value of \arraystretch you will get a larger space above than below. I think that if you put in the preamble the following line: \renewcommand{\arraystretch}{1.5} you will get what you want. In case you want a finer control, you could try using the following in the preamble: \newbox\mystrutbox \setbox\mystrutbox\hbox{% [EMAIL PROTECTED]@[EMAIL PROTECTED]@} [EMAIL PROTECTED] \fi} Keep in mind that LaTeX uses .7 instead of .85 above, and that if you follow this second path, you will lose the ability to control the height of a table row through the \arraystretch parameter. HTH -- Enrico
Re: table settings and setting border does all or nothing
On Mon, 15 Oct 2007, Paul A. Rubin wrote: Jeremy C. Reed wrote: On first row, using the Table Settings dialog (in lyx 1.5.2), the top border selection is for entire row. I can't get it to work for a single cell. Anyone else have that problem? SOP for LaTeX. If you want to customize borders for individual cells, declare each such cell to be multicolumn (where in this case multi = 1). Multicolumn cells get their own personal borders. Thanks. That worked. Is it standard for not being able to align text in a cell vertically? My capitalized letters are touching the top of the cell border -- but their is a big whitespace gap below each character. Why not centered? The Settings menu tool tip popup says for fixed width. Jeremy C. Reed
Re: table settings and setting border does all or nothing
Jeremy C. Reed wrote: Thanks. That worked. Is it standard for not being able to align text in a cell vertically? My capitalized letters are touching the top of the cell border -- but their is a big whitespace gap below each character. Is this in the GUI or when you generate a DVI or PDF? (The GUI gives only an approximate representation of what the final document will look like.) If you're talking about the end product, do any of the letters have descenders? What looks like a big gap below might not look so big with a descender taking root in it. /Paul
Re: table settings and setting border does all or nothing
On Tue, 16 Oct 2007, Paul A. Rubin wrote: Is it standard for not being able to align text in a cell vertically? My capitalized letters are touching the top of the cell border -- but their is a big whitespace gap below each character. Is this in the GUI or when you generate a DVI or PDF? (The GUI gives only an approximate representation of what the final document will look like.) If you're talking about the end product, do any of the letters have descenders? What looks like a big gap below might not look so big with a descender taking root in it. In the generated output. Not all the rows have a descender (a g). Every row has the characters jammed up to the top. All the rows appear to be the same height. And even the bottom of the g doesn't touch the bottom of the row (the border), but the tops of letters like TTL and Fl touch the top of row (top border). Looks bad. I can provide PDF. (Just noticed that my upgrade from 1.4.x to 1.5.2 lost my PDF export and view using just latex to create the PDF.) Jeremy C. Reed
Re: table settings and setting border does all or nothing
Jeremy C. Reed wrote: In the generated output. Not all the rows have a descender (a g). Every row has the characters jammed up to the top. All the rows appear to be the same height. And even the bottom of the g doesn't touch the bottom of the row (the border), but the tops of letters like TTL and Fl touch the top of row (top border). Looks bad. I can provide PDF. I think posting a small example (both LyX and PDF) would be a good idea. /Paul
Re: table settings and setting border does all or nothing
On Tue, 16 Oct 2007, Paul A. Rubin wrote: In the generated output. Not all the rows have a descender (a g). Every row has the characters jammed up to the top. All the rows appear to be the same height. And even the bottom of the g doesn't touch the bottom of the row (the border), but the tops of letters like TTL and Fl touch the top of row (top border). Looks bad. I can provide PDF. I think posting a small example (both LyX and PDF) would be a good idea. Attached. Jeremy C. Reed#LyX 1.5.2 created this file. For more info see http://www.lyx.org/ \lyxformat 276 \begin_document \begin_header \textclass article \language english \inputencoding auto \font_roman default \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author \end_header \begin_body \begin_layout Standard \begin_inset Tabular lyxtabular version=3 rows=1 columns=1 features column alignment=center valignment=top leftline=true rightline=true width=0 row topline=true bottomline=true cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Standard AbCdEfghijKl \end_layout \end_inset /cell /row /lyxtabular \end_inset \end_layout \begin_layout Standard Another table: \end_layout \begin_layout Standard \begin_inset Tabular lyxtabular version=3 rows=2 columns=1 features column alignment=center valignment=top leftline=true rightline=true width=0 row topline=true bottomline=true cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Standard TTL \end_layout \end_inset /cell /row row topline=true bottomline=true cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Standard padding \end_layout \end_inset /cell /row /lyxtabular \end_inset \end_layout \end_body \end_document newfile7.pdf Description: Adobe PDF document
Re: table settings and setting border does all or nothing
Jeremy C. Reed writes: On Tue, 16 Oct 2007, Paul A. Rubin wrote: Is it standard for not being able to align text in a cell vertically? My capitalized letters are touching the top of the cell border -- but their is a big whitespace gap below each character. Is this in the GUI or when you generate a DVI or PDF? (The GUI gives only an approximate representation of what the final document will look like.) If you're talking about the end product, do any of the letters have descenders? What looks like a big gap below might not look so big with a descender taking root in it. In the generated output. Not all the rows have a descender (a g). Every row has the characters jammed up to the top. All the rows appear to be the same height. And even the bottom of the g doesn't touch the bottom of the row (the border), but the tops of letters like TTL and Fl touch the top of row (top border). Looks bad. I can provide PDF. LaTeX sizes the height of a row in table based on the height and depth of the font used, irrespectively of the fact that you have letters with ascenders or descenders. So the space above a T is the same as the space below a p such that in case of TTL the space below is indeed larger. However, you can control height and depth through a parameter. Indeed, LaTeX multiplies height and depth of a row in a table by \arraystretch. Now, given that the height is generally bigger than the depth, for a sufficiently high value of \arraystretch you will get a larger space above than below. I think that if you put in the preamble the following line: \renewcommand{\arraystretch}{1.5} you will get what you want. In case you want a finer control, you could try using the following in the preamble: \newbox\mystrutbox \setbox\mystrutbox\hbox{% [EMAIL PROTECTED]@[EMAIL PROTECTED]@} [EMAIL PROTECTED] Keep in mind that LaTeX uses .7 instead of .85 above, and that if you follow this second path, you will lose the ability to control the height of a table row through the \arraystretch parameter. HTH -- Enrico
Re: table settings and setting border does all or nothing
another option that i've used for adding custom white space is to create a new command in the preamble using \rule. this is an extension of the suggestion by Enrico and you can fine tune the extra space as needed. \newcommand\T{\rule{0pt}{2.6ex}} \newcommand\B{\rule[-1.2ex]{0pt}{0pt}} add these commands to the preamble and then insert ERT into a row that you want extra white space above \T or below \B the letters. note that you'll need to add a space after the \T or \B otherwise latex will think that you have a undefined command. cheers, -brian On Oct 16, 2007, at 7:18 PM, Enrico Forestieri wrote: Jeremy C. Reed writes: On Tue, 16 Oct 2007, Paul A. Rubin wrote: Is it standard for not being able to align text in a cell vertically? My capitalized letters are touching the top of the cell border -- but their is a big whitespace gap below each character. Is this in the GUI or when you generate a DVI or PDF? (The GUI gives only an approximate representation of what the final document will look like.) If you're talking about the end product, do any of the letters have descenders? What looks like a big gap below might not look so big with a descender taking root in it. In the generated output. Not all the rows have a descender (a g). Every row has the characters jammed up to the top. All the rows appear to be the same height. And even the bottom of the g doesn't touch the bottom of the row (the border), but the tops of letters like TTL and Fl touch the top of row (top border). Looks bad. I can provide PDF. LaTeX sizes the height of a row in table based on the height and depth of the font used, irrespectively of the fact that you have letters with ascenders or descenders. So the space above a T is the same as the space below a p such that in case of TTL the space below is indeed larger. However, you can control height and depth through a parameter. Indeed, LaTeX multiplies height and depth of a row in a table by \arraystretch. Now, given that the height is generally bigger than the depth, for a sufficiently high value of \arraystretch you will get a larger space above than below. I think that if you put in the preamble the following line: \renewcommand{\arraystretch}{1.5} you will get what you want. In case you want a finer control, you could try using the following in the preamble: \newbox\mystrutbox \setbox\mystrutbox\hbox{% [EMAIL PROTECTED]@[EMAIL PROTECTED]@} [EMAIL PROTECTED] \fi} Keep in mind that LaTeX uses .7 instead of .85 above, and that if you follow this second path, you will lose the ability to control the height of a table row through the \arraystretch parameter. HTH -- Enrico
Re: table settings and setting border does all or nothing
On Mon, 15 Oct 2007, Paul A. Rubin wrote: > Jeremy C. Reed wrote: > > On first row, using the Table Settings dialog (in lyx 1.5.2), the top border > > selection is for entire row. I can't get it to work for a single cell. > > > > Anyone else have that problem? > > > > SOP for LaTeX. If you want to customize borders for individual cells, > declare each such cell to be multicolumn (where in this case "multi" = > 1). > Multicolumn cells get their own personal borders. Thanks. That worked. Is it standard for not being able to align text in a cell vertically? My capitalized letters are touching the top of the cell border -- but their is a big whitespace gap below each character. Why not centered? The Settings menu tool tip popup says for fixed width. Jeremy C. Reed
Re: table settings and setting border does all or nothing
Jeremy C. Reed wrote: Thanks. That worked. Is it standard for not being able to align text in a cell vertically? My capitalized letters are touching the top of the cell border -- but their is a big whitespace gap below each character. Is this in the GUI or when you generate a DVI or PDF? (The GUI gives only an approximate representation of what the final document will look like.) If you're talking about the end product, do any of the letters have descenders? What looks like a big gap below might not look so big with a descender taking root in it. /Paul
Re: table settings and setting border does all or nothing
On Tue, 16 Oct 2007, Paul A. Rubin wrote: > > Is it standard for not being able to align text in a cell vertically? My > > capitalized letters are touching the top of the cell border -- but their is > > a big whitespace gap below each character. > > Is this in the GUI or when you generate a DVI or PDF? (The GUI gives > only an approximate representation of what the final document will look > like.) If you're talking about the end product, do any of the letters > have descenders? What looks like a big gap below might not look so big > with a descender taking root in it. In the generated output. Not all the rows have a descender (a "g"). Every row has the characters jammed up to the top. All the rows appear to be the same height. And even the bottom of the "g" doesn't touch the bottom of the row (the border), but the tops of letters like "TTL" and "Fl" touch the top of row (top border). Looks bad. I can provide PDF. (Just noticed that my upgrade from 1.4.x to 1.5.2 lost my PDF export and view using just "latex" to create the PDF.) Jeremy C. Reed
Re: table settings and setting border does all or nothing
Jeremy C. Reed wrote: In the generated output. Not all the rows have a descender (a "g"). Every row has the characters jammed up to the top. All the rows appear to be the same height. And even the bottom of the "g" doesn't touch the bottom of the row (the border), but the tops of letters like "TTL" and "Fl" touch the top of row (top border). Looks bad. I can provide PDF. I think posting a small example (both LyX and PDF) would be a good idea. /Paul
Re: table settings and setting border does all or nothing
On Tue, 16 Oct 2007, Paul A. Rubin wrote: > > In the generated output. Not all the rows have a descender (a "g"). Every > > row has the characters jammed up to the top. All the rows appear to be the > > same height. And even the bottom of the "g" doesn't touch the bottom of the > > row (the border), but the tops of letters like "TTL" and "Fl" touch the top > > of row (top border). Looks bad. I can provide PDF. > > I think posting a small example (both LyX and PDF) would be a good idea. Attached. Jeremy C. Reed#LyX 1.5.2 created this file. For more info see http://www.lyx.org/ \lyxformat 276 \begin_document \begin_header \textclass article \language english \inputencoding auto \font_roman default \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \papersize default \use_geometry false \use_amsmath 1 \use_esint 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author "" \end_header \begin_body \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Standard AbCdEfghijKl \end_layout \end_inset \end_inset \end_layout \begin_layout Standard Another table: \end_layout \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Standard TTL \end_layout \end_inset \begin_inset Text \begin_layout Standard padding \end_layout \end_inset \end_inset \end_layout \end_body \end_document newfile7.pdf Description: Adobe PDF document
Re: table settings and setting border does all or nothing
Jeremy C. Reed writes: > > On Tue, 16 Oct 2007, Paul A. Rubin wrote: > > > > Is it standard for not being able to align text in a cell vertically? My > > > capitalized letters are touching the top of the cell border -- but their > > > is > > > a big whitespace gap below each character. > > > > Is this in the GUI or when you generate a DVI or PDF? (The GUI gives > > only an approximate representation of what the final document will look > > like.) If you're talking about the end product, do any of the letters > > have descenders? What looks like a big gap below might not look so big > > with a descender taking root in it. > > In the generated output. Not all the rows have a descender (a "g"). Every > row has the characters jammed up to the top. All the rows appear to be the > same height. And even the bottom of the "g" doesn't touch the bottom of > the row (the border), but the tops of letters like "TTL" and "Fl" touch > the top of row (top border). Looks bad. I can provide PDF. LaTeX sizes the height of a row in table based on the height and depth of the font used, irrespectively of the fact that you have letters with ascenders or descenders. So the space above a "T" is the same as the space below a "p" such that in case of "TTL" the space below is indeed larger. However, you can control height and depth through a parameter. Indeed, LaTeX multiplies height and depth of a row in a table by \arraystretch. Now, given that the height is generally bigger than the depth, for a sufficiently high value of \arraystretch you will get a larger space above than below. I think that if you put in the preamble the following line: \renewcommand{\arraystretch}{1.5} you will get what you want. In case you want a finer control, you could try using the following in the preamble: \newbox\mystrutbox \setbox\mystrutbox\hbox{% [EMAIL PROTECTED]@[EMAIL PROTECTED]@} [EMAIL PROTECTED] Keep in mind that LaTeX uses .7 instead of .85 above, and that if you follow this second path, you will lose the ability to control the height of a table row through the \arraystretch parameter. HTH -- Enrico
Re: table settings and setting border does all or nothing
another option that i've used for adding custom white space is to create a new command in the preamble using \rule. this is an extension of the suggestion by Enrico and you can fine tune the extra space as needed. \newcommand\T{\rule{0pt}{2.6ex}} \newcommand\B{\rule[-1.2ex]{0pt}{0pt}} add these commands to the preamble and then insert ERT into a row that you want extra white space above \T or below \B the letters. note that you'll need to add a space after the \T or \B otherwise latex will think that you have a undefined command. cheers, -brian On Oct 16, 2007, at 7:18 PM, Enrico Forestieri wrote: Jeremy C. Reed writes: On Tue, 16 Oct 2007, Paul A. Rubin wrote: Is it standard for not being able to align text in a cell vertically? My capitalized letters are touching the top of the cell border -- but their is a big whitespace gap below each character. Is this in the GUI or when you generate a DVI or PDF? (The GUI gives only an approximate representation of what the final document will look like.) If you're talking about the end product, do any of the letters have descenders? What looks like a big gap below might not look so big with a descender taking root in it. In the generated output. Not all the rows have a descender (a "g"). Every row has the characters jammed up to the top. All the rows appear to be the same height. And even the bottom of the "g" doesn't touch the bottom of the row (the border), but the tops of letters like "TTL" and "Fl" touch the top of row (top border). Looks bad. I can provide PDF. LaTeX sizes the height of a row in table based on the height and depth of the font used, irrespectively of the fact that you have letters with ascenders or descenders. So the space above a "T" is the same as the space below a "p" such that in case of "TTL" the space below is indeed larger. However, you can control height and depth through a parameter. Indeed, LaTeX multiplies height and depth of a row in a table by \arraystretch. Now, given that the height is generally bigger than the depth, for a sufficiently high value of \arraystretch you will get a larger space above than below. I think that if you put in the preamble the following line: \renewcommand{\arraystretch}{1.5} you will get what you want. In case you want a finer control, you could try using the following in the preamble: \newbox\mystrutbox \setbox\mystrutbox\hbox{% [EMAIL PROTECTED]@[EMAIL PROTECTED]@} [EMAIL PROTECTED] \fi} Keep in mind that LaTeX uses .7 instead of .85 above, and that if you follow this second path, you will lose the ability to control the height of a table row through the \arraystretch parameter. HTH -- Enrico
table settings and setting border does all or nothing
On first row, using the Table Settings dialog (in lyx 1.5.2), the top border selection is for entire row. I can't get it to work for a single cell. Anyone else have that problem? Jeremy C. Reed
Re: table settings and setting border does all or nothing
Jeremy C. Reed wrote: On first row, using the Table Settings dialog (in lyx 1.5.2), the top border selection is for entire row. I can't get it to work for a single cell. Anyone else have that problem? SOP for LaTeX. If you want to customize borders for individual cells, declare each such cell to be multicolumn (where in this case multi = 1). Multicolumn cells get their own personal borders. /Paul
table settings and setting border does all or nothing
On first row, using the Table Settings dialog (in lyx 1.5.2), the top border selection is for entire row. I can't get it to work for a single cell. Anyone else have that problem? Jeremy C. Reed
Re: table settings and setting border does all or nothing
Jeremy C. Reed wrote: On first row, using the Table Settings dialog (in lyx 1.5.2), the top border selection is for entire row. I can't get it to work for a single cell. Anyone else have that problem? SOP for LaTeX. If you want to customize borders for individual cells, declare each such cell to be multicolumn (where in this case multi = 1). Multicolumn cells get their own personal borders. /Paul
table settings and setting border does all or nothing
On first row, using the Table Settings dialog (in lyx 1.5.2), the top border selection is for entire row. I can't get it to work for a single cell. Anyone else have that problem? Jeremy C. Reed
Re: table settings and setting border does all or nothing
Jeremy C. Reed wrote: On first row, using the Table Settings dialog (in lyx 1.5.2), the top border selection is for entire row. I can't get it to work for a single cell. Anyone else have that problem? SOP for LaTeX. If you want to customize borders for individual cells, declare each such cell to be multicolumn (where in this case "multi" = 1). Multicolumn cells get their own personal borders. /Paul