Can anyone help me to adjust the following asterisks?How can one adjust each text to the center for each box of the table?Please Help to prepare the following tableCan anyone help me create the table below?tabu package - gaps in vertical linesAdjust table to fit within the pagecan anyone help me this table in latex?Adjust the captionCan anyone provide me the code for the table below?Can anyone help me how to move this table in overleaf?Can anyone help me find a latex template for this CV
Do pedestrians imitate automotive traffic?
Raspbian gcc does not know '.intel_syntax'?
Trivial non-dark twist in dark fantasy
Counting multiples of 3 up to a given number
What's the physical meaning of the statement that "photons don't have positions"?
How to tell readers that I know my story is factually incorrect?
Can anyone help me to adjust the following asterisks?
How does mathematics work?
Did Don Young threaten John Boehner with a 10 inch blade to the throat?
RedirectTo deleting google 360 parameters from URL in Journey builder email sends
What does Windows' "Tuning up Application Start" do?
P-adic functions on annuli
Find position equal columns of matrix
Why didn't Balak request Bilam to bless his own people?
Do I have to mention my main characters age?
Improving an O(N^2) function (all entities iterating over all other entities)
What is this light passenger prop airplane which crash landed in East Kalimantan, Borneo in 1983?
How far off did Apollo 11 land?
What is the intuition for higher homotopy groups not vanishing?
Why does Plot only sometimes use different colors for each curve
Soft constraints and hard constraints
Are there foods that astronauts are explicitly never allowed to eat?
What is the minimum wait before I may I re-enter the USA after a 90 day visit on the Visa B-2 Program?
Does the Bracer of Flying Daggers really let a thief make 4 attacks per round?
Can anyone help me to adjust the following asterisks?
How can one adjust each text to the center for each box of the table?Please Help to prepare the following tableCan anyone help me create the table below?tabu package - gaps in vertical linesAdjust table to fit within the pagecan anyone help me this table in latex?Adjust the captionCan anyone provide me the code for the table below?Can anyone help me how to move this table in overleaf?Can anyone help me find a latex template for this CV
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
today is my first day to learn how to make a table in Latex.
I come up with the following example:
My difficult right now is how to align asterisks. I want to match 0.019's "9" with the ending bracket of the number (36.58), then the asterisk should follow the "9" and should not be above the ")" of 36.58, can anyone help me with that?
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape
begindocument
newcolumntyped[1]D..#1
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabular*9l
toprule
multicolumn1l& multicolumn1cEW1M& multicolumn1cEW3M&multicolumn1cEW6M&multicolumn1cEW12M&multicolumn1cVW1M &multicolumn1cVW3M&multicolumn1cVW6M&multicolumn1cVW12M\
multicolumn1c & multicolumn1c(1) &multicolumn1c(2) &multicolumn1c(3) & multicolumn1c(4) & multicolumn1c(5) & multicolumn1c(6)& multicolumn1c(7)& multicolumn1c(8)\ midrule
Purchaser (NPV) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,982 &129,738 &128,316 &124,121 &130,982 &129,738 &128,316 &124,121\
Purchaser (NPR) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,904 &129,660 &128,239 &124,051 &130,982 &129,738 &128,316 &124,121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
tables horizontal-alignment
New contributor
add a comment |
today is my first day to learn how to make a table in Latex.
I come up with the following example:
My difficult right now is how to align asterisks. I want to match 0.019's "9" with the ending bracket of the number (36.58), then the asterisk should follow the "9" and should not be above the ")" of 36.58, can anyone help me with that?
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape
begindocument
newcolumntyped[1]D..#1
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabular*9l
toprule
multicolumn1l& multicolumn1cEW1M& multicolumn1cEW3M&multicolumn1cEW6M&multicolumn1cEW12M&multicolumn1cVW1M &multicolumn1cVW3M&multicolumn1cVW6M&multicolumn1cVW12M\
multicolumn1c & multicolumn1c(1) &multicolumn1c(2) &multicolumn1c(3) & multicolumn1c(4) & multicolumn1c(5) & multicolumn1c(6)& multicolumn1c(7)& multicolumn1c(8)\ midrule
Purchaser (NPV) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,982 &129,738 &128,316 &124,121 &130,982 &129,738 &128,316 &124,121\
Purchaser (NPR) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,904 &129,660 &128,239 &124,051 &130,982 &129,738 &128,316 &124,121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
tables horizontal-alignment
New contributor
1
Welcome to TeX.se, and thanks for adding a compilable example. You've loaded thesiunitx
package, but you're not using its extensive table formatting abilities. You've also defined ad
column type, but you're not using that either. Butsiunitx
should be able to do most of this.
– Alan Munn
9 hours ago
Try this:begintabularl *8d3
-- ?
– John
9 hours ago
@AlanMunn Thanks Alan, I started to learn this literally today. So I am a fresher. I appreciate your help, but can you give me some more specified clues, then I can try to figure it out by myself.
– veryBigman
9 hours ago
add a comment |
today is my first day to learn how to make a table in Latex.
I come up with the following example:
My difficult right now is how to align asterisks. I want to match 0.019's "9" with the ending bracket of the number (36.58), then the asterisk should follow the "9" and should not be above the ")" of 36.58, can anyone help me with that?
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape
begindocument
newcolumntyped[1]D..#1
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabular*9l
toprule
multicolumn1l& multicolumn1cEW1M& multicolumn1cEW3M&multicolumn1cEW6M&multicolumn1cEW12M&multicolumn1cVW1M &multicolumn1cVW3M&multicolumn1cVW6M&multicolumn1cVW12M\
multicolumn1c & multicolumn1c(1) &multicolumn1c(2) &multicolumn1c(3) & multicolumn1c(4) & multicolumn1c(5) & multicolumn1c(6)& multicolumn1c(7)& multicolumn1c(8)\ midrule
Purchaser (NPV) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,982 &129,738 &128,316 &124,121 &130,982 &129,738 &128,316 &124,121\
Purchaser (NPR) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,904 &129,660 &128,239 &124,051 &130,982 &129,738 &128,316 &124,121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
tables horizontal-alignment
New contributor
today is my first day to learn how to make a table in Latex.
I come up with the following example:
My difficult right now is how to align asterisks. I want to match 0.019's "9" with the ending bracket of the number (36.58), then the asterisk should follow the "9" and should not be above the ")" of 36.58, can anyone help me with that?
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape
begindocument
newcolumntyped[1]D..#1
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabular*9l
toprule
multicolumn1l& multicolumn1cEW1M& multicolumn1cEW3M&multicolumn1cEW6M&multicolumn1cEW12M&multicolumn1cVW1M &multicolumn1cVW3M&multicolumn1cVW6M&multicolumn1cVW12M\
multicolumn1c & multicolumn1c(1) &multicolumn1c(2) &multicolumn1c(3) & multicolumn1c(4) & multicolumn1c(5) & multicolumn1c(6)& multicolumn1c(7)& multicolumn1c(8)\ midrule
Purchaser (NPV) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,982 &129,738 &128,316 &124,121 &130,982 &129,738 &128,316 &124,121\
Purchaser (NPR) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,904 &129,660 &128,239 &124,051 &130,982 &129,738 &128,316 &124,121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
tables horizontal-alignment
tables horizontal-alignment
New contributor
New contributor
edited 9 hours ago
Alan Munn
167k29 gold badges439 silver badges727 bronze badges
167k29 gold badges439 silver badges727 bronze badges
New contributor
asked 9 hours ago
veryBigmanveryBigman
212 bronze badges
212 bronze badges
New contributor
New contributor
1
Welcome to TeX.se, and thanks for adding a compilable example. You've loaded thesiunitx
package, but you're not using its extensive table formatting abilities. You've also defined ad
column type, but you're not using that either. Butsiunitx
should be able to do most of this.
– Alan Munn
9 hours ago
Try this:begintabularl *8d3
-- ?
– John
9 hours ago
@AlanMunn Thanks Alan, I started to learn this literally today. So I am a fresher. I appreciate your help, but can you give me some more specified clues, then I can try to figure it out by myself.
– veryBigman
9 hours ago
add a comment |
1
Welcome to TeX.se, and thanks for adding a compilable example. You've loaded thesiunitx
package, but you're not using its extensive table formatting abilities. You've also defined ad
column type, but you're not using that either. Butsiunitx
should be able to do most of this.
– Alan Munn
9 hours ago
Try this:begintabularl *8d3
-- ?
– John
9 hours ago
@AlanMunn Thanks Alan, I started to learn this literally today. So I am a fresher. I appreciate your help, but can you give me some more specified clues, then I can try to figure it out by myself.
– veryBigman
9 hours ago
1
1
Welcome to TeX.se, and thanks for adding a compilable example. You've loaded the
siunitx
package, but you're not using its extensive table formatting abilities. You've also defined a d
column type, but you're not using that either. But siunitx
should be able to do most of this.– Alan Munn
9 hours ago
Welcome to TeX.se, and thanks for adding a compilable example. You've loaded the
siunitx
package, but you're not using its extensive table formatting abilities. You've also defined a d
column type, but you're not using that either. But siunitx
should be able to do most of this.– Alan Munn
9 hours ago
Try this:
begintabularl *8d3
-- ?– John
9 hours ago
Try this:
begintabularl *8d3
-- ?– John
9 hours ago
@AlanMunn Thanks Alan, I started to learn this literally today. So I am a fresher. I appreciate your help, but can you give me some more specified clues, then I can try to figure it out by myself.
– veryBigman
9 hours ago
@AlanMunn Thanks Alan, I started to learn this literally today. So I am a fresher. I appreciate your help, but can you give me some more specified clues, then I can try to figure it out by myself.
– veryBigman
9 hours ago
add a comment |
4 Answers
4
active
oldest
votes
Maybe the following code. I have put the asterisks in other columns.
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape
begindocument
newcolumntyped[1]D..#1
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabular*9r@>$l<$
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
Purchaser (NPV) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
&&130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121\
Purchaser (NPR) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
&&130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
Thanks !! This is a very easy way to solve my question. I literally started today, and therefore was not thinking about this. Do you know any better way to do what I want? I mean, give me some general suggestions and I will search online.
– veryBigman
9 hours ago
You should use thesiunitx
'sS
column type ... it has properties for the text after too.
– koleygr
9 hours ago
add a comment |
Since you load the dcolumn
, I suggest you make use of its D
column type to align (most of) the numbers in the 8 data columns on their decimal markers.
documentclass[11pt,a4paper]article
usepackagemathtools,booktabs,array,dcolumn,lscape
newcolumntyped[1]D..#1
newcommandmc[1]multicolumn1c#1 % handy shortcut macro
begindocument
beginlandscape
begintable[htbp]
centering
captionThe Results of Future Abnormal Return
labeltab:addlabel
medskip
begintabular@ l *8d2.5 @
toprule
& mcEW1M& mcEW3M&mcEW6M&mcEW12M&mcVW1M &mcVW3M&mcVW6M&mcVW12M\
& mc(1) &mc(2) &mc(3) & mc(4) & mc(5) & mc(6)& mc(7)& mc(8)\
midrule
Purchaser (NPV) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&mc130,982 &mc129,738 &mc128,316 &mc124,121 &mc130,982 &mc129,738 &mc128,316 &mc124,121\
addlinespace
Purchaser (NPR) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&mc130,904 &mc129,660 &mc128,239 &mc124,051 &mc130,982 &mc129,738 &mc128,316 &mc124,121\
bottomrule
endtabular
endtable
endlandscape
enddocument
Hi Mico. May I ask you a very beginner question? What does@ l *8d2.5 @
mean? I promise, I spent a moderate amount of time to search online, but I could not find a clear explanation. Today is my first day, so I am really struggling. If you know a good website can explain the stuff to me, can you let me know? I want to express my gratitude in advance
– veryBigman
9 hours ago
@veryBigman -l
means “left-alignment;d2.5
means “alignment on the decimal marker, setting aside enough space for two digits before and five digits after the decimal marker;*8...
means “repeat 8 times”; and@
means “suppress the horizontal padding that would otherwise be inserted to the left of the first column and to the right of the final column”.
– Mico
8 hours ago
add a comment |
The solution that I'd posted as a comment to the OP keeps the longer numbers aligned at the decimal digit (if that's what's desired ... )
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape
begindocument
newcolumntyped[1]D..#1
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabularl *8d3 %%<======== aligns all the numbers on the decimal
toprule
multicolumn1l& multicolumn1cEW1M& multicolumn1cEW3M&multicolumn1cEW6M&multicolumn1cEW12M&multicolumn1cVW1M &multicolumn1cVW3M&multicolumn1cVW6M&multicolumn1cVW12M\
multicolumn1c & multicolumn1c(1) &multicolumn1c(2) &multicolumn1c(3) & multicolumn1c(4) & multicolumn1c(5) & multicolumn1c(6)& multicolumn1c(7)& multicolumn1c(8)\ midrule
Purchaser (NPV) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,982 &129,738 &128,316 &124,121 &130,982 &129,738 &128,316 &124,121\
Purchaser (NPR) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,904 &129,660 &128,239 &124,051 &130,982 &129,738 &128,316 &124,121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
add a comment |
With the type of column S
(of siunitx
). All elements which are not part of the numbers must be protected by braces (...
).
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,lscape
begindocument
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabularl*8S
toprule
& EW1M& EW3M&EW6M&EW12M&VW1M &VW3M&VW6M&VW12M\
& (1) &(2) &(3) & (4) & (5) & (6)& (7)& (8)\ midrule
Purchaser (NPV) &0.019$^***$&0.021$^***$&0.025$^***$&0.025$^***$&0.017$^***$&0.025$^***$&0.038$^***$&0.060$^***$\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&130.982 &129.738 &128.316 &124.121 &130.982 &129.738 &128.316 &124.121\
Purchaser (NPR) &0.019$^***$&0.021$^***$&0.025$^***$&0.025$^***$&0.017$^***$&0.025$^***$&0.038$^***$&0.060$^***$\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&130.904 &129.660 &128.239 &124.051 &130.982 &129.738 &128.316 &124.121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
Why have you divided the large numbers by 1000?
– John
8 hours ago
1
Sorry. I'm French. I did'nt understood that the comma was a separation for the groups of 3 digits. In French, the comma is synonymous of the decimal point and we put only a space between groups of 3 digits.
– F. Pantigny
8 hours ago
Yes, I suspected! No worry.
– John
8 hours ago
@F.Pantigny That's very interesting to see the cultural difference here. Thank you for your reply and for your answer. I will learn from it as much as I can.
– veryBigman
8 hours ago
I think that ISO 80000-2 recommend to use point or comma for the decimal separator and space between the groups of 3 digits.
– F. Pantigny
8 hours ago
|
show 1 more 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
);
);
veryBigman is a new contributor. Be nice, and check out our Code of Conduct.
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%2f500860%2fcan-anyone-help-me-to-adjust-the-following-asterisks%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Maybe the following code. I have put the asterisks in other columns.
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape
begindocument
newcolumntyped[1]D..#1
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabular*9r@>$l<$
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
Purchaser (NPV) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
&&130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121\
Purchaser (NPR) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
&&130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
Thanks !! This is a very easy way to solve my question. I literally started today, and therefore was not thinking about this. Do you know any better way to do what I want? I mean, give me some general suggestions and I will search online.
– veryBigman
9 hours ago
You should use thesiunitx
'sS
column type ... it has properties for the text after too.
– koleygr
9 hours ago
add a comment |
Maybe the following code. I have put the asterisks in other columns.
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape
begindocument
newcolumntyped[1]D..#1
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabular*9r@>$l<$
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
Purchaser (NPV) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
&&130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121\
Purchaser (NPR) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
&&130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
Thanks !! This is a very easy way to solve my question. I literally started today, and therefore was not thinking about this. Do you know any better way to do what I want? I mean, give me some general suggestions and I will search online.
– veryBigman
9 hours ago
You should use thesiunitx
'sS
column type ... it has properties for the text after too.
– koleygr
9 hours ago
add a comment |
Maybe the following code. I have put the asterisks in other columns.
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape
begindocument
newcolumntyped[1]D..#1
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabular*9r@>$l<$
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
Purchaser (NPV) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
&&130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121\
Purchaser (NPR) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
&&130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
Maybe the following code. I have put the asterisks in other columns.
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape
begindocument
newcolumntyped[1]D..#1
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabular*9r@>$l<$
toprule
multicolumn2l& multicolumn2cEW1M& multicolumn2cEW3M&multicolumn2cEW6M&multicolumn2cEW12M&multicolumn2cVW1M &multicolumn2cVW3M&multicolumn2cVW6M&multicolumn2cVW12M\
multicolumn2c & multicolumn2c(1) &multicolumn2c(2) &multicolumn2c(3) & multicolumn2c(4) & multicolumn2c(5) & multicolumn2c(6)& multicolumn2c(7)& multicolumn2c(8)\ midrule
Purchaser (NPV) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.58)&&(26.98)&&(23.34)&&(16.84)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
&&130,982 &&129,738 &&128,316 &&124,121 &&130,982 &&129,738 &&128,316 &&124,121\
Purchaser (NPR) &&0.019&^***&0.021&^***&0.025&^***&0.025&^***&0.017&^***&0.025&^***&0.038&^***&0.060&^***\
&&(36.57)&&(26.99)&&(23.37)&&(16.89)&&(34.03)&&(31.64)&&(34.72)&&(38.85)\
&&130,904 &&129,660 &&128,239 &&124,051 &&130,982 &&129,738 &&128,316 &&124,121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
answered 9 hours ago
F. PantignyF. Pantigny
1,0262 silver badges12 bronze badges
1,0262 silver badges12 bronze badges
Thanks !! This is a very easy way to solve my question. I literally started today, and therefore was not thinking about this. Do you know any better way to do what I want? I mean, give me some general suggestions and I will search online.
– veryBigman
9 hours ago
You should use thesiunitx
'sS
column type ... it has properties for the text after too.
– koleygr
9 hours ago
add a comment |
Thanks !! This is a very easy way to solve my question. I literally started today, and therefore was not thinking about this. Do you know any better way to do what I want? I mean, give me some general suggestions and I will search online.
– veryBigman
9 hours ago
You should use thesiunitx
'sS
column type ... it has properties for the text after too.
– koleygr
9 hours ago
Thanks !! This is a very easy way to solve my question. I literally started today, and therefore was not thinking about this. Do you know any better way to do what I want? I mean, give me some general suggestions and I will search online.
– veryBigman
9 hours ago
Thanks !! This is a very easy way to solve my question. I literally started today, and therefore was not thinking about this. Do you know any better way to do what I want? I mean, give me some general suggestions and I will search online.
– veryBigman
9 hours ago
You should use the
siunitx
's S
column type ... it has properties for the text after too.– koleygr
9 hours ago
You should use the
siunitx
's S
column type ... it has properties for the text after too.– koleygr
9 hours ago
add a comment |
Since you load the dcolumn
, I suggest you make use of its D
column type to align (most of) the numbers in the 8 data columns on their decimal markers.
documentclass[11pt,a4paper]article
usepackagemathtools,booktabs,array,dcolumn,lscape
newcolumntyped[1]D..#1
newcommandmc[1]multicolumn1c#1 % handy shortcut macro
begindocument
beginlandscape
begintable[htbp]
centering
captionThe Results of Future Abnormal Return
labeltab:addlabel
medskip
begintabular@ l *8d2.5 @
toprule
& mcEW1M& mcEW3M&mcEW6M&mcEW12M&mcVW1M &mcVW3M&mcVW6M&mcVW12M\
& mc(1) &mc(2) &mc(3) & mc(4) & mc(5) & mc(6)& mc(7)& mc(8)\
midrule
Purchaser (NPV) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&mc130,982 &mc129,738 &mc128,316 &mc124,121 &mc130,982 &mc129,738 &mc128,316 &mc124,121\
addlinespace
Purchaser (NPR) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&mc130,904 &mc129,660 &mc128,239 &mc124,051 &mc130,982 &mc129,738 &mc128,316 &mc124,121\
bottomrule
endtabular
endtable
endlandscape
enddocument
Hi Mico. May I ask you a very beginner question? What does@ l *8d2.5 @
mean? I promise, I spent a moderate amount of time to search online, but I could not find a clear explanation. Today is my first day, so I am really struggling. If you know a good website can explain the stuff to me, can you let me know? I want to express my gratitude in advance
– veryBigman
9 hours ago
@veryBigman -l
means “left-alignment;d2.5
means “alignment on the decimal marker, setting aside enough space for two digits before and five digits after the decimal marker;*8...
means “repeat 8 times”; and@
means “suppress the horizontal padding that would otherwise be inserted to the left of the first column and to the right of the final column”.
– Mico
8 hours ago
add a comment |
Since you load the dcolumn
, I suggest you make use of its D
column type to align (most of) the numbers in the 8 data columns on their decimal markers.
documentclass[11pt,a4paper]article
usepackagemathtools,booktabs,array,dcolumn,lscape
newcolumntyped[1]D..#1
newcommandmc[1]multicolumn1c#1 % handy shortcut macro
begindocument
beginlandscape
begintable[htbp]
centering
captionThe Results of Future Abnormal Return
labeltab:addlabel
medskip
begintabular@ l *8d2.5 @
toprule
& mcEW1M& mcEW3M&mcEW6M&mcEW12M&mcVW1M &mcVW3M&mcVW6M&mcVW12M\
& mc(1) &mc(2) &mc(3) & mc(4) & mc(5) & mc(6)& mc(7)& mc(8)\
midrule
Purchaser (NPV) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&mc130,982 &mc129,738 &mc128,316 &mc124,121 &mc130,982 &mc129,738 &mc128,316 &mc124,121\
addlinespace
Purchaser (NPR) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&mc130,904 &mc129,660 &mc128,239 &mc124,051 &mc130,982 &mc129,738 &mc128,316 &mc124,121\
bottomrule
endtabular
endtable
endlandscape
enddocument
Hi Mico. May I ask you a very beginner question? What does@ l *8d2.5 @
mean? I promise, I spent a moderate amount of time to search online, but I could not find a clear explanation. Today is my first day, so I am really struggling. If you know a good website can explain the stuff to me, can you let me know? I want to express my gratitude in advance
– veryBigman
9 hours ago
@veryBigman -l
means “left-alignment;d2.5
means “alignment on the decimal marker, setting aside enough space for two digits before and five digits after the decimal marker;*8...
means “repeat 8 times”; and@
means “suppress the horizontal padding that would otherwise be inserted to the left of the first column and to the right of the final column”.
– Mico
8 hours ago
add a comment |
Since you load the dcolumn
, I suggest you make use of its D
column type to align (most of) the numbers in the 8 data columns on their decimal markers.
documentclass[11pt,a4paper]article
usepackagemathtools,booktabs,array,dcolumn,lscape
newcolumntyped[1]D..#1
newcommandmc[1]multicolumn1c#1 % handy shortcut macro
begindocument
beginlandscape
begintable[htbp]
centering
captionThe Results of Future Abnormal Return
labeltab:addlabel
medskip
begintabular@ l *8d2.5 @
toprule
& mcEW1M& mcEW3M&mcEW6M&mcEW12M&mcVW1M &mcVW3M&mcVW6M&mcVW12M\
& mc(1) &mc(2) &mc(3) & mc(4) & mc(5) & mc(6)& mc(7)& mc(8)\
midrule
Purchaser (NPV) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&mc130,982 &mc129,738 &mc128,316 &mc124,121 &mc130,982 &mc129,738 &mc128,316 &mc124,121\
addlinespace
Purchaser (NPR) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&mc130,904 &mc129,660 &mc128,239 &mc124,051 &mc130,982 &mc129,738 &mc128,316 &mc124,121\
bottomrule
endtabular
endtable
endlandscape
enddocument
Since you load the dcolumn
, I suggest you make use of its D
column type to align (most of) the numbers in the 8 data columns on their decimal markers.
documentclass[11pt,a4paper]article
usepackagemathtools,booktabs,array,dcolumn,lscape
newcolumntyped[1]D..#1
newcommandmc[1]multicolumn1c#1 % handy shortcut macro
begindocument
beginlandscape
begintable[htbp]
centering
captionThe Results of Future Abnormal Return
labeltab:addlabel
medskip
begintabular@ l *8d2.5 @
toprule
& mcEW1M& mcEW3M&mcEW6M&mcEW12M&mcVW1M &mcVW3M&mcVW6M&mcVW12M\
& mc(1) &mc(2) &mc(3) & mc(4) & mc(5) & mc(6)& mc(7)& mc(8)\
midrule
Purchaser (NPV) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&mc130,982 &mc129,738 &mc128,316 &mc124,121 &mc130,982 &mc129,738 &mc128,316 &mc124,121\
addlinespace
Purchaser (NPR) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&mc130,904 &mc129,660 &mc128,239 &mc124,051 &mc130,982 &mc129,738 &mc128,316 &mc124,121\
bottomrule
endtabular
endtable
endlandscape
enddocument
answered 9 hours ago
MicoMico
298k32 gold badges410 silver badges810 bronze badges
298k32 gold badges410 silver badges810 bronze badges
Hi Mico. May I ask you a very beginner question? What does@ l *8d2.5 @
mean? I promise, I spent a moderate amount of time to search online, but I could not find a clear explanation. Today is my first day, so I am really struggling. If you know a good website can explain the stuff to me, can you let me know? I want to express my gratitude in advance
– veryBigman
9 hours ago
@veryBigman -l
means “left-alignment;d2.5
means “alignment on the decimal marker, setting aside enough space for two digits before and five digits after the decimal marker;*8...
means “repeat 8 times”; and@
means “suppress the horizontal padding that would otherwise be inserted to the left of the first column and to the right of the final column”.
– Mico
8 hours ago
add a comment |
Hi Mico. May I ask you a very beginner question? What does@ l *8d2.5 @
mean? I promise, I spent a moderate amount of time to search online, but I could not find a clear explanation. Today is my first day, so I am really struggling. If you know a good website can explain the stuff to me, can you let me know? I want to express my gratitude in advance
– veryBigman
9 hours ago
@veryBigman -l
means “left-alignment;d2.5
means “alignment on the decimal marker, setting aside enough space for two digits before and five digits after the decimal marker;*8...
means “repeat 8 times”; and@
means “suppress the horizontal padding that would otherwise be inserted to the left of the first column and to the right of the final column”.
– Mico
8 hours ago
Hi Mico. May I ask you a very beginner question? What does
@ l *8d2.5 @
mean? I promise, I spent a moderate amount of time to search online, but I could not find a clear explanation. Today is my first day, so I am really struggling. If you know a good website can explain the stuff to me, can you let me know? I want to express my gratitude in advance– veryBigman
9 hours ago
Hi Mico. May I ask you a very beginner question? What does
@ l *8d2.5 @
mean? I promise, I spent a moderate amount of time to search online, but I could not find a clear explanation. Today is my first day, so I am really struggling. If you know a good website can explain the stuff to me, can you let me know? I want to express my gratitude in advance– veryBigman
9 hours ago
@veryBigman -
l
means “left-alignment; d2.5
means “alignment on the decimal marker, setting aside enough space for two digits before and five digits after the decimal marker; *8...
means “repeat 8 times”; and @
means “suppress the horizontal padding that would otherwise be inserted to the left of the first column and to the right of the final column”.– Mico
8 hours ago
@veryBigman -
l
means “left-alignment; d2.5
means “alignment on the decimal marker, setting aside enough space for two digits before and five digits after the decimal marker; *8...
means “repeat 8 times”; and @
means “suppress the horizontal padding that would otherwise be inserted to the left of the first column and to the right of the final column”.– Mico
8 hours ago
add a comment |
The solution that I'd posted as a comment to the OP keeps the longer numbers aligned at the decimal digit (if that's what's desired ... )
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape
begindocument
newcolumntyped[1]D..#1
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabularl *8d3 %%<======== aligns all the numbers on the decimal
toprule
multicolumn1l& multicolumn1cEW1M& multicolumn1cEW3M&multicolumn1cEW6M&multicolumn1cEW12M&multicolumn1cVW1M &multicolumn1cVW3M&multicolumn1cVW6M&multicolumn1cVW12M\
multicolumn1c & multicolumn1c(1) &multicolumn1c(2) &multicolumn1c(3) & multicolumn1c(4) & multicolumn1c(5) & multicolumn1c(6)& multicolumn1c(7)& multicolumn1c(8)\ midrule
Purchaser (NPV) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,982 &129,738 &128,316 &124,121 &130,982 &129,738 &128,316 &124,121\
Purchaser (NPR) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,904 &129,660 &128,239 &124,051 &130,982 &129,738 &128,316 &124,121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
add a comment |
The solution that I'd posted as a comment to the OP keeps the longer numbers aligned at the decimal digit (if that's what's desired ... )
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape
begindocument
newcolumntyped[1]D..#1
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabularl *8d3 %%<======== aligns all the numbers on the decimal
toprule
multicolumn1l& multicolumn1cEW1M& multicolumn1cEW3M&multicolumn1cEW6M&multicolumn1cEW12M&multicolumn1cVW1M &multicolumn1cVW3M&multicolumn1cVW6M&multicolumn1cVW12M\
multicolumn1c & multicolumn1c(1) &multicolumn1c(2) &multicolumn1c(3) & multicolumn1c(4) & multicolumn1c(5) & multicolumn1c(6)& multicolumn1c(7)& multicolumn1c(8)\ midrule
Purchaser (NPV) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,982 &129,738 &128,316 &124,121 &130,982 &129,738 &128,316 &124,121\
Purchaser (NPR) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,904 &129,660 &128,239 &124,051 &130,982 &129,738 &128,316 &124,121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
add a comment |
The solution that I'd posted as a comment to the OP keeps the longer numbers aligned at the decimal digit (if that's what's desired ... )
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape
begindocument
newcolumntyped[1]D..#1
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabularl *8d3 %%<======== aligns all the numbers on the decimal
toprule
multicolumn1l& multicolumn1cEW1M& multicolumn1cEW3M&multicolumn1cEW6M&multicolumn1cEW12M&multicolumn1cVW1M &multicolumn1cVW3M&multicolumn1cVW6M&multicolumn1cVW12M\
multicolumn1c & multicolumn1c(1) &multicolumn1c(2) &multicolumn1c(3) & multicolumn1c(4) & multicolumn1c(5) & multicolumn1c(6)& multicolumn1c(7)& multicolumn1c(8)\ midrule
Purchaser (NPV) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,982 &129,738 &128,316 &124,121 &130,982 &129,738 &128,316 &124,121\
Purchaser (NPR) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,904 &129,660 &128,239 &124,051 &130,982 &129,738 &128,316 &124,121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
The solution that I'd posted as a comment to the OP keeps the longer numbers aligned at the decimal digit (if that's what's desired ... )
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,dcolumn,lscape
begindocument
newcolumntyped[1]D..#1
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabularl *8d3 %%<======== aligns all the numbers on the decimal
toprule
multicolumn1l& multicolumn1cEW1M& multicolumn1cEW3M&multicolumn1cEW6M&multicolumn1cEW12M&multicolumn1cVW1M &multicolumn1cVW3M&multicolumn1cVW6M&multicolumn1cVW12M\
multicolumn1c & multicolumn1c(1) &multicolumn1c(2) &multicolumn1c(3) & multicolumn1c(4) & multicolumn1c(5) & multicolumn1c(6)& multicolumn1c(7)& multicolumn1c(8)\ midrule
Purchaser (NPV) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,982 &129,738 &128,316 &124,121 &130,982 &129,738 &128,316 &124,121\
Purchaser (NPR) &0.019^***&0.021^***&0.025^***&0.025^***&0.017^***&0.025^***&0.038^***&0.060^***\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&130,904 &129,660 &128,239 &124,051 &130,982 &129,738 &128,316 &124,121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
answered 9 hours ago
JohnJohn
9114 silver badges15 bronze badges
9114 silver badges15 bronze badges
add a comment |
add a comment |
With the type of column S
(of siunitx
). All elements which are not part of the numbers must be protected by braces (...
).
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,lscape
begindocument
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabularl*8S
toprule
& EW1M& EW3M&EW6M&EW12M&VW1M &VW3M&VW6M&VW12M\
& (1) &(2) &(3) & (4) & (5) & (6)& (7)& (8)\ midrule
Purchaser (NPV) &0.019$^***$&0.021$^***$&0.025$^***$&0.025$^***$&0.017$^***$&0.025$^***$&0.038$^***$&0.060$^***$\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&130.982 &129.738 &128.316 &124.121 &130.982 &129.738 &128.316 &124.121\
Purchaser (NPR) &0.019$^***$&0.021$^***$&0.025$^***$&0.025$^***$&0.017$^***$&0.025$^***$&0.038$^***$&0.060$^***$\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&130.904 &129.660 &128.239 &124.051 &130.982 &129.738 &128.316 &124.121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
Why have you divided the large numbers by 1000?
– John
8 hours ago
1
Sorry. I'm French. I did'nt understood that the comma was a separation for the groups of 3 digits. In French, the comma is synonymous of the decimal point and we put only a space between groups of 3 digits.
– F. Pantigny
8 hours ago
Yes, I suspected! No worry.
– John
8 hours ago
@F.Pantigny That's very interesting to see the cultural difference here. Thank you for your reply and for your answer. I will learn from it as much as I can.
– veryBigman
8 hours ago
I think that ISO 80000-2 recommend to use point or comma for the decimal separator and space between the groups of 3 digits.
– F. Pantigny
8 hours ago
|
show 1 more comment
With the type of column S
(of siunitx
). All elements which are not part of the numbers must be protected by braces (...
).
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,lscape
begindocument
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabularl*8S
toprule
& EW1M& EW3M&EW6M&EW12M&VW1M &VW3M&VW6M&VW12M\
& (1) &(2) &(3) & (4) & (5) & (6)& (7)& (8)\ midrule
Purchaser (NPV) &0.019$^***$&0.021$^***$&0.025$^***$&0.025$^***$&0.017$^***$&0.025$^***$&0.038$^***$&0.060$^***$\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&130.982 &129.738 &128.316 &124.121 &130.982 &129.738 &128.316 &124.121\
Purchaser (NPR) &0.019$^***$&0.021$^***$&0.025$^***$&0.025$^***$&0.017$^***$&0.025$^***$&0.038$^***$&0.060$^***$\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&130.904 &129.660 &128.239 &124.051 &130.982 &129.738 &128.316 &124.121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
Why have you divided the large numbers by 1000?
– John
8 hours ago
1
Sorry. I'm French. I did'nt understood that the comma was a separation for the groups of 3 digits. In French, the comma is synonymous of the decimal point and we put only a space between groups of 3 digits.
– F. Pantigny
8 hours ago
Yes, I suspected! No worry.
– John
8 hours ago
@F.Pantigny That's very interesting to see the cultural difference here. Thank you for your reply and for your answer. I will learn from it as much as I can.
– veryBigman
8 hours ago
I think that ISO 80000-2 recommend to use point or comma for the decimal separator and space between the groups of 3 digits.
– F. Pantigny
8 hours ago
|
show 1 more comment
With the type of column S
(of siunitx
). All elements which are not part of the numbers must be protected by braces (...
).
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,lscape
begindocument
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabularl*8S
toprule
& EW1M& EW3M&EW6M&EW12M&VW1M &VW3M&VW6M&VW12M\
& (1) &(2) &(3) & (4) & (5) & (6)& (7)& (8)\ midrule
Purchaser (NPV) &0.019$^***$&0.021$^***$&0.025$^***$&0.025$^***$&0.017$^***$&0.025$^***$&0.038$^***$&0.060$^***$\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&130.982 &129.738 &128.316 &124.121 &130.982 &129.738 &128.316 &124.121\
Purchaser (NPR) &0.019$^***$&0.021$^***$&0.025$^***$&0.025$^***$&0.017$^***$&0.025$^***$&0.038$^***$&0.060$^***$\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&130.904 &129.660 &128.239 &124.051 &130.982 &129.738 &128.316 &124.121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
With the type of column S
(of siunitx
). All elements which are not part of the numbers must be protected by braces (...
).
documentclass[11pt,a4paper]article
usepackagemathtools
usepackagebooktabs
usepackageamsmath
usepackagesiunitx
usepackagemakecell,graphicx,rotating,array,lscape
begindocument
defsym#1ensuremath^mathrlap#1
beginlandscape
setlengthextrarowheight1.5pt
begintable[htbp]
sisetuptable-align-text-post=false
centering
captionThe Results of Future Abnormal Return
begintabularl*8S
toprule
& EW1M& EW3M&EW6M&EW12M&VW1M &VW3M&VW6M&VW12M\
& (1) &(2) &(3) & (4) & (5) & (6)& (7)& (8)\ midrule
Purchaser (NPV) &0.019$^***$&0.021$^***$&0.025$^***$&0.025$^***$&0.017$^***$&0.025$^***$&0.038$^***$&0.060$^***$\
&(36.58)&(26.98)&(23.34)&(16.84)&(34.03)&(31.64)&(34.72)&(38.85)\
&130.982 &129.738 &128.316 &124.121 &130.982 &129.738 &128.316 &124.121\
Purchaser (NPR) &0.019$^***$&0.021$^***$&0.025$^***$&0.025$^***$&0.017$^***$&0.025$^***$&0.038$^***$&0.060$^***$\
&(36.57)&(26.99)&(23.37)&(16.89)&(34.03)&(31.64)&(34.72)&(38.85)\
&130.904 &129.660 &128.239 &124.051 &130.982 &129.738 &128.316 &124.121\
endtabular%
labeltab:addlabel%
endtable
endlandscape
enddocument
answered 8 hours ago
F. PantignyF. Pantigny
1,0262 silver badges12 bronze badges
1,0262 silver badges12 bronze badges
Why have you divided the large numbers by 1000?
– John
8 hours ago
1
Sorry. I'm French. I did'nt understood that the comma was a separation for the groups of 3 digits. In French, the comma is synonymous of the decimal point and we put only a space between groups of 3 digits.
– F. Pantigny
8 hours ago
Yes, I suspected! No worry.
– John
8 hours ago
@F.Pantigny That's very interesting to see the cultural difference here. Thank you for your reply and for your answer. I will learn from it as much as I can.
– veryBigman
8 hours ago
I think that ISO 80000-2 recommend to use point or comma for the decimal separator and space between the groups of 3 digits.
– F. Pantigny
8 hours ago
|
show 1 more comment
Why have you divided the large numbers by 1000?
– John
8 hours ago
1
Sorry. I'm French. I did'nt understood that the comma was a separation for the groups of 3 digits. In French, the comma is synonymous of the decimal point and we put only a space between groups of 3 digits.
– F. Pantigny
8 hours ago
Yes, I suspected! No worry.
– John
8 hours ago
@F.Pantigny That's very interesting to see the cultural difference here. Thank you for your reply and for your answer. I will learn from it as much as I can.
– veryBigman
8 hours ago
I think that ISO 80000-2 recommend to use point or comma for the decimal separator and space between the groups of 3 digits.
– F. Pantigny
8 hours ago
Why have you divided the large numbers by 1000?
– John
8 hours ago
Why have you divided the large numbers by 1000?
– John
8 hours ago
1
1
Sorry. I'm French. I did'nt understood that the comma was a separation for the groups of 3 digits. In French, the comma is synonymous of the decimal point and we put only a space between groups of 3 digits.
– F. Pantigny
8 hours ago
Sorry. I'm French. I did'nt understood that the comma was a separation for the groups of 3 digits. In French, the comma is synonymous of the decimal point and we put only a space between groups of 3 digits.
– F. Pantigny
8 hours ago
Yes, I suspected! No worry.
– John
8 hours ago
Yes, I suspected! No worry.
– John
8 hours ago
@F.Pantigny That's very interesting to see the cultural difference here. Thank you for your reply and for your answer. I will learn from it as much as I can.
– veryBigman
8 hours ago
@F.Pantigny That's very interesting to see the cultural difference here. Thank you for your reply and for your answer. I will learn from it as much as I can.
– veryBigman
8 hours ago
I think that ISO 80000-2 recommend to use point or comma for the decimal separator and space between the groups of 3 digits.
– F. Pantigny
8 hours ago
I think that ISO 80000-2 recommend to use point or comma for the decimal separator and space between the groups of 3 digits.
– F. Pantigny
8 hours ago
|
show 1 more comment
veryBigman is a new contributor. Be nice, and check out our Code of Conduct.
veryBigman is a new contributor. Be nice, and check out our Code of Conduct.
veryBigman is a new contributor. Be nice, and check out our Code of Conduct.
veryBigman is a new contributor. Be nice, and check out our Code of Conduct.
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%2f500860%2fcan-anyone-help-me-to-adjust-the-following-asterisks%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
Welcome to TeX.se, and thanks for adding a compilable example. You've loaded the
siunitx
package, but you're not using its extensive table formatting abilities. You've also defined ad
column type, but you're not using that either. Butsiunitx
should be able to do most of this.– Alan Munn
9 hours ago
Try this:
begintabularl *8d3
-- ?– John
9 hours ago
@AlanMunn Thanks Alan, I started to learn this literally today. So I am a fresher. I appreciate your help, but can you give me some more specified clues, then I can try to figure it out by myself.
– veryBigman
9 hours ago