How can I change the font size of my table?
For my thesis I am trying to adjust the font size of my tables in LaTeX. However, I struggle to have a scriptize font size for my caption and for the entries in my table.
Here's my code. I hope anyone can help!
%begin table
begin{scriptsize}
begin{table}[h]
centering
captionsetup{skip=0.5baselineskip,size=footnotesize}
caption{Test table}
label{table:7}
begin{tabular}{ l | l }
textbf{Entry 1} & textbf{Entry 2} \ cline{1-2}
Entry 3 & Entry 4 \
end{tabular}
end{table}
end{scriptsize}
tables fonts size
add a comment |
For my thesis I am trying to adjust the font size of my tables in LaTeX. However, I struggle to have a scriptize font size for my caption and for the entries in my table.
Here's my code. I hope anyone can help!
%begin table
begin{scriptsize}
begin{table}[h]
centering
captionsetup{skip=0.5baselineskip,size=footnotesize}
caption{Test table}
label{table:7}
begin{tabular}{ l | l }
textbf{Entry 1} & textbf{Entry 2} \ cline{1-2}
Entry 3 & Entry 4 \
end{tabular}
end{table}
end{scriptsize}
tables fonts size
3
I'd probably just add a font size command such asscriptsize
inside thetable
environment. The redefinition will be local and so only the table will bescriptsize
.
– moewe
Mar 8 at 13:00
1
scriptsize
is not an environment. correct use is to addscriptsize
afterbegin{document}
.
– Zarko
Mar 8 at 13:04
@moewe Arg, I did forget about the group around it. Thanks a lot for your comment!
– samcarter
Mar 8 at 13:15
Technicallybegin{scriptsize} foo end{scriptsize}
usually works fine for text because of the way environments are implemented in LaTeX, but I would usually suggest to go with{scriptsize foo}
instead. See also tex.stackexchange.com/q/7312/35864.
– moewe
Mar 8 at 13:16
add a comment |
For my thesis I am trying to adjust the font size of my tables in LaTeX. However, I struggle to have a scriptize font size for my caption and for the entries in my table.
Here's my code. I hope anyone can help!
%begin table
begin{scriptsize}
begin{table}[h]
centering
captionsetup{skip=0.5baselineskip,size=footnotesize}
caption{Test table}
label{table:7}
begin{tabular}{ l | l }
textbf{Entry 1} & textbf{Entry 2} \ cline{1-2}
Entry 3 & Entry 4 \
end{tabular}
end{table}
end{scriptsize}
tables fonts size
For my thesis I am trying to adjust the font size of my tables in LaTeX. However, I struggle to have a scriptize font size for my caption and for the entries in my table.
Here's my code. I hope anyone can help!
%begin table
begin{scriptsize}
begin{table}[h]
centering
captionsetup{skip=0.5baselineskip,size=footnotesize}
caption{Test table}
label{table:7}
begin{tabular}{ l | l }
textbf{Entry 1} & textbf{Entry 2} \ cline{1-2}
Entry 3 & Entry 4 \
end{tabular}
end{table}
end{scriptsize}
tables fonts size
tables fonts size
edited Mar 8 at 12:57
JouleV
5,99821549
5,99821549
asked Mar 8 at 12:54
ChristiaanChristiaan
32
32
3
I'd probably just add a font size command such asscriptsize
inside thetable
environment. The redefinition will be local and so only the table will bescriptsize
.
– moewe
Mar 8 at 13:00
1
scriptsize
is not an environment. correct use is to addscriptsize
afterbegin{document}
.
– Zarko
Mar 8 at 13:04
@moewe Arg, I did forget about the group around it. Thanks a lot for your comment!
– samcarter
Mar 8 at 13:15
Technicallybegin{scriptsize} foo end{scriptsize}
usually works fine for text because of the way environments are implemented in LaTeX, but I would usually suggest to go with{scriptsize foo}
instead. See also tex.stackexchange.com/q/7312/35864.
– moewe
Mar 8 at 13:16
add a comment |
3
I'd probably just add a font size command such asscriptsize
inside thetable
environment. The redefinition will be local and so only the table will bescriptsize
.
– moewe
Mar 8 at 13:00
1
scriptsize
is not an environment. correct use is to addscriptsize
afterbegin{document}
.
– Zarko
Mar 8 at 13:04
@moewe Arg, I did forget about the group around it. Thanks a lot for your comment!
– samcarter
Mar 8 at 13:15
Technicallybegin{scriptsize} foo end{scriptsize}
usually works fine for text because of the way environments are implemented in LaTeX, but I would usually suggest to go with{scriptsize foo}
instead. See also tex.stackexchange.com/q/7312/35864.
– moewe
Mar 8 at 13:16
3
3
I'd probably just add a font size command such as
scriptsize
inside the table
environment. The redefinition will be local and so only the table will be scriptsize
.– moewe
Mar 8 at 13:00
I'd probably just add a font size command such as
scriptsize
inside the table
environment. The redefinition will be local and so only the table will be scriptsize
.– moewe
Mar 8 at 13:00
1
1
scriptsize
is not an environment. correct use is to add scriptsize
after begin{document}
.– Zarko
Mar 8 at 13:04
scriptsize
is not an environment. correct use is to add scriptsize
after begin{document}
.– Zarko
Mar 8 at 13:04
@moewe Arg, I did forget about the group around it. Thanks a lot for your comment!
– samcarter
Mar 8 at 13:15
@moewe Arg, I did forget about the group around it. Thanks a lot for your comment!
– samcarter
Mar 8 at 13:15
Technically
begin{scriptsize} foo end{scriptsize}
usually works fine for text because of the way environments are implemented in LaTeX, but I would usually suggest to go with {scriptsize foo}
instead. See also tex.stackexchange.com/q/7312/35864.– moewe
Mar 8 at 13:16
Technically
begin{scriptsize} foo end{scriptsize}
usually works fine for text because of the way environments are implemented in LaTeX, but I would usually suggest to go with {scriptsize foo}
instead. See also tex.stackexchange.com/q/7312/35864.– moewe
Mar 8 at 13:16
add a comment |
1 Answer
1
active
oldest
votes
This code works:
documentclass{article}
usepackage{caption, array}
begin{document}
begin{table}[!htb]
centering
scriptsize
setlength{extrarowheight}{2pt}
captionsetup{skip=0.5baselineskip,size=scriptsize}
caption{Test table}
label{table:7}
begin{tabular}{ l | l }
textbf{Entry 1} & textbf{Entry 2} \ cline{1-2}
Entry 3 & Entry 4 \
end{tabular}
end{table}
end{document}
Great this codes works indeed, thanks a lot!
– Christiaan
Mar 8 at 13:11
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%2f478412%2fhow-can-i-change-the-font-size-of-my-table%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
This code works:
documentclass{article}
usepackage{caption, array}
begin{document}
begin{table}[!htb]
centering
scriptsize
setlength{extrarowheight}{2pt}
captionsetup{skip=0.5baselineskip,size=scriptsize}
caption{Test table}
label{table:7}
begin{tabular}{ l | l }
textbf{Entry 1} & textbf{Entry 2} \ cline{1-2}
Entry 3 & Entry 4 \
end{tabular}
end{table}
end{document}
Great this codes works indeed, thanks a lot!
– Christiaan
Mar 8 at 13:11
add a comment |
This code works:
documentclass{article}
usepackage{caption, array}
begin{document}
begin{table}[!htb]
centering
scriptsize
setlength{extrarowheight}{2pt}
captionsetup{skip=0.5baselineskip,size=scriptsize}
caption{Test table}
label{table:7}
begin{tabular}{ l | l }
textbf{Entry 1} & textbf{Entry 2} \ cline{1-2}
Entry 3 & Entry 4 \
end{tabular}
end{table}
end{document}
Great this codes works indeed, thanks a lot!
– Christiaan
Mar 8 at 13:11
add a comment |
This code works:
documentclass{article}
usepackage{caption, array}
begin{document}
begin{table}[!htb]
centering
scriptsize
setlength{extrarowheight}{2pt}
captionsetup{skip=0.5baselineskip,size=scriptsize}
caption{Test table}
label{table:7}
begin{tabular}{ l | l }
textbf{Entry 1} & textbf{Entry 2} \ cline{1-2}
Entry 3 & Entry 4 \
end{tabular}
end{table}
end{document}
This code works:
documentclass{article}
usepackage{caption, array}
begin{document}
begin{table}[!htb]
centering
scriptsize
setlength{extrarowheight}{2pt}
captionsetup{skip=0.5baselineskip,size=scriptsize}
caption{Test table}
label{table:7}
begin{tabular}{ l | l }
textbf{Entry 1} & textbf{Entry 2} \ cline{1-2}
Entry 3 & Entry 4 \
end{tabular}
end{table}
end{document}
answered Mar 8 at 13:04
BernardBernard
173k776204
173k776204
Great this codes works indeed, thanks a lot!
– Christiaan
Mar 8 at 13:11
add a comment |
Great this codes works indeed, thanks a lot!
– Christiaan
Mar 8 at 13:11
Great this codes works indeed, thanks a lot!
– Christiaan
Mar 8 at 13:11
Great this codes works indeed, thanks a lot!
– Christiaan
Mar 8 at 13:11
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%2f478412%2fhow-can-i-change-the-font-size-of-my-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
3
I'd probably just add a font size command such as
scriptsize
inside thetable
environment. The redefinition will be local and so only the table will bescriptsize
.– moewe
Mar 8 at 13:00
1
scriptsize
is not an environment. correct use is to addscriptsize
afterbegin{document}
.– Zarko
Mar 8 at 13:04
@moewe Arg, I did forget about the group around it. Thanks a lot for your comment!
– samcarter
Mar 8 at 13:15
Technically
begin{scriptsize} foo end{scriptsize}
usually works fine for text because of the way environments are implemented in LaTeX, but I would usually suggest to go with{scriptsize foo}
instead. See also tex.stackexchange.com/q/7312/35864.– moewe
Mar 8 at 13:16