How to increase row height of a table and vertically “align middle”?Paragraph column in tabular working only in the first columnIncrease row height of tabularxIncrease LaTeX table row heightIncrease table row height but not separation from surrounding textIs there a simple way to create a latex equivalent of this (ms)word table template?Increase the height of the row in the tableVertically align first multiline row of tableHow can I find the cell height in a tabular?Tabular header vertical align and row heightHow to define a minimal height for all rows of a tabular?
Best species to breed to intelligence
Which scripture contains sri datta stavam?
Is there an application which does HTTP PUT?
Why can't I prove summation identities without guessing?
Intersecting with the x-axis / intersecting the x-axis
How to make a language evolve quickly?
How to select certain lines (n, n+4, n+8, n+12...) from the file?
Why is the Sun made of light elements only?
Succinct and gender-neutral Russian word for "writer"
Is there any evidence to support the claim that the United States was "suckered into WW1" by Zionists, made by Benjamin Freedman in his 1961 speech
If a character drops a magic item that turns on/off, does that item turn off when they drop it?
Early arrival in Australia, early check in not available
Why does a variable size struct not compile in the Arduino IDE?
Renting a house to a graduate student in my department
Company threw a surprise party for the CEO, 3 weeks later management says we have to pay for it, do I have to?
Print a string of characters with their occurrences
What food production methods would allow a metropolis like New York to become self sufficient
What is the name of meteoroids which hit Moon, Mars, or pretty much anything that isn’t the Earth?
Is it bad writing or bad story telling if first person narrative contains more information than the narrator knows?
Cryptography and elliptic curves
Why does increasing the sampling rate make implementing an anti-aliasing filter easier?
How to slow yourself down (for playing nice with others)
What can cause an unfrozen indoor copper drain pipe to crack?
Why is PerfectForwardSecrecy considered OK, when it has same defects as salt-less password hashing?
How to increase row height of a table and vertically “align middle”?
Paragraph column in tabular working only in the first columnIncrease row height of tabularxIncrease LaTeX table row heightIncrease table row height but not separation from surrounding textIs there a simple way to create a latex equivalent of this (ms)word table template?Increase the height of the row in the tableVertically align first multiline row of tableHow can I find the cell height in a tabular?Tabular header vertical align and row heightHow to define a minimal height for all rows of a tabular?
I am writing in IEEEtran
double-column environment and have a table like the following. I need to increase the row height so the equations in the second column can fit in. I tried simply to use renewcommandarraystretch2.5
where every thing can fit in but the vertical alignment is not very good. For example, the first row are not aligned and it seems that each cell is not perfectly vertically middle aligned if you look closely. They are very slightly a little higher or a little lower. My question is, besides increasing the row height, how do I make each cell perfectly middle align in the vertical direction?
The tables shown below are of arraystretch
1 and 2.5, respectively.
The codes for producing the tables are
begintable
captionarraystretch = 1
renewcommandarraystretch1
centering%
begintabularccc
toprule
multirow1*No. & Equations & Current phasorstabularnewline
midrule
multirow2*1 & multirow2*$begincases
i_A=1\
i_B=2\
i_C=3
endcases$ & 1, 2, 3tabularnewline
cmidrule3-3
& & 4, 5, 6tabularnewline
midrule
multirow2*2 & multirow2*$begincases
i_A=4\
i_B=5\
i_C=6
endcases$ & 1, 2, 3tabularnewline
cmidrule3-3
& & 4, 5, 6tabularnewline
bottomrule
endtabular
endtable
begintable
captionarraystretch = 2.5
renewcommandarraystretch2.5
centering%
begintabularccc
toprule
multirow1*No. & Equations & Current phasorstabularnewline
midrule
multirow2*1 & multirow2*$begincases
i_A=1\
i_B=2\
i_C=3
endcases$ & 1, 2, 3tabularnewline
cmidrule3-3
& & 4, 5, 6tabularnewline
midrule
multirow2*2 & multirow2*$begincases
i_A=4\
i_B=5\
i_C=6
endcases$ & 1, 2, 3tabularnewline
cmidrule3-3
& & 4, 5, 6tabularnewline
bottomrule
endtabular
endtable
tables
add a comment |
I am writing in IEEEtran
double-column environment and have a table like the following. I need to increase the row height so the equations in the second column can fit in. I tried simply to use renewcommandarraystretch2.5
where every thing can fit in but the vertical alignment is not very good. For example, the first row are not aligned and it seems that each cell is not perfectly vertically middle aligned if you look closely. They are very slightly a little higher or a little lower. My question is, besides increasing the row height, how do I make each cell perfectly middle align in the vertical direction?
The tables shown below are of arraystretch
1 and 2.5, respectively.
The codes for producing the tables are
begintable
captionarraystretch = 1
renewcommandarraystretch1
centering%
begintabularccc
toprule
multirow1*No. & Equations & Current phasorstabularnewline
midrule
multirow2*1 & multirow2*$begincases
i_A=1\
i_B=2\
i_C=3
endcases$ & 1, 2, 3tabularnewline
cmidrule3-3
& & 4, 5, 6tabularnewline
midrule
multirow2*2 & multirow2*$begincases
i_A=4\
i_B=5\
i_C=6
endcases$ & 1, 2, 3tabularnewline
cmidrule3-3
& & 4, 5, 6tabularnewline
bottomrule
endtabular
endtable
begintable
captionarraystretch = 2.5
renewcommandarraystretch2.5
centering%
begintabularccc
toprule
multirow1*No. & Equations & Current phasorstabularnewline
midrule
multirow2*1 & multirow2*$begincases
i_A=1\
i_B=2\
i_C=3
endcases$ & 1, 2, 3tabularnewline
cmidrule3-3
& & 4, 5, 6tabularnewline
midrule
multirow2*2 & multirow2*$begincases
i_A=4\
i_B=5\
i_C=6
endcases$ & 1, 2, 3tabularnewline
cmidrule3-3
& & 4, 5, 6tabularnewline
bottomrule
endtabular
endtable
tables
add a comment |
I am writing in IEEEtran
double-column environment and have a table like the following. I need to increase the row height so the equations in the second column can fit in. I tried simply to use renewcommandarraystretch2.5
where every thing can fit in but the vertical alignment is not very good. For example, the first row are not aligned and it seems that each cell is not perfectly vertically middle aligned if you look closely. They are very slightly a little higher or a little lower. My question is, besides increasing the row height, how do I make each cell perfectly middle align in the vertical direction?
The tables shown below are of arraystretch
1 and 2.5, respectively.
The codes for producing the tables are
begintable
captionarraystretch = 1
renewcommandarraystretch1
centering%
begintabularccc
toprule
multirow1*No. & Equations & Current phasorstabularnewline
midrule
multirow2*1 & multirow2*$begincases
i_A=1\
i_B=2\
i_C=3
endcases$ & 1, 2, 3tabularnewline
cmidrule3-3
& & 4, 5, 6tabularnewline
midrule
multirow2*2 & multirow2*$begincases
i_A=4\
i_B=5\
i_C=6
endcases$ & 1, 2, 3tabularnewline
cmidrule3-3
& & 4, 5, 6tabularnewline
bottomrule
endtabular
endtable
begintable
captionarraystretch = 2.5
renewcommandarraystretch2.5
centering%
begintabularccc
toprule
multirow1*No. & Equations & Current phasorstabularnewline
midrule
multirow2*1 & multirow2*$begincases
i_A=1\
i_B=2\
i_C=3
endcases$ & 1, 2, 3tabularnewline
cmidrule3-3
& & 4, 5, 6tabularnewline
midrule
multirow2*2 & multirow2*$begincases
i_A=4\
i_B=5\
i_C=6
endcases$ & 1, 2, 3tabularnewline
cmidrule3-3
& & 4, 5, 6tabularnewline
bottomrule
endtabular
endtable
tables
I am writing in IEEEtran
double-column environment and have a table like the following. I need to increase the row height so the equations in the second column can fit in. I tried simply to use renewcommandarraystretch2.5
where every thing can fit in but the vertical alignment is not very good. For example, the first row are not aligned and it seems that each cell is not perfectly vertically middle aligned if you look closely. They are very slightly a little higher or a little lower. My question is, besides increasing the row height, how do I make each cell perfectly middle align in the vertical direction?
The tables shown below are of arraystretch
1 and 2.5, respectively.
The codes for producing the tables are
begintable
captionarraystretch = 1
renewcommandarraystretch1
centering%
begintabularccc
toprule
multirow1*No. & Equations & Current phasorstabularnewline
midrule
multirow2*1 & multirow2*$begincases
i_A=1\
i_B=2\
i_C=3
endcases$ & 1, 2, 3tabularnewline
cmidrule3-3
& & 4, 5, 6tabularnewline
midrule
multirow2*2 & multirow2*$begincases
i_A=4\
i_B=5\
i_C=6
endcases$ & 1, 2, 3tabularnewline
cmidrule3-3
& & 4, 5, 6tabularnewline
bottomrule
endtabular
endtable
begintable
captionarraystretch = 2.5
renewcommandarraystretch2.5
centering%
begintabularccc
toprule
multirow1*No. & Equations & Current phasorstabularnewline
midrule
multirow2*1 & multirow2*$begincases
i_A=1\
i_B=2\
i_C=3
endcases$ & 1, 2, 3tabularnewline
cmidrule3-3
& & 4, 5, 6tabularnewline
midrule
multirow2*2 & multirow2*$begincases
i_A=4\
i_B=5\
i_C=6
endcases$ & 1, 2, 3tabularnewline
cmidrule3-3
& & 4, 5, 6tabularnewline
bottomrule
endtabular
endtable
tables
tables
edited May 6 at 21:44
Mico
290k32398786
290k32398786
asked May 6 at 20:25
nanjunnanjun
18517
18517
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The structure of your table is sufficiently unusual to warrant typesetting the contents of each cell as a separate custom, vertically centered tabular
environment in its own right.
In the following example, I define two such custom tabular
-like environments:
mytabC
, if the width of the tabular is supposed to equal the natural width of the cell's contents, andmytabP
, if the width of the tabular is supposed to be a fixed length -- say, the width of the contents of the corresponding header cell.
In the following screenshot, the upper row employs mytabC
for columns 1 and 2, and mytabP
for the third column. The lower row employs mytabC
for all 3 columns. I provide both types of solutions as it's not clear to me whether the midrule
is supposed to span the full width of the cell or if its width is supposed to be the natural width of the cell's contents.
documentclassIEEEtran
usepackagebooktabs,amsmath,array,ragged2e
%% Some housekeeping:
newlengthmylen
newcolumntypeP[1]>Centeringarraybackslashp#1
%% Macros to generate two custom 'tabular' environments:
newcommandmytabC[1]%
begintabular[c]@ c @ #1 endtabular
newcommandmytabP[2]settowidthmylen#1%
begintabular[c]@ Pmylen @ #2 endtabular
begindocument
begintable
captionarraystretch = 1
centering
begintabular@ccc@
toprule
No. & Equations & Current phasors\
midrule
mytabC1 &
mytabC$begincases i_A=1\i_B=2\i_C=3 endcases$ &
mytabPCurrent phasors1, 2, 3\ midrule 4, 5, 6\
midrule
mytabC2 &
mytabC$begincases i_D=4\i_E=5\i_F=6 endcases$ &
mytabC7, 8, 9\ midrule 0, 1, 2\
bottomrule
endtabular
endtable
enddocument
Thank you for the answer. In the last column,midrule
is supposed to span the full width of the cell. The cells "1, 2, 3" and "4, 5, 6" are not vertically centered, is there a way to center those?
– nanjun
2 days ago
@nanjun - Thanks for this clarification. (You screenshots didn't hint at you requirement for the contents of the final column.) Real quick: Should the midrule in the final column always be centered vertically within the cell, or might there be cases where this isn't the case?
– Mico
2 days ago
Thank you again. The midrule in the last column would always be centered vertically within the larger cell. The smaller cell above and below the midrule also need to be vertically centered. Right now the row " No. 1" in your answer looks good except that the two samller cells "1, 2, 3" and "4, 5, 6" are not vertically centered themselves. In other words, within each cell, no matter it is a small cell or large cell, the content are always meant to be vertically centered.
– nanjun
2 days ago
@nanjun - To solve your updated formatting requirements for the material in column 3, it would be really helpful to know what kind of material may be expected to occur in column 2. E.g., will this updated material always consist of acases
environment with exactly 3 rows? Please advise.
– Mico
yesterday
Yes, @Mico. The 2nd column will always consist of acases
environment with exactly 3 rows.
– nanjun
yesterday
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f489489%2fhow-to-increase-row-height-of-a-table-and-vertically-align-middle%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The structure of your table is sufficiently unusual to warrant typesetting the contents of each cell as a separate custom, vertically centered tabular
environment in its own right.
In the following example, I define two such custom tabular
-like environments:
mytabC
, if the width of the tabular is supposed to equal the natural width of the cell's contents, andmytabP
, if the width of the tabular is supposed to be a fixed length -- say, the width of the contents of the corresponding header cell.
In the following screenshot, the upper row employs mytabC
for columns 1 and 2, and mytabP
for the third column. The lower row employs mytabC
for all 3 columns. I provide both types of solutions as it's not clear to me whether the midrule
is supposed to span the full width of the cell or if its width is supposed to be the natural width of the cell's contents.
documentclassIEEEtran
usepackagebooktabs,amsmath,array,ragged2e
%% Some housekeeping:
newlengthmylen
newcolumntypeP[1]>Centeringarraybackslashp#1
%% Macros to generate two custom 'tabular' environments:
newcommandmytabC[1]%
begintabular[c]@ c @ #1 endtabular
newcommandmytabP[2]settowidthmylen#1%
begintabular[c]@ Pmylen @ #2 endtabular
begindocument
begintable
captionarraystretch = 1
centering
begintabular@ccc@
toprule
No. & Equations & Current phasors\
midrule
mytabC1 &
mytabC$begincases i_A=1\i_B=2\i_C=3 endcases$ &
mytabPCurrent phasors1, 2, 3\ midrule 4, 5, 6\
midrule
mytabC2 &
mytabC$begincases i_D=4\i_E=5\i_F=6 endcases$ &
mytabC7, 8, 9\ midrule 0, 1, 2\
bottomrule
endtabular
endtable
enddocument
Thank you for the answer. In the last column,midrule
is supposed to span the full width of the cell. The cells "1, 2, 3" and "4, 5, 6" are not vertically centered, is there a way to center those?
– nanjun
2 days ago
@nanjun - Thanks for this clarification. (You screenshots didn't hint at you requirement for the contents of the final column.) Real quick: Should the midrule in the final column always be centered vertically within the cell, or might there be cases where this isn't the case?
– Mico
2 days ago
Thank you again. The midrule in the last column would always be centered vertically within the larger cell. The smaller cell above and below the midrule also need to be vertically centered. Right now the row " No. 1" in your answer looks good except that the two samller cells "1, 2, 3" and "4, 5, 6" are not vertically centered themselves. In other words, within each cell, no matter it is a small cell or large cell, the content are always meant to be vertically centered.
– nanjun
2 days ago
@nanjun - To solve your updated formatting requirements for the material in column 3, it would be really helpful to know what kind of material may be expected to occur in column 2. E.g., will this updated material always consist of acases
environment with exactly 3 rows? Please advise.
– Mico
yesterday
Yes, @Mico. The 2nd column will always consist of acases
environment with exactly 3 rows.
– nanjun
yesterday
add a comment |
The structure of your table is sufficiently unusual to warrant typesetting the contents of each cell as a separate custom, vertically centered tabular
environment in its own right.
In the following example, I define two such custom tabular
-like environments:
mytabC
, if the width of the tabular is supposed to equal the natural width of the cell's contents, andmytabP
, if the width of the tabular is supposed to be a fixed length -- say, the width of the contents of the corresponding header cell.
In the following screenshot, the upper row employs mytabC
for columns 1 and 2, and mytabP
for the third column. The lower row employs mytabC
for all 3 columns. I provide both types of solutions as it's not clear to me whether the midrule
is supposed to span the full width of the cell or if its width is supposed to be the natural width of the cell's contents.
documentclassIEEEtran
usepackagebooktabs,amsmath,array,ragged2e
%% Some housekeeping:
newlengthmylen
newcolumntypeP[1]>Centeringarraybackslashp#1
%% Macros to generate two custom 'tabular' environments:
newcommandmytabC[1]%
begintabular[c]@ c @ #1 endtabular
newcommandmytabP[2]settowidthmylen#1%
begintabular[c]@ Pmylen @ #2 endtabular
begindocument
begintable
captionarraystretch = 1
centering
begintabular@ccc@
toprule
No. & Equations & Current phasors\
midrule
mytabC1 &
mytabC$begincases i_A=1\i_B=2\i_C=3 endcases$ &
mytabPCurrent phasors1, 2, 3\ midrule 4, 5, 6\
midrule
mytabC2 &
mytabC$begincases i_D=4\i_E=5\i_F=6 endcases$ &
mytabC7, 8, 9\ midrule 0, 1, 2\
bottomrule
endtabular
endtable
enddocument
Thank you for the answer. In the last column,midrule
is supposed to span the full width of the cell. The cells "1, 2, 3" and "4, 5, 6" are not vertically centered, is there a way to center those?
– nanjun
2 days ago
@nanjun - Thanks for this clarification. (You screenshots didn't hint at you requirement for the contents of the final column.) Real quick: Should the midrule in the final column always be centered vertically within the cell, or might there be cases where this isn't the case?
– Mico
2 days ago
Thank you again. The midrule in the last column would always be centered vertically within the larger cell. The smaller cell above and below the midrule also need to be vertically centered. Right now the row " No. 1" in your answer looks good except that the two samller cells "1, 2, 3" and "4, 5, 6" are not vertically centered themselves. In other words, within each cell, no matter it is a small cell or large cell, the content are always meant to be vertically centered.
– nanjun
2 days ago
@nanjun - To solve your updated formatting requirements for the material in column 3, it would be really helpful to know what kind of material may be expected to occur in column 2. E.g., will this updated material always consist of acases
environment with exactly 3 rows? Please advise.
– Mico
yesterday
Yes, @Mico. The 2nd column will always consist of acases
environment with exactly 3 rows.
– nanjun
yesterday
add a comment |
The structure of your table is sufficiently unusual to warrant typesetting the contents of each cell as a separate custom, vertically centered tabular
environment in its own right.
In the following example, I define two such custom tabular
-like environments:
mytabC
, if the width of the tabular is supposed to equal the natural width of the cell's contents, andmytabP
, if the width of the tabular is supposed to be a fixed length -- say, the width of the contents of the corresponding header cell.
In the following screenshot, the upper row employs mytabC
for columns 1 and 2, and mytabP
for the third column. The lower row employs mytabC
for all 3 columns. I provide both types of solutions as it's not clear to me whether the midrule
is supposed to span the full width of the cell or if its width is supposed to be the natural width of the cell's contents.
documentclassIEEEtran
usepackagebooktabs,amsmath,array,ragged2e
%% Some housekeeping:
newlengthmylen
newcolumntypeP[1]>Centeringarraybackslashp#1
%% Macros to generate two custom 'tabular' environments:
newcommandmytabC[1]%
begintabular[c]@ c @ #1 endtabular
newcommandmytabP[2]settowidthmylen#1%
begintabular[c]@ Pmylen @ #2 endtabular
begindocument
begintable
captionarraystretch = 1
centering
begintabular@ccc@
toprule
No. & Equations & Current phasors\
midrule
mytabC1 &
mytabC$begincases i_A=1\i_B=2\i_C=3 endcases$ &
mytabPCurrent phasors1, 2, 3\ midrule 4, 5, 6\
midrule
mytabC2 &
mytabC$begincases i_D=4\i_E=5\i_F=6 endcases$ &
mytabC7, 8, 9\ midrule 0, 1, 2\
bottomrule
endtabular
endtable
enddocument
The structure of your table is sufficiently unusual to warrant typesetting the contents of each cell as a separate custom, vertically centered tabular
environment in its own right.
In the following example, I define two such custom tabular
-like environments:
mytabC
, if the width of the tabular is supposed to equal the natural width of the cell's contents, andmytabP
, if the width of the tabular is supposed to be a fixed length -- say, the width of the contents of the corresponding header cell.
In the following screenshot, the upper row employs mytabC
for columns 1 and 2, and mytabP
for the third column. The lower row employs mytabC
for all 3 columns. I provide both types of solutions as it's not clear to me whether the midrule
is supposed to span the full width of the cell or if its width is supposed to be the natural width of the cell's contents.
documentclassIEEEtran
usepackagebooktabs,amsmath,array,ragged2e
%% Some housekeeping:
newlengthmylen
newcolumntypeP[1]>Centeringarraybackslashp#1
%% Macros to generate two custom 'tabular' environments:
newcommandmytabC[1]%
begintabular[c]@ c @ #1 endtabular
newcommandmytabP[2]settowidthmylen#1%
begintabular[c]@ Pmylen @ #2 endtabular
begindocument
begintable
captionarraystretch = 1
centering
begintabular@ccc@
toprule
No. & Equations & Current phasors\
midrule
mytabC1 &
mytabC$begincases i_A=1\i_B=2\i_C=3 endcases$ &
mytabPCurrent phasors1, 2, 3\ midrule 4, 5, 6\
midrule
mytabC2 &
mytabC$begincases i_D=4\i_E=5\i_F=6 endcases$ &
mytabC7, 8, 9\ midrule 0, 1, 2\
bottomrule
endtabular
endtable
enddocument
edited May 6 at 21:57
answered May 6 at 21:31
MicoMico
290k32398786
290k32398786
Thank you for the answer. In the last column,midrule
is supposed to span the full width of the cell. The cells "1, 2, 3" and "4, 5, 6" are not vertically centered, is there a way to center those?
– nanjun
2 days ago
@nanjun - Thanks for this clarification. (You screenshots didn't hint at you requirement for the contents of the final column.) Real quick: Should the midrule in the final column always be centered vertically within the cell, or might there be cases where this isn't the case?
– Mico
2 days ago
Thank you again. The midrule in the last column would always be centered vertically within the larger cell. The smaller cell above and below the midrule also need to be vertically centered. Right now the row " No. 1" in your answer looks good except that the two samller cells "1, 2, 3" and "4, 5, 6" are not vertically centered themselves. In other words, within each cell, no matter it is a small cell or large cell, the content are always meant to be vertically centered.
– nanjun
2 days ago
@nanjun - To solve your updated formatting requirements for the material in column 3, it would be really helpful to know what kind of material may be expected to occur in column 2. E.g., will this updated material always consist of acases
environment with exactly 3 rows? Please advise.
– Mico
yesterday
Yes, @Mico. The 2nd column will always consist of acases
environment with exactly 3 rows.
– nanjun
yesterday
add a comment |
Thank you for the answer. In the last column,midrule
is supposed to span the full width of the cell. The cells "1, 2, 3" and "4, 5, 6" are not vertically centered, is there a way to center those?
– nanjun
2 days ago
@nanjun - Thanks for this clarification. (You screenshots didn't hint at you requirement for the contents of the final column.) Real quick: Should the midrule in the final column always be centered vertically within the cell, or might there be cases where this isn't the case?
– Mico
2 days ago
Thank you again. The midrule in the last column would always be centered vertically within the larger cell. The smaller cell above and below the midrule also need to be vertically centered. Right now the row " No. 1" in your answer looks good except that the two samller cells "1, 2, 3" and "4, 5, 6" are not vertically centered themselves. In other words, within each cell, no matter it is a small cell or large cell, the content are always meant to be vertically centered.
– nanjun
2 days ago
@nanjun - To solve your updated formatting requirements for the material in column 3, it would be really helpful to know what kind of material may be expected to occur in column 2. E.g., will this updated material always consist of acases
environment with exactly 3 rows? Please advise.
– Mico
yesterday
Yes, @Mico. The 2nd column will always consist of acases
environment with exactly 3 rows.
– nanjun
yesterday
Thank you for the answer. In the last column,
midrule
is supposed to span the full width of the cell. The cells "1, 2, 3" and "4, 5, 6" are not vertically centered, is there a way to center those?– nanjun
2 days ago
Thank you for the answer. In the last column,
midrule
is supposed to span the full width of the cell. The cells "1, 2, 3" and "4, 5, 6" are not vertically centered, is there a way to center those?– nanjun
2 days ago
@nanjun - Thanks for this clarification. (You screenshots didn't hint at you requirement for the contents of the final column.) Real quick: Should the midrule in the final column always be centered vertically within the cell, or might there be cases where this isn't the case?
– Mico
2 days ago
@nanjun - Thanks for this clarification. (You screenshots didn't hint at you requirement for the contents of the final column.) Real quick: Should the midrule in the final column always be centered vertically within the cell, or might there be cases where this isn't the case?
– Mico
2 days ago
Thank you again. The midrule in the last column would always be centered vertically within the larger cell. The smaller cell above and below the midrule also need to be vertically centered. Right now the row " No. 1" in your answer looks good except that the two samller cells "1, 2, 3" and "4, 5, 6" are not vertically centered themselves. In other words, within each cell, no matter it is a small cell or large cell, the content are always meant to be vertically centered.
– nanjun
2 days ago
Thank you again. The midrule in the last column would always be centered vertically within the larger cell. The smaller cell above and below the midrule also need to be vertically centered. Right now the row " No. 1" in your answer looks good except that the two samller cells "1, 2, 3" and "4, 5, 6" are not vertically centered themselves. In other words, within each cell, no matter it is a small cell or large cell, the content are always meant to be vertically centered.
– nanjun
2 days ago
@nanjun - To solve your updated formatting requirements for the material in column 3, it would be really helpful to know what kind of material may be expected to occur in column 2. E.g., will this updated material always consist of a
cases
environment with exactly 3 rows? Please advise.– Mico
yesterday
@nanjun - To solve your updated formatting requirements for the material in column 3, it would be really helpful to know what kind of material may be expected to occur in column 2. E.g., will this updated material always consist of a
cases
environment with exactly 3 rows? Please advise.– Mico
yesterday
Yes, @Mico. The 2nd column will always consist of a
cases
environment with exactly 3 rows.– nanjun
yesterday
Yes, @Mico. The 2nd column will always consist of a
cases
environment with exactly 3 rows.– nanjun
yesterday
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f489489%2fhow-to-increase-row-height-of-a-table-and-vertically-align-middle%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown