Align rightarrow in tableWhat makes LaTeX typeset basic rightarrow arrowheads differently?rightarrow^*...
How do I cope with haze for the photos containing sky and trees at a distance?
What allows us to use imaginary numbers?
How do I answer an interview question about how to handle a hard deadline I won't be able to meet?
Best model for precedence constraints within scheduling problem
What are some tips and tricks for finding the cheapest flight when luggage and other fees are not revealed until far into the booking process?
C++ Least cost swapping 2
μονάδαι as plural form of μονάς
What was the intention with the Commodore 128?
How does the illumination of the sky from the sun compare to that of the moon?
How could Tony Stark wield the Infinity Nano Gauntlet - at all?
Do I need to start off my book by describing the character's "normal world"?
Why do so many people play out of turn on the last lead?
Adding things to bunches of things vs multiplication
How to use the passive form to say "This flower was watered."
Output the list of musical notes
Pocket Clarketech
Can planar set contain even many vertices of every unit equilateral triangle?
Why does this image of cyclocarbon look like a nonagon?
What is the best way to use errors in mathematica M12?
My new Acer Aspire 7 doesn't have a Legacy Boot option, what can I do to get it?
The anatomy of an organic infrared generator
Are unaudited server logs admissible in a court of law?
Has there ever been a truly bilingual country prior to the contemporary period?
What should I do with the stock I own if I anticipate there will be a recession?
Align rightarrow in table
What makes LaTeX typeset basic rightarrow arrowheads differently?rightarrow^* flipped to the left?Two-headed version of Rightarrow or impliesHow do I write this style of rightarrow?Overset Rightarrow and LeftarrowRightarrow at 45 degrees in equationHow to make Rightarrow boldWhere is rightarrow defined?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am trying to align the right arrows in my table. Can anyone tell me how to do that? Preferably keeping the structure of my table. (see example below)
documentclass[a4paper, 12pt]{article}
usepackage{threeparttable}
usepackage{longtable, booktabs, tabularx}
begin{document}
begin{table}[h]
centering
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{threeparttable}
begin{tabular*}{textwidth}{l@{extracolsep{fill}}*{5}{c}}
toprule
multicolumn{1}{l}{Direction} & multicolumn{1}{c}{TE} & multicolumn{1}{c}{ETE} & multicolumn{1}{c}{STD} & multicolumn{1}{c}{P-value} \
midrule
Bitcoin $rightarrow$ IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
IPImicro $rightarrow$ Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
Bitcoin $rightarrow$ IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
IPImacro $rightarrow$ Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
begin{tablenotes}[para,flushleft]
footnotesize
itemhspace{-2.5pt}noindenttextit{Note:} This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also test a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin. Standard deviation in parentheses; *** p < 0.01; ** p < 0.05; * p < 0.10.
end{tablenotes}
end{threeparttable}
end{table}
end{document}
arrows
add a comment |
I am trying to align the right arrows in my table. Can anyone tell me how to do that? Preferably keeping the structure of my table. (see example below)
documentclass[a4paper, 12pt]{article}
usepackage{threeparttable}
usepackage{longtable, booktabs, tabularx}
begin{document}
begin{table}[h]
centering
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{threeparttable}
begin{tabular*}{textwidth}{l@{extracolsep{fill}}*{5}{c}}
toprule
multicolumn{1}{l}{Direction} & multicolumn{1}{c}{TE} & multicolumn{1}{c}{ETE} & multicolumn{1}{c}{STD} & multicolumn{1}{c}{P-value} \
midrule
Bitcoin $rightarrow$ IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
IPImicro $rightarrow$ Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
Bitcoin $rightarrow$ IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
IPImacro $rightarrow$ Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
begin{tablenotes}[para,flushleft]
footnotesize
itemhspace{-2.5pt}noindenttextit{Note:} This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also test a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin. Standard deviation in parentheses; *** p < 0.01; ** p < 0.05; * p < 0.10.
end{tablenotes}
end{threeparttable}
end{table}
end{document}
arrows
1
erh, make a column just for the arrow?, you could even make it auto math so you don't need$
– daleif
2 days ago
add a comment |
I am trying to align the right arrows in my table. Can anyone tell me how to do that? Preferably keeping the structure of my table. (see example below)
documentclass[a4paper, 12pt]{article}
usepackage{threeparttable}
usepackage{longtable, booktabs, tabularx}
begin{document}
begin{table}[h]
centering
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{threeparttable}
begin{tabular*}{textwidth}{l@{extracolsep{fill}}*{5}{c}}
toprule
multicolumn{1}{l}{Direction} & multicolumn{1}{c}{TE} & multicolumn{1}{c}{ETE} & multicolumn{1}{c}{STD} & multicolumn{1}{c}{P-value} \
midrule
Bitcoin $rightarrow$ IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
IPImicro $rightarrow$ Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
Bitcoin $rightarrow$ IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
IPImacro $rightarrow$ Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
begin{tablenotes}[para,flushleft]
footnotesize
itemhspace{-2.5pt}noindenttextit{Note:} This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also test a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin. Standard deviation in parentheses; *** p < 0.01; ** p < 0.05; * p < 0.10.
end{tablenotes}
end{threeparttable}
end{table}
end{document}
arrows
I am trying to align the right arrows in my table. Can anyone tell me how to do that? Preferably keeping the structure of my table. (see example below)
documentclass[a4paper, 12pt]{article}
usepackage{threeparttable}
usepackage{longtable, booktabs, tabularx}
begin{document}
begin{table}[h]
centering
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{threeparttable}
begin{tabular*}{textwidth}{l@{extracolsep{fill}}*{5}{c}}
toprule
multicolumn{1}{l}{Direction} & multicolumn{1}{c}{TE} & multicolumn{1}{c}{ETE} & multicolumn{1}{c}{STD} & multicolumn{1}{c}{P-value} \
midrule
Bitcoin $rightarrow$ IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
IPImicro $rightarrow$ Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
Bitcoin $rightarrow$ IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
IPImacro $rightarrow$ Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
begin{tablenotes}[para,flushleft]
footnotesize
itemhspace{-2.5pt}noindenttextit{Note:} This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also test a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin. Standard deviation in parentheses; *** p < 0.01; ** p < 0.05; * p < 0.10.
end{tablenotes}
end{threeparttable}
end{table}
end{document}
arrows
arrows
edited 2 days ago
Bernard
188k7 gold badges84 silver badges221 bronze badges
188k7 gold badges84 silver badges221 bronze badges
asked 2 days ago
MANGo 92MANGo 92
574 bronze badges
574 bronze badges
1
erh, make a column just for the arrow?, you could even make it auto math so you don't need$
– daleif
2 days ago
add a comment |
1
erh, make a column just for the arrow?, you could even make it auto math so you don't need$
– daleif
2 days ago
1
1
erh, make a column just for the arrow?, you could even make it auto math so you don't need
$
– daleif
2 days ago
erh, make a column just for the arrow?, you could even make it auto math so you don't need
$
– daleif
2 days ago
add a comment |
3 Answers
3
active
oldest
votes
I propose to put what's before arrows in an eqmakebox
– and added various improvement, via siunitx
and caption
:
documentclass{article}
usepackage{array, threeparttable, booktabs}
usepackage{eqparbox, siunitx}
usepackage[skip =6pt]{caption}
begin{document}
begin{table}[h]
centering
sisetup{table-format=1.3, table-number-alignment=center, table-space-text-post=**, table-align-text-post=false}
begin{threeparttable}
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{tabular*}{textwidth}{@{}l@{extracolsep{fill}}*{4}{S}}
toprule
Direction & {TE} & {ETE} & {STD} & {P-value} \
midrule
eqmakebox[D][l]{Bitcoin} $rightarrow$ IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
eqmakebox[D][l]{IPImicro} $rightarrow$ Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
eqmakebox[D][l]{Bitcoin} $rightarrow$ IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
eqmakebox[D][l]{IPImacro} $rightarrow$ Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
begin{tablenotes}[para,flushleft]
footnotesizesmallskip
itemhspace{-2.5pt}noindenttextit{Note:} This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also test a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin. Standard deviation in parentheses; *** $ p < 0.01 $; ** $p < 0.05 $; * $ p < 0.10 $.
end{tablenotes}
end{threeparttable}
end{table}
end{document}
@Mico: I didn't even check this point. Thanks!
– Bernard
2 days ago
add a comment |
Some suggestions and comments:
As @daleif has already suggested in a comment, set up a dedicated column for the
rightarrow
symbols.Your code has way too many
multicolumn
wrappers; cull them ruthlessly.The
centering
directive is not needed since the width of thetabular*
environment is set totextwidth
.The
tabular*
environment should have 4, not 5, columns of typec
.The
caption
statement should be inside, not outside thethreeparttable
environment. (The three formal parts of athreepartable
environment are the caption, the tabular-like environment, and thetablenotes
environment.There seems to be no compelling need for the
threeparttable
machiner since there are notnote
directives in your code.
documentclass[a4paper, 12pt]{article}
usepackage[T1]{fontenc}
%usepackage{threeparttable}
usepackage{%longtable,
booktabs, %tabularx
array}
newcolumntype{C}{>{${}}c<{{}$}} % for math symbols such as "to"
begin{document}
begin{table}[h]
setlengthtabcolsep{0pt}
%begin{threeparttable}
%%centering % is redundant
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{tabular*}{textwidth}{ lCl @{extracolsep{fill}} *{4}{c}}
toprule
multicolumn{3}{l}{Direction} & TE & ETE & STD & P-value \
midrule
Bitcoin &to& IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
IPImicro &to& Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
Bitcoin &to& IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
IPImacro &to& Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
%begin{tablenotes}[para,flushleft]
medskip
footnotesize
textit{Note:} This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also estimate a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin. Standard deviations in parentheses; *** p < 0.01; ** p < 0.05; * p < 0.10.
% end{tablenotes}
% end{threeparttable}
end{table}
end{document}
add a comment |
one more example, with use of siunitx
and threeparttablex
packages:
documentclass{article}
usepackage{booktabs}
usepackage[referable]{threeparttablex}
usepackage{siunitx}
usepackage[skip =6pt]{caption}
begin{document}
begin{table}[ht]
centering
sisetup{table-format=1.3,
table-space-text-post=**}
setlengthtabcolsep{0pt}
begin{threeparttable}
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{tabular*}{linewidth}{l>{ $rightarrow$ }l
@{extracolsep{fill}} *{4}{S}}
toprule
multicolumn{2}{c}{Direction} & {TE} & {ETE} & {STD} & {P-value} \
midrule
Bitcoin & IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
IPImicro & Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
Bitcoin & IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
IPImacro & Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
begin{tablenotes}[para,flushleft]footnotesizesmallskip
note This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also test a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin.
item[***] $p < 0.01 $;
item[**] $p < 0.05 $;
item[*] $p < 0.10 $.
end{tablenotes}
end{threeparttable}
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%2f504310%2falign-rightarrow-in-table%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I propose to put what's before arrows in an eqmakebox
– and added various improvement, via siunitx
and caption
:
documentclass{article}
usepackage{array, threeparttable, booktabs}
usepackage{eqparbox, siunitx}
usepackage[skip =6pt]{caption}
begin{document}
begin{table}[h]
centering
sisetup{table-format=1.3, table-number-alignment=center, table-space-text-post=**, table-align-text-post=false}
begin{threeparttable}
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{tabular*}{textwidth}{@{}l@{extracolsep{fill}}*{4}{S}}
toprule
Direction & {TE} & {ETE} & {STD} & {P-value} \
midrule
eqmakebox[D][l]{Bitcoin} $rightarrow$ IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
eqmakebox[D][l]{IPImicro} $rightarrow$ Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
eqmakebox[D][l]{Bitcoin} $rightarrow$ IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
eqmakebox[D][l]{IPImacro} $rightarrow$ Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
begin{tablenotes}[para,flushleft]
footnotesizesmallskip
itemhspace{-2.5pt}noindenttextit{Note:} This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also test a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin. Standard deviation in parentheses; *** $ p < 0.01 $; ** $p < 0.05 $; * $ p < 0.10 $.
end{tablenotes}
end{threeparttable}
end{table}
end{document}
@Mico: I didn't even check this point. Thanks!
– Bernard
2 days ago
add a comment |
I propose to put what's before arrows in an eqmakebox
– and added various improvement, via siunitx
and caption
:
documentclass{article}
usepackage{array, threeparttable, booktabs}
usepackage{eqparbox, siunitx}
usepackage[skip =6pt]{caption}
begin{document}
begin{table}[h]
centering
sisetup{table-format=1.3, table-number-alignment=center, table-space-text-post=**, table-align-text-post=false}
begin{threeparttable}
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{tabular*}{textwidth}{@{}l@{extracolsep{fill}}*{4}{S}}
toprule
Direction & {TE} & {ETE} & {STD} & {P-value} \
midrule
eqmakebox[D][l]{Bitcoin} $rightarrow$ IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
eqmakebox[D][l]{IPImicro} $rightarrow$ Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
eqmakebox[D][l]{Bitcoin} $rightarrow$ IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
eqmakebox[D][l]{IPImacro} $rightarrow$ Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
begin{tablenotes}[para,flushleft]
footnotesizesmallskip
itemhspace{-2.5pt}noindenttextit{Note:} This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also test a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin. Standard deviation in parentheses; *** $ p < 0.01 $; ** $p < 0.05 $; * $ p < 0.10 $.
end{tablenotes}
end{threeparttable}
end{table}
end{document}
@Mico: I didn't even check this point. Thanks!
– Bernard
2 days ago
add a comment |
I propose to put what's before arrows in an eqmakebox
– and added various improvement, via siunitx
and caption
:
documentclass{article}
usepackage{array, threeparttable, booktabs}
usepackage{eqparbox, siunitx}
usepackage[skip =6pt]{caption}
begin{document}
begin{table}[h]
centering
sisetup{table-format=1.3, table-number-alignment=center, table-space-text-post=**, table-align-text-post=false}
begin{threeparttable}
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{tabular*}{textwidth}{@{}l@{extracolsep{fill}}*{4}{S}}
toprule
Direction & {TE} & {ETE} & {STD} & {P-value} \
midrule
eqmakebox[D][l]{Bitcoin} $rightarrow$ IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
eqmakebox[D][l]{IPImicro} $rightarrow$ Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
eqmakebox[D][l]{Bitcoin} $rightarrow$ IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
eqmakebox[D][l]{IPImacro} $rightarrow$ Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
begin{tablenotes}[para,flushleft]
footnotesizesmallskip
itemhspace{-2.5pt}noindenttextit{Note:} This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also test a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin. Standard deviation in parentheses; *** $ p < 0.01 $; ** $p < 0.05 $; * $ p < 0.10 $.
end{tablenotes}
end{threeparttable}
end{table}
end{document}
I propose to put what's before arrows in an eqmakebox
– and added various improvement, via siunitx
and caption
:
documentclass{article}
usepackage{array, threeparttable, booktabs}
usepackage{eqparbox, siunitx}
usepackage[skip =6pt]{caption}
begin{document}
begin{table}[h]
centering
sisetup{table-format=1.3, table-number-alignment=center, table-space-text-post=**, table-align-text-post=false}
begin{threeparttable}
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{tabular*}{textwidth}{@{}l@{extracolsep{fill}}*{4}{S}}
toprule
Direction & {TE} & {ETE} & {STD} & {P-value} \
midrule
eqmakebox[D][l]{Bitcoin} $rightarrow$ IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
eqmakebox[D][l]{IPImicro} $rightarrow$ Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
eqmakebox[D][l]{Bitcoin} $rightarrow$ IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
eqmakebox[D][l]{IPImacro} $rightarrow$ Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
begin{tablenotes}[para,flushleft]
footnotesizesmallskip
itemhspace{-2.5pt}noindenttextit{Note:} This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also test a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin. Standard deviation in parentheses; *** $ p < 0.01 $; ** $p < 0.05 $; * $ p < 0.10 $.
end{tablenotes}
end{threeparttable}
end{table}
end{document}
edited 2 days ago
answered 2 days ago
BernardBernard
188k7 gold badges84 silver badges221 bronze badges
188k7 gold badges84 silver badges221 bronze badges
@Mico: I didn't even check this point. Thanks!
– Bernard
2 days ago
add a comment |
@Mico: I didn't even check this point. Thanks!
– Bernard
2 days ago
@Mico: I didn't even check this point. Thanks!
– Bernard
2 days ago
@Mico: I didn't even check this point. Thanks!
– Bernard
2 days ago
add a comment |
Some suggestions and comments:
As @daleif has already suggested in a comment, set up a dedicated column for the
rightarrow
symbols.Your code has way too many
multicolumn
wrappers; cull them ruthlessly.The
centering
directive is not needed since the width of thetabular*
environment is set totextwidth
.The
tabular*
environment should have 4, not 5, columns of typec
.The
caption
statement should be inside, not outside thethreeparttable
environment. (The three formal parts of athreepartable
environment are the caption, the tabular-like environment, and thetablenotes
environment.There seems to be no compelling need for the
threeparttable
machiner since there are notnote
directives in your code.
documentclass[a4paper, 12pt]{article}
usepackage[T1]{fontenc}
%usepackage{threeparttable}
usepackage{%longtable,
booktabs, %tabularx
array}
newcolumntype{C}{>{${}}c<{{}$}} % for math symbols such as "to"
begin{document}
begin{table}[h]
setlengthtabcolsep{0pt}
%begin{threeparttable}
%%centering % is redundant
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{tabular*}{textwidth}{ lCl @{extracolsep{fill}} *{4}{c}}
toprule
multicolumn{3}{l}{Direction} & TE & ETE & STD & P-value \
midrule
Bitcoin &to& IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
IPImicro &to& Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
Bitcoin &to& IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
IPImacro &to& Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
%begin{tablenotes}[para,flushleft]
medskip
footnotesize
textit{Note:} This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also estimate a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin. Standard deviations in parentheses; *** p < 0.01; ** p < 0.05; * p < 0.10.
% end{tablenotes}
% end{threeparttable}
end{table}
end{document}
add a comment |
Some suggestions and comments:
As @daleif has already suggested in a comment, set up a dedicated column for the
rightarrow
symbols.Your code has way too many
multicolumn
wrappers; cull them ruthlessly.The
centering
directive is not needed since the width of thetabular*
environment is set totextwidth
.The
tabular*
environment should have 4, not 5, columns of typec
.The
caption
statement should be inside, not outside thethreeparttable
environment. (The three formal parts of athreepartable
environment are the caption, the tabular-like environment, and thetablenotes
environment.There seems to be no compelling need for the
threeparttable
machiner since there are notnote
directives in your code.
documentclass[a4paper, 12pt]{article}
usepackage[T1]{fontenc}
%usepackage{threeparttable}
usepackage{%longtable,
booktabs, %tabularx
array}
newcolumntype{C}{>{${}}c<{{}$}} % for math symbols such as "to"
begin{document}
begin{table}[h]
setlengthtabcolsep{0pt}
%begin{threeparttable}
%%centering % is redundant
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{tabular*}{textwidth}{ lCl @{extracolsep{fill}} *{4}{c}}
toprule
multicolumn{3}{l}{Direction} & TE & ETE & STD & P-value \
midrule
Bitcoin &to& IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
IPImicro &to& Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
Bitcoin &to& IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
IPImacro &to& Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
%begin{tablenotes}[para,flushleft]
medskip
footnotesize
textit{Note:} This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also estimate a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin. Standard deviations in parentheses; *** p < 0.01; ** p < 0.05; * p < 0.10.
% end{tablenotes}
% end{threeparttable}
end{table}
end{document}
add a comment |
Some suggestions and comments:
As @daleif has already suggested in a comment, set up a dedicated column for the
rightarrow
symbols.Your code has way too many
multicolumn
wrappers; cull them ruthlessly.The
centering
directive is not needed since the width of thetabular*
environment is set totextwidth
.The
tabular*
environment should have 4, not 5, columns of typec
.The
caption
statement should be inside, not outside thethreeparttable
environment. (The three formal parts of athreepartable
environment are the caption, the tabular-like environment, and thetablenotes
environment.There seems to be no compelling need for the
threeparttable
machiner since there are notnote
directives in your code.
documentclass[a4paper, 12pt]{article}
usepackage[T1]{fontenc}
%usepackage{threeparttable}
usepackage{%longtable,
booktabs, %tabularx
array}
newcolumntype{C}{>{${}}c<{{}$}} % for math symbols such as "to"
begin{document}
begin{table}[h]
setlengthtabcolsep{0pt}
%begin{threeparttable}
%%centering % is redundant
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{tabular*}{textwidth}{ lCl @{extracolsep{fill}} *{4}{c}}
toprule
multicolumn{3}{l}{Direction} & TE & ETE & STD & P-value \
midrule
Bitcoin &to& IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
IPImicro &to& Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
Bitcoin &to& IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
IPImacro &to& Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
%begin{tablenotes}[para,flushleft]
medskip
footnotesize
textit{Note:} This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also estimate a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin. Standard deviations in parentheses; *** p < 0.01; ** p < 0.05; * p < 0.10.
% end{tablenotes}
% end{threeparttable}
end{table}
end{document}
Some suggestions and comments:
As @daleif has already suggested in a comment, set up a dedicated column for the
rightarrow
symbols.Your code has way too many
multicolumn
wrappers; cull them ruthlessly.The
centering
directive is not needed since the width of thetabular*
environment is set totextwidth
.The
tabular*
environment should have 4, not 5, columns of typec
.The
caption
statement should be inside, not outside thethreeparttable
environment. (The three formal parts of athreepartable
environment are the caption, the tabular-like environment, and thetablenotes
environment.There seems to be no compelling need for the
threeparttable
machiner since there are notnote
directives in your code.
documentclass[a4paper, 12pt]{article}
usepackage[T1]{fontenc}
%usepackage{threeparttable}
usepackage{%longtable,
booktabs, %tabularx
array}
newcolumntype{C}{>{${}}c<{{}$}} % for math symbols such as "to"
begin{document}
begin{table}[h]
setlengthtabcolsep{0pt}
%begin{threeparttable}
%%centering % is redundant
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{tabular*}{textwidth}{ lCl @{extracolsep{fill}} *{4}{c}}
toprule
multicolumn{3}{l}{Direction} & TE & ETE & STD & P-value \
midrule
Bitcoin &to& IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
IPImicro &to& Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
Bitcoin &to& IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
IPImacro &to& Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
%begin{tablenotes}[para,flushleft]
medskip
footnotesize
textit{Note:} This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also estimate a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin. Standard deviations in parentheses; *** p < 0.01; ** p < 0.05; * p < 0.10.
% end{tablenotes}
% end{threeparttable}
end{table}
end{document}
answered 2 days ago
MicoMico
302k33 gold badges412 silver badges821 bronze badges
302k33 gold badges412 silver badges821 bronze badges
add a comment |
add a comment |
one more example, with use of siunitx
and threeparttablex
packages:
documentclass{article}
usepackage{booktabs}
usepackage[referable]{threeparttablex}
usepackage{siunitx}
usepackage[skip =6pt]{caption}
begin{document}
begin{table}[ht]
centering
sisetup{table-format=1.3,
table-space-text-post=**}
setlengthtabcolsep{0pt}
begin{threeparttable}
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{tabular*}{linewidth}{l>{ $rightarrow$ }l
@{extracolsep{fill}} *{4}{S}}
toprule
multicolumn{2}{c}{Direction} & {TE} & {ETE} & {STD} & {P-value} \
midrule
Bitcoin & IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
IPImicro & Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
Bitcoin & IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
IPImacro & Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
begin{tablenotes}[para,flushleft]footnotesizesmallskip
note This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also test a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin.
item[***] $p < 0.01 $;
item[**] $p < 0.05 $;
item[*] $p < 0.10 $.
end{tablenotes}
end{threeparttable}
end{table}
end{document}
add a comment |
one more example, with use of siunitx
and threeparttablex
packages:
documentclass{article}
usepackage{booktabs}
usepackage[referable]{threeparttablex}
usepackage{siunitx}
usepackage[skip =6pt]{caption}
begin{document}
begin{table}[ht]
centering
sisetup{table-format=1.3,
table-space-text-post=**}
setlengthtabcolsep{0pt}
begin{threeparttable}
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{tabular*}{linewidth}{l>{ $rightarrow$ }l
@{extracolsep{fill}} *{4}{S}}
toprule
multicolumn{2}{c}{Direction} & {TE} & {ETE} & {STD} & {P-value} \
midrule
Bitcoin & IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
IPImicro & Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
Bitcoin & IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
IPImacro & Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
begin{tablenotes}[para,flushleft]footnotesizesmallskip
note This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also test a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin.
item[***] $p < 0.01 $;
item[**] $p < 0.05 $;
item[*] $p < 0.10 $.
end{tablenotes}
end{threeparttable}
end{table}
end{document}
add a comment |
one more example, with use of siunitx
and threeparttablex
packages:
documentclass{article}
usepackage{booktabs}
usepackage[referable]{threeparttablex}
usepackage{siunitx}
usepackage[skip =6pt]{caption}
begin{document}
begin{table}[ht]
centering
sisetup{table-format=1.3,
table-space-text-post=**}
setlengthtabcolsep{0pt}
begin{threeparttable}
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{tabular*}{linewidth}{l>{ $rightarrow$ }l
@{extracolsep{fill}} *{4}{S}}
toprule
multicolumn{2}{c}{Direction} & {TE} & {ETE} & {STD} & {P-value} \
midrule
Bitcoin & IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
IPImicro & Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
Bitcoin & IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
IPImacro & Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
begin{tablenotes}[para,flushleft]footnotesizesmallskip
note This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also test a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin.
item[***] $p < 0.01 $;
item[**] $p < 0.05 $;
item[*] $p < 0.10 $.
end{tablenotes}
end{threeparttable}
end{table}
end{document}
one more example, with use of siunitx
and threeparttablex
packages:
documentclass{article}
usepackage{booktabs}
usepackage[referable]{threeparttablex}
usepackage{siunitx}
usepackage[skip =6pt]{caption}
begin{document}
begin{table}[ht]
centering
sisetup{table-format=1.3,
table-space-text-post=**}
setlengthtabcolsep{0pt}
begin{threeparttable}
caption{Transfer Entropy Results}
label{tab1:correlation}
begin{tabular*}{linewidth}{l>{ $rightarrow$ }l
@{extracolsep{fill}} *{4}{S}}
toprule
multicolumn{2}{c}{Direction} & {TE} & {ETE} & {STD} & {P-value} \
midrule
Bitcoin & IPImicro & 0.015 & 0.000 & 0.023 & 0.473 \
addlinespace
IPImicro & Bitcoin & 0.091 & 0.066 & 0.025 & 0.027** \
addlinespace
Bitcoin & IPImacro & 0.007 & 0.000 & 0.028 & 0.650 \
addlinespace
IPImacro & Bitcoin & 0.073 & 0.044 & 0.027 & 0.066** \
bottomrule
end{tabular*}
begin{tablenotes}[para,flushleft]footnotesizesmallskip
note This table presents the Transfer Entropy estimation results. H0: No information flow. Statistical significance is based on a bootstrapped Markov chain of the transfer entropy estimates with 300 bootstrap replications. Note that the sign and the numerical value of the transfer Entropy cannot be compared, i.e. determining the magnitude and dominant direction of the information flow is not possible (cite{behrendt2019rtransferentropy}). We also test a vector autoregressive (VAR) model and test for Granger causality (Table ref{tab1:var} and ref{tab1:granger} in the Appendix). However, because it is limited to linear relationships, the VAR model could not reveal any relationship between IPImicro, IPImacro and Bitcoin.
item[***] $p < 0.01 $;
item[**] $p < 0.05 $;
item[*] $p < 0.10 $.
end{tablenotes}
end{threeparttable}
end{table}
end{document}
answered 2 days ago
ZarkoZarko
144k8 gold badges81 silver badges192 bronze badges
144k8 gold badges81 silver badges192 bronze badges
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%2f504310%2falign-rightarrow-in-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
1
erh, make a column just for the arrow?, you could even make it auto math so you don't need
$
– daleif
2 days ago