How to center two subtable that are on the same line Unicorn Meta Zoo #1: Why another...
How much of a wave function must reside inside event horizon for it to be consumed by the black hole?
What is it called when you ride around on your front wheel?
std::unique_ptr of base class holding reference of derived class does not show warning in gcc compiler while naked pointer shows it. Why?
Will I lose my paid in full property
"My boss was furious with me and I have been fired" vs. "My boss was furious with me and I was fired"
Did the Roman Empire have penal colonies?
First instead of 1 when referencing
Is Diceware more secure than a long passphrase?
What does a straight horizontal line above a few notes, after a changed tempo mean?
Mistake in years of experience in resume?
Is accepting an invalid credit card number a security issue?
What to do with someone that cheated their way through university and a PhD program?
finding a tangent line to a parabola
How to translate "red flag" into Spanish?
Multiple fireplaces in an apartment building?
Can I criticise the more senior developers around me for not writing clean code?
What is the best way to deal with NPC-NPC combat?
Map material from china not allowed to leave the country
How can I practically buy stocks?
Co-worker works way more than he should
How to find the stem of any word?
Implementing 3DES algorithm in Java: is my code secure?
Is Electric Central Heating worth it if using Solar Panels?
When do you need buffers/drivers on buses in a microprocessor design?
How to center two subtable that are on the same line
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraHow to make text aligned left/center/right in the same line?Alignment at the center of two multicolumnHow to h-alignment subtable to the limits of text?Putting two derivations on the same lineHow to center the numbers?How do I write two sentences in the same line?Subtable (Subfloat) being shifted off-centerHow center align two equations separated by a lineHow to align text left/center/right in the same line use hfill?How to make text aligned left/center/right in the same line without collisions?
I have a problem because I cannot centere two table that are on the same line. I tried many times, with different methods but it doesn't work.
The code that I use is the following.:
begin{table}[h]
begin{subtable}[c]{.5textwidth}
centering
raggedright
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-1 days}} \
midrule
Min. & -0.0238395 \
1st Qu. & -0.0020889 \
Median & +0.0005291 \
Mean & +0.0006262 \
3rd Qu. & +0.0048530 \
Max. & +0.0190593 \
bottomrule
end{tabular}
end{subtable}%
begin{subtable}[c]{.5textwidth}
centering
raggedright
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-5 days}} \
midrule
Min. & -0.019635 \
1st Qu. & -0.002735 \
Median & +0.001202 \
Mean & +0.000585 \
3rd Qu. & +0.003947 \
Max. & +0.013458 \
bottomrule
end{tabular}
end{subtable}
caption{Descriptive and Explorative analysis for SIX Exchange Swiss Performance Index. Source: cite{rproject2008xx} output}
label{table:SPI MSCI beta}
end{table}
The result that I obtain every time is the following:
Can somebody help me?
tables horizontal-alignment
add a comment |
I have a problem because I cannot centere two table that are on the same line. I tried many times, with different methods but it doesn't work.
The code that I use is the following.:
begin{table}[h]
begin{subtable}[c]{.5textwidth}
centering
raggedright
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-1 days}} \
midrule
Min. & -0.0238395 \
1st Qu. & -0.0020889 \
Median & +0.0005291 \
Mean & +0.0006262 \
3rd Qu. & +0.0048530 \
Max. & +0.0190593 \
bottomrule
end{tabular}
end{subtable}%
begin{subtable}[c]{.5textwidth}
centering
raggedright
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-5 days}} \
midrule
Min. & -0.019635 \
1st Qu. & -0.002735 \
Median & +0.001202 \
Mean & +0.000585 \
3rd Qu. & +0.003947 \
Max. & +0.013458 \
bottomrule
end{tabular}
end{subtable}
caption{Descriptive and Explorative analysis for SIX Exchange Swiss Performance Index. Source: cite{rproject2008xx} output}
label{table:SPI MSCI beta}
end{table}
The result that I obtain every time is the following:
Can somebody help me?
tables horizontal-alignment
Removeraggedright
s
– JouleV
25 mins ago
add a comment |
I have a problem because I cannot centere two table that are on the same line. I tried many times, with different methods but it doesn't work.
The code that I use is the following.:
begin{table}[h]
begin{subtable}[c]{.5textwidth}
centering
raggedright
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-1 days}} \
midrule
Min. & -0.0238395 \
1st Qu. & -0.0020889 \
Median & +0.0005291 \
Mean & +0.0006262 \
3rd Qu. & +0.0048530 \
Max. & +0.0190593 \
bottomrule
end{tabular}
end{subtable}%
begin{subtable}[c]{.5textwidth}
centering
raggedright
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-5 days}} \
midrule
Min. & -0.019635 \
1st Qu. & -0.002735 \
Median & +0.001202 \
Mean & +0.000585 \
3rd Qu. & +0.003947 \
Max. & +0.013458 \
bottomrule
end{tabular}
end{subtable}
caption{Descriptive and Explorative analysis for SIX Exchange Swiss Performance Index. Source: cite{rproject2008xx} output}
label{table:SPI MSCI beta}
end{table}
The result that I obtain every time is the following:
Can somebody help me?
tables horizontal-alignment
I have a problem because I cannot centere two table that are on the same line. I tried many times, with different methods but it doesn't work.
The code that I use is the following.:
begin{table}[h]
begin{subtable}[c]{.5textwidth}
centering
raggedright
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-1 days}} \
midrule
Min. & -0.0238395 \
1st Qu. & -0.0020889 \
Median & +0.0005291 \
Mean & +0.0006262 \
3rd Qu. & +0.0048530 \
Max. & +0.0190593 \
bottomrule
end{tabular}
end{subtable}%
begin{subtable}[c]{.5textwidth}
centering
raggedright
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-5 days}} \
midrule
Min. & -0.019635 \
1st Qu. & -0.002735 \
Median & +0.001202 \
Mean & +0.000585 \
3rd Qu. & +0.003947 \
Max. & +0.013458 \
bottomrule
end{tabular}
end{subtable}
caption{Descriptive and Explorative analysis for SIX Exchange Swiss Performance Index. Source: cite{rproject2008xx} output}
label{table:SPI MSCI beta}
end{table}
The result that I obtain every time is the following:
Can somebody help me?
tables horizontal-alignment
tables horizontal-alignment
asked 26 mins ago
user185351user185351
132
132
Removeraggedright
s
– JouleV
25 mins ago
add a comment |
Removeraggedright
s
– JouleV
25 mins ago
Remove
raggedright
s– JouleV
25 mins ago
Remove
raggedright
s– JouleV
25 mins ago
add a comment |
1 Answer
1
active
oldest
votes
raggedright
killed centering
. So removing them will work
documentclass{article}
usepackage{subcaption}
usepackage{booktabs}
begin{document}
begin{table}[h]
begin{subtable}[c]{.5textwidth}
centering
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-1 days}} \
midrule
Min. & -0.0238395 \
1st Qu. & -0.0020889 \
Median & +0.0005291 \
Mean & +0.0006262 \
3rd Qu. & +0.0048530 \
Max. & +0.0190593 \
bottomrule
end{tabular}
end{subtable}%
begin{subtable}[c]{.5textwidth}
centering
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-5 days}} \
midrule
Min. & -0.019635 \
1st Qu. & -0.002735 \
Median & +0.001202 \
Mean & +0.000585 \
3rd Qu. & +0.003947 \
Max. & +0.013458 \
bottomrule
end{tabular}
end{subtable}
caption{Descriptive and Explorative analysis for SIX Exchange Swiss Performance Index. Source: [something] output}
label{table:SPI MSCI beta}
end{table}
end{document}
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%2f487583%2fhow-to-center-two-subtable-that-are-on-the-same-line%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
raggedright
killed centering
. So removing them will work
documentclass{article}
usepackage{subcaption}
usepackage{booktabs}
begin{document}
begin{table}[h]
begin{subtable}[c]{.5textwidth}
centering
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-1 days}} \
midrule
Min. & -0.0238395 \
1st Qu. & -0.0020889 \
Median & +0.0005291 \
Mean & +0.0006262 \
3rd Qu. & +0.0048530 \
Max. & +0.0190593 \
bottomrule
end{tabular}
end{subtable}%
begin{subtable}[c]{.5textwidth}
centering
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-5 days}} \
midrule
Min. & -0.019635 \
1st Qu. & -0.002735 \
Median & +0.001202 \
Mean & +0.000585 \
3rd Qu. & +0.003947 \
Max. & +0.013458 \
bottomrule
end{tabular}
end{subtable}
caption{Descriptive and Explorative analysis for SIX Exchange Swiss Performance Index. Source: [something] output}
label{table:SPI MSCI beta}
end{table}
end{document}
add a comment |
raggedright
killed centering
. So removing them will work
documentclass{article}
usepackage{subcaption}
usepackage{booktabs}
begin{document}
begin{table}[h]
begin{subtable}[c]{.5textwidth}
centering
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-1 days}} \
midrule
Min. & -0.0238395 \
1st Qu. & -0.0020889 \
Median & +0.0005291 \
Mean & +0.0006262 \
3rd Qu. & +0.0048530 \
Max. & +0.0190593 \
bottomrule
end{tabular}
end{subtable}%
begin{subtable}[c]{.5textwidth}
centering
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-5 days}} \
midrule
Min. & -0.019635 \
1st Qu. & -0.002735 \
Median & +0.001202 \
Mean & +0.000585 \
3rd Qu. & +0.003947 \
Max. & +0.013458 \
bottomrule
end{tabular}
end{subtable}
caption{Descriptive and Explorative analysis for SIX Exchange Swiss Performance Index. Source: [something] output}
label{table:SPI MSCI beta}
end{table}
end{document}
add a comment |
raggedright
killed centering
. So removing them will work
documentclass{article}
usepackage{subcaption}
usepackage{booktabs}
begin{document}
begin{table}[h]
begin{subtable}[c]{.5textwidth}
centering
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-1 days}} \
midrule
Min. & -0.0238395 \
1st Qu. & -0.0020889 \
Median & +0.0005291 \
Mean & +0.0006262 \
3rd Qu. & +0.0048530 \
Max. & +0.0190593 \
bottomrule
end{tabular}
end{subtable}%
begin{subtable}[c]{.5textwidth}
centering
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-5 days}} \
midrule
Min. & -0.019635 \
1st Qu. & -0.002735 \
Median & +0.001202 \
Mean & +0.000585 \
3rd Qu. & +0.003947 \
Max. & +0.013458 \
bottomrule
end{tabular}
end{subtable}
caption{Descriptive and Explorative analysis for SIX Exchange Swiss Performance Index. Source: [something] output}
label{table:SPI MSCI beta}
end{table}
end{document}
raggedright
killed centering
. So removing them will work
documentclass{article}
usepackage{subcaption}
usepackage{booktabs}
begin{document}
begin{table}[h]
begin{subtable}[c]{.5textwidth}
centering
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-1 days}} \
midrule
Min. & -0.0238395 \
1st Qu. & -0.0020889 \
Median & +0.0005291 \
Mean & +0.0006262 \
3rd Qu. & +0.0048530 \
Max. & +0.0190593 \
bottomrule
end{tabular}
end{subtable}%
begin{subtable}[c]{.5textwidth}
centering
begin{tabular}{c c}
toprule
multicolumn{2}{c}{textbf{Event Window +/-5 days}} \
midrule
Min. & -0.019635 \
1st Qu. & -0.002735 \
Median & +0.001202 \
Mean & +0.000585 \
3rd Qu. & +0.003947 \
Max. & +0.013458 \
bottomrule
end{tabular}
end{subtable}
caption{Descriptive and Explorative analysis for SIX Exchange Swiss Performance Index. Source: [something] output}
label{table:SPI MSCI beta}
end{table}
end{document}
answered 23 mins ago
JouleVJouleV
15.8k22667
15.8k22667
add a comment |
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%2f487583%2fhow-to-center-two-subtable-that-are-on-the-same-line%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
Remove
raggedright
s– JouleV
25 mins ago