How to set row height on a table
My Code:
documentclass[12pt,a4paper]{article}
usepackage[utf8]{vietnam}
usepackage{amsmath,amssymb}
usepackage{mathptmx}
usepackage{graphicx}
usepackage[margin=2.1cm]{geometry}
usepackage{tabls}
usepackage{diagbox,pict2e}
begin{document}
begin{tabular}{|*{5}{c}|}
hline
2007 & 2008 & 2009 & 2010 & 2011\
hline
08.04 & 23.03 & 12.04 & 04.04 & 24.04 \
27.05 & 11.05 & 31.05 & 23.05 & 12.06 \
hline
end{tabular}
end{document}
The result:
How to the output file as the following:
Is the tabls package obsolete?
tables tabls
add a comment |
My Code:
documentclass[12pt,a4paper]{article}
usepackage[utf8]{vietnam}
usepackage{amsmath,amssymb}
usepackage{mathptmx}
usepackage{graphicx}
usepackage[margin=2.1cm]{geometry}
usepackage{tabls}
usepackage{diagbox,pict2e}
begin{document}
begin{tabular}{|*{5}{c}|}
hline
2007 & 2008 & 2009 & 2010 & 2011\
hline
08.04 & 23.03 & 12.04 & 04.04 & 24.04 \
27.05 & 11.05 & 31.05 & 23.05 & 12.06 \
hline
end{tabular}
end{document}
The result:
How to the output file as the following:
Is the tabls package obsolete?
tables tabls
add a comment |
My Code:
documentclass[12pt,a4paper]{article}
usepackage[utf8]{vietnam}
usepackage{amsmath,amssymb}
usepackage{mathptmx}
usepackage{graphicx}
usepackage[margin=2.1cm]{geometry}
usepackage{tabls}
usepackage{diagbox,pict2e}
begin{document}
begin{tabular}{|*{5}{c}|}
hline
2007 & 2008 & 2009 & 2010 & 2011\
hline
08.04 & 23.03 & 12.04 & 04.04 & 24.04 \
27.05 & 11.05 & 31.05 & 23.05 & 12.06 \
hline
end{tabular}
end{document}
The result:
How to the output file as the following:
Is the tabls package obsolete?
tables tabls
My Code:
documentclass[12pt,a4paper]{article}
usepackage[utf8]{vietnam}
usepackage{amsmath,amssymb}
usepackage{mathptmx}
usepackage{graphicx}
usepackage[margin=2.1cm]{geometry}
usepackage{tabls}
usepackage{diagbox,pict2e}
begin{document}
begin{tabular}{|*{5}{c}|}
hline
2007 & 2008 & 2009 & 2010 & 2011\
hline
08.04 & 23.03 & 12.04 & 04.04 & 24.04 \
27.05 & 11.05 & 31.05 & 23.05 & 12.06 \
hline
end{tabular}
end{document}
The result:
How to the output file as the following:
Is the tabls package obsolete?
tables tabls
tables tabls
edited Nov 23 '18 at 17:54
fernando.reyes
1033
1033
asked Nov 23 '18 at 7:48
chishimotoji
820316
820316
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You can use the dirty hack of using rule{depth}{width}{height}
in particular row to change the appearance of the row itself.
documentclass{article}
%https://tex.stackexchange.com/questions/232202/how-to-add-extra-space-inside-of-a-table
begin{document}
begin{tabular}{|*{5}{c}|}
hline
2007 & 2008 & 2009 & 2010 & 2011rule[-2ex]{0pt}{6ex}\
hline
08.04 & 23.03 & 12.04 & 04.04 & 24.04 rule[1ex]{0pt}{3ex}\
27.05 & 11.05 & 31.05 & 23.05 & 12.06 rule[-2ex]{0pt}{3ex}\
hline
end{tabular}
end{document}
with which you can get
Note: I dont know about the status regarding the package
tabls
. IMO, it should be a second question instead.
add a comment |
I'm not sure I understand your question 100%. Personally, I feel tables made with the booktabs
package look more modern. Here's an example
documentclass[12pt,a4paper]{article}
usepackage[utf8]{vietnam}
usepackage{amsmath,amssymb}
usepackage{mathptmx}
usepackage{graphicx}
usepackage[margin=2.1cm]{geometry}
usepackage{booktabs}
usepackage{diagbox,pict2e}
begin{document}
begin{tabular}{*{5}{c}}
toprule
2007 & 2008 & 2009 & 2010 & 2011\
midrule
08.04 & 23.03 & 12.04 & 04.04 & 24.04 \
27.05 & 11.05 & 31.05 & 23.05 & 12.06 \
bottomrule
end{tabular}
end{document}
I think the OP also needs vertical bars.
– Raaja
Nov 23 '18 at 8:17
1
True. He also talks about something being obsolete, and I think there's little thing in the world which is more obsolete than vertical bars in a table.
– G. Gare
Nov 23 '18 at 8:20
thats mainly opinion based and is mainly of personal interests ;)
– Raaja
Nov 23 '18 at 8:22
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%2f461374%2fhow-to-set-row-height-on-a-table%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use the dirty hack of using rule{depth}{width}{height}
in particular row to change the appearance of the row itself.
documentclass{article}
%https://tex.stackexchange.com/questions/232202/how-to-add-extra-space-inside-of-a-table
begin{document}
begin{tabular}{|*{5}{c}|}
hline
2007 & 2008 & 2009 & 2010 & 2011rule[-2ex]{0pt}{6ex}\
hline
08.04 & 23.03 & 12.04 & 04.04 & 24.04 rule[1ex]{0pt}{3ex}\
27.05 & 11.05 & 31.05 & 23.05 & 12.06 rule[-2ex]{0pt}{3ex}\
hline
end{tabular}
end{document}
with which you can get
Note: I dont know about the status regarding the package
tabls
. IMO, it should be a second question instead.
add a comment |
You can use the dirty hack of using rule{depth}{width}{height}
in particular row to change the appearance of the row itself.
documentclass{article}
%https://tex.stackexchange.com/questions/232202/how-to-add-extra-space-inside-of-a-table
begin{document}
begin{tabular}{|*{5}{c}|}
hline
2007 & 2008 & 2009 & 2010 & 2011rule[-2ex]{0pt}{6ex}\
hline
08.04 & 23.03 & 12.04 & 04.04 & 24.04 rule[1ex]{0pt}{3ex}\
27.05 & 11.05 & 31.05 & 23.05 & 12.06 rule[-2ex]{0pt}{3ex}\
hline
end{tabular}
end{document}
with which you can get
Note: I dont know about the status regarding the package
tabls
. IMO, it should be a second question instead.
add a comment |
You can use the dirty hack of using rule{depth}{width}{height}
in particular row to change the appearance of the row itself.
documentclass{article}
%https://tex.stackexchange.com/questions/232202/how-to-add-extra-space-inside-of-a-table
begin{document}
begin{tabular}{|*{5}{c}|}
hline
2007 & 2008 & 2009 & 2010 & 2011rule[-2ex]{0pt}{6ex}\
hline
08.04 & 23.03 & 12.04 & 04.04 & 24.04 rule[1ex]{0pt}{3ex}\
27.05 & 11.05 & 31.05 & 23.05 & 12.06 rule[-2ex]{0pt}{3ex}\
hline
end{tabular}
end{document}
with which you can get
Note: I dont know about the status regarding the package
tabls
. IMO, it should be a second question instead.
You can use the dirty hack of using rule{depth}{width}{height}
in particular row to change the appearance of the row itself.
documentclass{article}
%https://tex.stackexchange.com/questions/232202/how-to-add-extra-space-inside-of-a-table
begin{document}
begin{tabular}{|*{5}{c}|}
hline
2007 & 2008 & 2009 & 2010 & 2011rule[-2ex]{0pt}{6ex}\
hline
08.04 & 23.03 & 12.04 & 04.04 & 24.04 rule[1ex]{0pt}{3ex}\
27.05 & 11.05 & 31.05 & 23.05 & 12.06 rule[-2ex]{0pt}{3ex}\
hline
end{tabular}
end{document}
with which you can get
Note: I dont know about the status regarding the package
tabls
. IMO, it should be a second question instead.
edited Nov 23 '18 at 8:21
answered Nov 23 '18 at 8:14
Raaja
2,1722630
2,1722630
add a comment |
add a comment |
I'm not sure I understand your question 100%. Personally, I feel tables made with the booktabs
package look more modern. Here's an example
documentclass[12pt,a4paper]{article}
usepackage[utf8]{vietnam}
usepackage{amsmath,amssymb}
usepackage{mathptmx}
usepackage{graphicx}
usepackage[margin=2.1cm]{geometry}
usepackage{booktabs}
usepackage{diagbox,pict2e}
begin{document}
begin{tabular}{*{5}{c}}
toprule
2007 & 2008 & 2009 & 2010 & 2011\
midrule
08.04 & 23.03 & 12.04 & 04.04 & 24.04 \
27.05 & 11.05 & 31.05 & 23.05 & 12.06 \
bottomrule
end{tabular}
end{document}
I think the OP also needs vertical bars.
– Raaja
Nov 23 '18 at 8:17
1
True. He also talks about something being obsolete, and I think there's little thing in the world which is more obsolete than vertical bars in a table.
– G. Gare
Nov 23 '18 at 8:20
thats mainly opinion based and is mainly of personal interests ;)
– Raaja
Nov 23 '18 at 8:22
add a comment |
I'm not sure I understand your question 100%. Personally, I feel tables made with the booktabs
package look more modern. Here's an example
documentclass[12pt,a4paper]{article}
usepackage[utf8]{vietnam}
usepackage{amsmath,amssymb}
usepackage{mathptmx}
usepackage{graphicx}
usepackage[margin=2.1cm]{geometry}
usepackage{booktabs}
usepackage{diagbox,pict2e}
begin{document}
begin{tabular}{*{5}{c}}
toprule
2007 & 2008 & 2009 & 2010 & 2011\
midrule
08.04 & 23.03 & 12.04 & 04.04 & 24.04 \
27.05 & 11.05 & 31.05 & 23.05 & 12.06 \
bottomrule
end{tabular}
end{document}
I think the OP also needs vertical bars.
– Raaja
Nov 23 '18 at 8:17
1
True. He also talks about something being obsolete, and I think there's little thing in the world which is more obsolete than vertical bars in a table.
– G. Gare
Nov 23 '18 at 8:20
thats mainly opinion based and is mainly of personal interests ;)
– Raaja
Nov 23 '18 at 8:22
add a comment |
I'm not sure I understand your question 100%. Personally, I feel tables made with the booktabs
package look more modern. Here's an example
documentclass[12pt,a4paper]{article}
usepackage[utf8]{vietnam}
usepackage{amsmath,amssymb}
usepackage{mathptmx}
usepackage{graphicx}
usepackage[margin=2.1cm]{geometry}
usepackage{booktabs}
usepackage{diagbox,pict2e}
begin{document}
begin{tabular}{*{5}{c}}
toprule
2007 & 2008 & 2009 & 2010 & 2011\
midrule
08.04 & 23.03 & 12.04 & 04.04 & 24.04 \
27.05 & 11.05 & 31.05 & 23.05 & 12.06 \
bottomrule
end{tabular}
end{document}
I'm not sure I understand your question 100%. Personally, I feel tables made with the booktabs
package look more modern. Here's an example
documentclass[12pt,a4paper]{article}
usepackage[utf8]{vietnam}
usepackage{amsmath,amssymb}
usepackage{mathptmx}
usepackage{graphicx}
usepackage[margin=2.1cm]{geometry}
usepackage{booktabs}
usepackage{diagbox,pict2e}
begin{document}
begin{tabular}{*{5}{c}}
toprule
2007 & 2008 & 2009 & 2010 & 2011\
midrule
08.04 & 23.03 & 12.04 & 04.04 & 24.04 \
27.05 & 11.05 & 31.05 & 23.05 & 12.06 \
bottomrule
end{tabular}
end{document}
answered Nov 23 '18 at 8:14
G. Gare
4528
4528
I think the OP also needs vertical bars.
– Raaja
Nov 23 '18 at 8:17
1
True. He also talks about something being obsolete, and I think there's little thing in the world which is more obsolete than vertical bars in a table.
– G. Gare
Nov 23 '18 at 8:20
thats mainly opinion based and is mainly of personal interests ;)
– Raaja
Nov 23 '18 at 8:22
add a comment |
I think the OP also needs vertical bars.
– Raaja
Nov 23 '18 at 8:17
1
True. He also talks about something being obsolete, and I think there's little thing in the world which is more obsolete than vertical bars in a table.
– G. Gare
Nov 23 '18 at 8:20
thats mainly opinion based and is mainly of personal interests ;)
– Raaja
Nov 23 '18 at 8:22
I think the OP also needs vertical bars.
– Raaja
Nov 23 '18 at 8:17
I think the OP also needs vertical bars.
– Raaja
Nov 23 '18 at 8:17
1
1
True. He also talks about something being obsolete, and I think there's little thing in the world which is more obsolete than vertical bars in a table.
– G. Gare
Nov 23 '18 at 8:20
True. He also talks about something being obsolete, and I think there's little thing in the world which is more obsolete than vertical bars in a table.
– G. Gare
Nov 23 '18 at 8:20
thats mainly opinion based and is mainly of personal interests ;)
– Raaja
Nov 23 '18 at 8:22
thats mainly opinion based and is mainly of personal interests ;)
– Raaja
Nov 23 '18 at 8:22
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f461374%2fhow-to-set-row-height-on-a-table%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