How to set row height on a table
up vote
3
down vote
favorite
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 |
up vote
3
down vote
favorite
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 |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
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 at 17:54
fernando.reyes
1033
1033
asked Nov 23 at 7:48
chishimotoji
399212
399212
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
5
down vote
accepted
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 |
up vote
5
down vote
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 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 at 8:20
thats mainly opinion based and is mainly of personal interests ;)
– Raaja
Nov 23 at 8:22
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
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 |
up vote
5
down vote
accepted
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 |
up vote
5
down vote
accepted
up vote
5
down vote
accepted
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 at 8:21
answered Nov 23 at 8:14
Raaja
2,0212527
2,0212527
add a comment |
add a comment |
up vote
5
down vote
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 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 at 8:20
thats mainly opinion based and is mainly of personal interests ;)
– Raaja
Nov 23 at 8:22
add a comment |
up vote
5
down vote
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 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 at 8:20
thats mainly opinion based and is mainly of personal interests ;)
– Raaja
Nov 23 at 8:22
add a comment |
up vote
5
down vote
up vote
5
down vote
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 at 8:14
G. Gare
3707
3707
I think the OP also needs vertical bars.
– Raaja
Nov 23 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 at 8:20
thats mainly opinion based and is mainly of personal interests ;)
– Raaja
Nov 23 at 8:22
add a comment |
I think the OP also needs vertical bars.
– Raaja
Nov 23 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 at 8:20
thats mainly opinion based and is mainly of personal interests ;)
– Raaja
Nov 23 at 8:22
I think the OP also needs vertical bars.
– Raaja
Nov 23 at 8:17
I think the OP also needs vertical bars.
– Raaja
Nov 23 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 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 at 8:20
thats mainly opinion based and is mainly of personal interests ;)
– Raaja
Nov 23 at 8:22
thats mainly opinion based and is mainly of personal interests ;)
– Raaja
Nov 23 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