Table alignment issuealignment of table numbersBorder alignment issue using tabularx in LaTeXbfseries and alignment in tablesiunitx table alignmentFormat table number alignmenttabularx and pmatrix alignment issueAlignment in siunitx tableTable column alignmentTable - alignment
Does Tomb of Levistus overpower (or have any special interaction with) Infernal heritage?
Was Greta Thunberg forced to ride on the floor of an overcrowded train?
How to Handle Competitive and Blame Culture Within Team
Why didn't classical music use drums?
Forgot item in a hotel in Spain; hotel says I have to send a courier myself because they don't handle international shipments
Which font's digits resemble Nixie tube digits?
What is the moral difference between abortion and infanticide?
What would have been the typical drinks for a US farmer in the late 18th/early 19th century?
Would it have been possible to re-fuel the planes in the air?
Why is an unbiased random walk non-ergodic?
Should I invest ~18k being 19 years old?
What would happen if a Cleric blessed a Warlock with a fiend patron?
How much would a language change over 500 years completely cut off from its source?
What happens when a photon "dies"?
How scammy are cashback sites?
Excel countif doesn't work on range denoted by
Postdoc Fellowships Collision
Why can't I shoot with a fast shutter speed?
What is the most common used Pi OS
Why is the OS obfuscation defense against "It's a Unix system!" not widely implemented?
Setting up uniform distribution over non-rectangular support
find ".ts" but not ".d.ts"
What did Harry mean when he said "Well, I take it you're not sorry?" to Griphook?
Expressing the Riemann Zeta function in terms of GCD and LCM
Table alignment issue
alignment of table numbersBorder alignment issue using tabularx in LaTeXbfseries and alignment in tablesiunitx table alignmentFormat table number alignmenttabularx and pmatrix alignment issueAlignment in siunitx tableTable column alignmentTable - alignment
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I am not sure why my second row of sentences go to my first row.
I need to create a table (without colour) as below:
My MWE:
documentclass[12pt,oneside]book % Remove draft option to show figures (for final draft), otherwise keep for faster production
usepackagetabularx,seqsplit, caption %for table spacing to second row
usepackagebooktabs, ragged2e % Use booktabs rules and get rid of vertical rules, ragged2e to ragged text
usepackagemakecell,siunitx %for table spacing to second row
usepackagethreeparttable %to add footnote below table
renewcommandTPTtagStyleitshape % optional
usepackagelipsum % for filler text
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmallbfseries % for bold in table using small
usepackagetabulary,siunitx
renewcommandtheadgape
usepackagegraphicx
usepackagetikz
usetikzlibrarydecorations.pathreplacing,calc, positioning,matrix,fit,calc, arrows.meta,
backgrounds,
chains
usepackagepgfplots
pgfplotssetcompat=1.15
begindocument
begintable[!ht]
begintablenotes
centering
small
item Hypothesis Test Summary
endtablenotes
centering
begintabularllrl
toprule
small textbfNull Hypothesis
& small textbfTest & small textbfSig.
& small textbfDecision\
midrule
The distribution of Classification \
Accuracy is the same across \
categories of Methods \
(1: KL; 2: FC; 3: SD) &
Independent \ Samples \ Kruskal-Wallis \ Test &
.000 &
Reject the \ null\ hypothesis \
bottomrule
endtabular
begintablenotes
small
item Asymptotic significances are displayed. The significance level is .05.
endtablenotes
endtable
enddocument
Suggested below
documentclass[12pt,oneside]book % Remove draft option to show figures (for final draft), otherwise keep for faster production
usepackagetabularx,seqsplit, caption %for table spacing to second row
usepackagebooktabs, ragged2e % Use booktabs rules and get rid of vertical rules, ragged2e to ragged text
usepackagemakecell,siunitx %for table spacing to second row
usepackagethreeparttable %to add footnote below table
renewcommandTPTtagStyleitshape % optional
usepackagelipsum % for filler text
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmallbfseries % for bold in table using small
usepackagetabulary,siunitx
renewcommandtheadgape
usepackagegraphicx
usepackagetikz
usetikzlibrarydecorations.pathreplacing,calc, positioning,matrix,fit,calc, arrows.meta,
backgrounds,
chains
usepackagepgfplots
pgfplotssetcompat=1.15
begindocument
begintable[!ht]
begintablenotes
centering
small
item Hypothesis Test Summary
endtablenotes
centering
begintabularllrl
begintabularllrl
toprule small textbfNull Hypothesis & small textbfTest & small textbfSig. & small textbfDecision\
midrule
begintabularlThe distribution of Classification \ Accuracy is the same across \ categories of Methods \ (1: KL; 2: FC; 3: SD) endtabular
&
begintabularl Independent \ Samples \ Kruskal-Wallis \ Test endtabular
& .000
&
begintabularl Reject the \ null\ hypothesis
endtabular \
bottomrule
endtabular
endtabular
begintablenotes
small
item Asymptotic significances are displayed. The significance level is .05.
endtablenotes
endtable
enddocument
tables tabularx siunitx
add a comment
|
I am not sure why my second row of sentences go to my first row.
I need to create a table (without colour) as below:
My MWE:
documentclass[12pt,oneside]book % Remove draft option to show figures (for final draft), otherwise keep for faster production
usepackagetabularx,seqsplit, caption %for table spacing to second row
usepackagebooktabs, ragged2e % Use booktabs rules and get rid of vertical rules, ragged2e to ragged text
usepackagemakecell,siunitx %for table spacing to second row
usepackagethreeparttable %to add footnote below table
renewcommandTPTtagStyleitshape % optional
usepackagelipsum % for filler text
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmallbfseries % for bold in table using small
usepackagetabulary,siunitx
renewcommandtheadgape
usepackagegraphicx
usepackagetikz
usetikzlibrarydecorations.pathreplacing,calc, positioning,matrix,fit,calc, arrows.meta,
backgrounds,
chains
usepackagepgfplots
pgfplotssetcompat=1.15
begindocument
begintable[!ht]
begintablenotes
centering
small
item Hypothesis Test Summary
endtablenotes
centering
begintabularllrl
toprule
small textbfNull Hypothesis
& small textbfTest & small textbfSig.
& small textbfDecision\
midrule
The distribution of Classification \
Accuracy is the same across \
categories of Methods \
(1: KL; 2: FC; 3: SD) &
Independent \ Samples \ Kruskal-Wallis \ Test &
.000 &
Reject the \ null\ hypothesis \
bottomrule
endtabular
begintablenotes
small
item Asymptotic significances are displayed. The significance level is .05.
endtablenotes
endtable
enddocument
Suggested below
documentclass[12pt,oneside]book % Remove draft option to show figures (for final draft), otherwise keep for faster production
usepackagetabularx,seqsplit, caption %for table spacing to second row
usepackagebooktabs, ragged2e % Use booktabs rules and get rid of vertical rules, ragged2e to ragged text
usepackagemakecell,siunitx %for table spacing to second row
usepackagethreeparttable %to add footnote below table
renewcommandTPTtagStyleitshape % optional
usepackagelipsum % for filler text
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmallbfseries % for bold in table using small
usepackagetabulary,siunitx
renewcommandtheadgape
usepackagegraphicx
usepackagetikz
usetikzlibrarydecorations.pathreplacing,calc, positioning,matrix,fit,calc, arrows.meta,
backgrounds,
chains
usepackagepgfplots
pgfplotssetcompat=1.15
begindocument
begintable[!ht]
begintablenotes
centering
small
item Hypothesis Test Summary
endtablenotes
centering
begintabularllrl
begintabularllrl
toprule small textbfNull Hypothesis & small textbfTest & small textbfSig. & small textbfDecision\
midrule
begintabularlThe distribution of Classification \ Accuracy is the same across \ categories of Methods \ (1: KL; 2: FC; 3: SD) endtabular
&
begintabularl Independent \ Samples \ Kruskal-Wallis \ Test endtabular
& .000
&
begintabularl Reject the \ null\ hypothesis
endtabular \
bottomrule
endtabular
endtabular
begintablenotes
small
item Asymptotic significances are displayed. The significance level is .05.
endtablenotes
endtable
enddocument
tables tabularx siunitx
You can use tabular in tabular (this approach is close to your code) ... The way you have it, you break the line of the whole (outer) tabular... If you want line-breaks inside the cell ... place the whole cell in al
tabular ... and break there the lines of the inner tabular
– koleygr
Oct 2 at 14:53
@koleygr Could you give me an example, please? Could not understand the meaning of1
intabular
.
– aan
Oct 2 at 14:55
begintabularllrl toprule small textbfNull Hypothesis & small textbfTest & small textbfSig. & small textbfDecision\ midrule begintabularlThe distribution of Classification \ Accuracy is the same across \ categories of Methods \ (1: KL; 2: FC; 3: SD) endtabular&begintabularl Independent \ Samples \ Kruskal-Wallis \ Test endtabular & .000 & begintabularl Reject the \ null\ hypothesisendtabular \ bottomrule endtabular
– koleygr
Oct 2 at 15:03
1
@koleygr thanks. It works. However, I am not sure why there is an indent gap between the first row and the second row. I posted the picture above.
– aan
Oct 2 at 15:12
add a comment
|
I am not sure why my second row of sentences go to my first row.
I need to create a table (without colour) as below:
My MWE:
documentclass[12pt,oneside]book % Remove draft option to show figures (for final draft), otherwise keep for faster production
usepackagetabularx,seqsplit, caption %for table spacing to second row
usepackagebooktabs, ragged2e % Use booktabs rules and get rid of vertical rules, ragged2e to ragged text
usepackagemakecell,siunitx %for table spacing to second row
usepackagethreeparttable %to add footnote below table
renewcommandTPTtagStyleitshape % optional
usepackagelipsum % for filler text
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmallbfseries % for bold in table using small
usepackagetabulary,siunitx
renewcommandtheadgape
usepackagegraphicx
usepackagetikz
usetikzlibrarydecorations.pathreplacing,calc, positioning,matrix,fit,calc, arrows.meta,
backgrounds,
chains
usepackagepgfplots
pgfplotssetcompat=1.15
begindocument
begintable[!ht]
begintablenotes
centering
small
item Hypothesis Test Summary
endtablenotes
centering
begintabularllrl
toprule
small textbfNull Hypothesis
& small textbfTest & small textbfSig.
& small textbfDecision\
midrule
The distribution of Classification \
Accuracy is the same across \
categories of Methods \
(1: KL; 2: FC; 3: SD) &
Independent \ Samples \ Kruskal-Wallis \ Test &
.000 &
Reject the \ null\ hypothesis \
bottomrule
endtabular
begintablenotes
small
item Asymptotic significances are displayed. The significance level is .05.
endtablenotes
endtable
enddocument
Suggested below
documentclass[12pt,oneside]book % Remove draft option to show figures (for final draft), otherwise keep for faster production
usepackagetabularx,seqsplit, caption %for table spacing to second row
usepackagebooktabs, ragged2e % Use booktabs rules and get rid of vertical rules, ragged2e to ragged text
usepackagemakecell,siunitx %for table spacing to second row
usepackagethreeparttable %to add footnote below table
renewcommandTPTtagStyleitshape % optional
usepackagelipsum % for filler text
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmallbfseries % for bold in table using small
usepackagetabulary,siunitx
renewcommandtheadgape
usepackagegraphicx
usepackagetikz
usetikzlibrarydecorations.pathreplacing,calc, positioning,matrix,fit,calc, arrows.meta,
backgrounds,
chains
usepackagepgfplots
pgfplotssetcompat=1.15
begindocument
begintable[!ht]
begintablenotes
centering
small
item Hypothesis Test Summary
endtablenotes
centering
begintabularllrl
begintabularllrl
toprule small textbfNull Hypothesis & small textbfTest & small textbfSig. & small textbfDecision\
midrule
begintabularlThe distribution of Classification \ Accuracy is the same across \ categories of Methods \ (1: KL; 2: FC; 3: SD) endtabular
&
begintabularl Independent \ Samples \ Kruskal-Wallis \ Test endtabular
& .000
&
begintabularl Reject the \ null\ hypothesis
endtabular \
bottomrule
endtabular
endtabular
begintablenotes
small
item Asymptotic significances are displayed. The significance level is .05.
endtablenotes
endtable
enddocument
tables tabularx siunitx
I am not sure why my second row of sentences go to my first row.
I need to create a table (without colour) as below:
My MWE:
documentclass[12pt,oneside]book % Remove draft option to show figures (for final draft), otherwise keep for faster production
usepackagetabularx,seqsplit, caption %for table spacing to second row
usepackagebooktabs, ragged2e % Use booktabs rules and get rid of vertical rules, ragged2e to ragged text
usepackagemakecell,siunitx %for table spacing to second row
usepackagethreeparttable %to add footnote below table
renewcommandTPTtagStyleitshape % optional
usepackagelipsum % for filler text
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmallbfseries % for bold in table using small
usepackagetabulary,siunitx
renewcommandtheadgape
usepackagegraphicx
usepackagetikz
usetikzlibrarydecorations.pathreplacing,calc, positioning,matrix,fit,calc, arrows.meta,
backgrounds,
chains
usepackagepgfplots
pgfplotssetcompat=1.15
begindocument
begintable[!ht]
begintablenotes
centering
small
item Hypothesis Test Summary
endtablenotes
centering
begintabularllrl
toprule
small textbfNull Hypothesis
& small textbfTest & small textbfSig.
& small textbfDecision\
midrule
The distribution of Classification \
Accuracy is the same across \
categories of Methods \
(1: KL; 2: FC; 3: SD) &
Independent \ Samples \ Kruskal-Wallis \ Test &
.000 &
Reject the \ null\ hypothesis \
bottomrule
endtabular
begintablenotes
small
item Asymptotic significances are displayed. The significance level is .05.
endtablenotes
endtable
enddocument
Suggested below
documentclass[12pt,oneside]book % Remove draft option to show figures (for final draft), otherwise keep for faster production
usepackagetabularx,seqsplit, caption %for table spacing to second row
usepackagebooktabs, ragged2e % Use booktabs rules and get rid of vertical rules, ragged2e to ragged text
usepackagemakecell,siunitx %for table spacing to second row
usepackagethreeparttable %to add footnote below table
renewcommandTPTtagStyleitshape % optional
usepackagelipsum % for filler text
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmallbfseries % for bold in table using small
usepackagetabulary,siunitx
renewcommandtheadgape
usepackagegraphicx
usepackagetikz
usetikzlibrarydecorations.pathreplacing,calc, positioning,matrix,fit,calc, arrows.meta,
backgrounds,
chains
usepackagepgfplots
pgfplotssetcompat=1.15
begindocument
begintable[!ht]
begintablenotes
centering
small
item Hypothesis Test Summary
endtablenotes
centering
begintabularllrl
begintabularllrl
toprule small textbfNull Hypothesis & small textbfTest & small textbfSig. & small textbfDecision\
midrule
begintabularlThe distribution of Classification \ Accuracy is the same across \ categories of Methods \ (1: KL; 2: FC; 3: SD) endtabular
&
begintabularl Independent \ Samples \ Kruskal-Wallis \ Test endtabular
& .000
&
begintabularl Reject the \ null\ hypothesis
endtabular \
bottomrule
endtabular
endtabular
begintablenotes
small
item Asymptotic significances are displayed. The significance level is .05.
endtablenotes
endtable
enddocument
tables tabularx siunitx
tables tabularx siunitx
edited Oct 2 at 19:49
aan
asked Oct 2 at 14:50
aanaan
1,1962 silver badges10 bronze badges
1,1962 silver badges10 bronze badges
You can use tabular in tabular (this approach is close to your code) ... The way you have it, you break the line of the whole (outer) tabular... If you want line-breaks inside the cell ... place the whole cell in al
tabular ... and break there the lines of the inner tabular
– koleygr
Oct 2 at 14:53
@koleygr Could you give me an example, please? Could not understand the meaning of1
intabular
.
– aan
Oct 2 at 14:55
begintabularllrl toprule small textbfNull Hypothesis & small textbfTest & small textbfSig. & small textbfDecision\ midrule begintabularlThe distribution of Classification \ Accuracy is the same across \ categories of Methods \ (1: KL; 2: FC; 3: SD) endtabular&begintabularl Independent \ Samples \ Kruskal-Wallis \ Test endtabular & .000 & begintabularl Reject the \ null\ hypothesisendtabular \ bottomrule endtabular
– koleygr
Oct 2 at 15:03
1
@koleygr thanks. It works. However, I am not sure why there is an indent gap between the first row and the second row. I posted the picture above.
– aan
Oct 2 at 15:12
add a comment
|
You can use tabular in tabular (this approach is close to your code) ... The way you have it, you break the line of the whole (outer) tabular... If you want line-breaks inside the cell ... place the whole cell in al
tabular ... and break there the lines of the inner tabular
– koleygr
Oct 2 at 14:53
@koleygr Could you give me an example, please? Could not understand the meaning of1
intabular
.
– aan
Oct 2 at 14:55
begintabularllrl toprule small textbfNull Hypothesis & small textbfTest & small textbfSig. & small textbfDecision\ midrule begintabularlThe distribution of Classification \ Accuracy is the same across \ categories of Methods \ (1: KL; 2: FC; 3: SD) endtabular&begintabularl Independent \ Samples \ Kruskal-Wallis \ Test endtabular & .000 & begintabularl Reject the \ null\ hypothesisendtabular \ bottomrule endtabular
– koleygr
Oct 2 at 15:03
1
@koleygr thanks. It works. However, I am not sure why there is an indent gap between the first row and the second row. I posted the picture above.
– aan
Oct 2 at 15:12
You can use tabular in tabular (this approach is close to your code) ... The way you have it, you break the line of the whole (outer) tabular... If you want line-breaks inside the cell ... place the whole cell in a
l
tabular ... and break there the lines of the inner tabular– koleygr
Oct 2 at 14:53
You can use tabular in tabular (this approach is close to your code) ... The way you have it, you break the line of the whole (outer) tabular... If you want line-breaks inside the cell ... place the whole cell in a
l
tabular ... and break there the lines of the inner tabular– koleygr
Oct 2 at 14:53
@koleygr Could you give me an example, please? Could not understand the meaning of
1
in tabular
.– aan
Oct 2 at 14:55
@koleygr Could you give me an example, please? Could not understand the meaning of
1
in tabular
.– aan
Oct 2 at 14:55
begintabularllrl toprule small textbfNull Hypothesis & small textbfTest & small textbfSig. & small textbfDecision\ midrule begintabularlThe distribution of Classification \ Accuracy is the same across \ categories of Methods \ (1: KL; 2: FC; 3: SD) endtabular&begintabularl Independent \ Samples \ Kruskal-Wallis \ Test endtabular & .000 & begintabularl Reject the \ null\ hypothesisendtabular \ bottomrule endtabular
– koleygr
Oct 2 at 15:03
begintabularllrl toprule small textbfNull Hypothesis & small textbfTest & small textbfSig. & small textbfDecision\ midrule begintabularlThe distribution of Classification \ Accuracy is the same across \ categories of Methods \ (1: KL; 2: FC; 3: SD) endtabular&begintabularl Independent \ Samples \ Kruskal-Wallis \ Test endtabular & .000 & begintabularl Reject the \ null\ hypothesisendtabular \ bottomrule endtabular
– koleygr
Oct 2 at 15:03
1
1
@koleygr thanks. It works. However, I am not sure why there is an indent gap between the first row and the second row. I posted the picture above.
– aan
Oct 2 at 15:12
@koleygr thanks. It works. However, I am not sure why there is an indent gap between the first row and the second row. I posted the picture above.
– aan
Oct 2 at 15:12
add a comment
|
3 Answers
3
active
oldest
votes
Here's another tabularx
-based solution. It uses the L
column type for three of the four columns, while making it easy to specify unequal (relative) column widths. The only rule you need to keep in mind is that the sum of the relative column widths (here: 1.5+0.75+0.75=3) must be the same as the number of columns of type L
. In the following solution, the first column is set to be twice as wide as columns 2 and 4.
documentclass[12pt,oneside]book
usepackagetabularx,ragged2e,caption,booktabs
captionsetupskip=0.333baselineskip
newcolumntypeL[1]>RaggedRightarraybackslashhsize=#1hsizeX
begindocument
begintable
setlengthtabcolsep4pt % default: 6pt
caption*Hypothesis Test Summary
begintabularxtextwidth@L1.5L0.75lL0.75@
toprule
textbfNull Hypothesis & textbfTest & textbfSign. & textbfDecision\
midrule
The distribution of Classification Accuracy is the same across categories of methods (1:~KL; 2:~FC; 3:~SD) &
Independent-Samples Kruskal-Wallis Test &
0.000 &
Reject the null hypothesis \
bottomrule
endtabularx
smallskipfootnotesize
Asymptotic significance levels are displayed. The significance level is~.05.
endtable
enddocument
thanks. it works well. If I want the word being break nicely, for exampleClassifica-
toClassification
. rather than break the word
– aan
Oct 2 at 16:43
1
@aan - I'm afraid I don't understand what you mean by "If I want the word being break nicely, for exampleClassifica-
toClassification
". Do you maybe mean to say that you want to suppress hyphenation? If so, just changeRaggedRight
toraggedright
in the definition of theL
column type. Do be aware that if you suppress hyphenation, you'll be an extremely ragged looking right-hand edge of the text block.
– Mico
Oct 2 at 16:59
add a comment
|
I would use tabularx
table environment and left line braking to the L
column tape defined as newcolumntypeL>RaggedRightX
. For vertical centering of cells' contents I suggest to redefining X
column type: renewcommandtabularxcolumn[1]m#1
:
documentclass[12pt, oneside]book
usepackagecaption
usepackagebooktabs, makecell, tabularx, threeparttable
renewcommandtheadfontsmallbfseries
renewcommandtheadgape
newcolumntypeL>RaggedRightX
usepackageragged2e
usepackagesiunitx
usepackagepgfplots
pgfplotssetcompat=1.15
usetikzlibraryarrows.meta,
backgrounds,
calc, chains,
decorations.pathreplacing,
fit,
matrix,
positioning,
begindocument
begintable[!ht]
centering
small
renewcommandtabularxcolumn[1]m#1
begintabularxlinewidth@ >hsize=1.35hsizeLL S[table-format=1.2]
>hsize=0.65hsizeL @
toprule
theadNull Hypothesis & theadTest & theadSig. & theadDecision \
midrule
The distribution of Classification Accuracy is the same across categories of Methods (1: KL; 2: FC; 3: SD)
& Independent Samples Kruskal-Wallis Test
& 0.00 & Reject the null hypothesis \
bottomrule
endtabularx
begintablenotessmall
item Asymptotic significances are displayed. The significance level is .05.
endtablenotes
endtable
enddocument
addendum:
if you not like to have hyphenate words, that replace newcolumntypeL>RaggedRightX
with newcolumntypeL>raggedrightarraybackslashX
. After than you will obtain the following result:
thanks. it works well. If I want the word being break nicely, for exampleClassifi-
toClassification
. rather than break the word
– aan
Oct 2 at 16:17
2
@aan, if you not like to have hyphenate words in table, than you need to change definiton of column typeL
. See addendum in my answer.
– Zarko
Oct 2 at 16:53
add a comment
|
Here it the completed way of my comment (sorry for the gap -fixed here-)
documentclass[12pt,oneside]book % Remove draft option to show figures (for final draft), otherwise keep for faster production
usepackagetabularx,seqsplit, caption %for table spacing to second row
usepackagebooktabs, ragged2e % Use booktabs rules and get rid of vertical rules, ragged2e to ragged text
usepackagemakecell,siunitx %for table spacing to second row
usepackagethreeparttable %to add footnote below table
renewcommandTPTtagStyleitshape % optional
usepackagelipsum % for filler text
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmallbfseries % for bold in table using small
usepackagetabulary,siunitx
renewcommandtheadgape
begindocument
begintabularllrl toprule
small textbfNull Hypothesis & small textbfTest & small textbfSig. & small textbfDecision\ midrule begintabular@l@The distribution of Classification \ Accuracy is the same across \ categories of Methods \ (1: KL; 2: FC; 3: SD) endtabular&
begintabular@l@ Independent \ Samples \ Kruskal-Wallis \ Test endtabular & .000 &
begintabular@l@ Reject the \ null\ hypothesisendtabular \ bottomrule endtabular
enddocument
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/4.0/"u003ecc by-sa 4.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%2f510693%2ftable-alignment-issue%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
Here's another tabularx
-based solution. It uses the L
column type for three of the four columns, while making it easy to specify unequal (relative) column widths. The only rule you need to keep in mind is that the sum of the relative column widths (here: 1.5+0.75+0.75=3) must be the same as the number of columns of type L
. In the following solution, the first column is set to be twice as wide as columns 2 and 4.
documentclass[12pt,oneside]book
usepackagetabularx,ragged2e,caption,booktabs
captionsetupskip=0.333baselineskip
newcolumntypeL[1]>RaggedRightarraybackslashhsize=#1hsizeX
begindocument
begintable
setlengthtabcolsep4pt % default: 6pt
caption*Hypothesis Test Summary
begintabularxtextwidth@L1.5L0.75lL0.75@
toprule
textbfNull Hypothesis & textbfTest & textbfSign. & textbfDecision\
midrule
The distribution of Classification Accuracy is the same across categories of methods (1:~KL; 2:~FC; 3:~SD) &
Independent-Samples Kruskal-Wallis Test &
0.000 &
Reject the null hypothesis \
bottomrule
endtabularx
smallskipfootnotesize
Asymptotic significance levels are displayed. The significance level is~.05.
endtable
enddocument
thanks. it works well. If I want the word being break nicely, for exampleClassifica-
toClassification
. rather than break the word
– aan
Oct 2 at 16:43
1
@aan - I'm afraid I don't understand what you mean by "If I want the word being break nicely, for exampleClassifica-
toClassification
". Do you maybe mean to say that you want to suppress hyphenation? If so, just changeRaggedRight
toraggedright
in the definition of theL
column type. Do be aware that if you suppress hyphenation, you'll be an extremely ragged looking right-hand edge of the text block.
– Mico
Oct 2 at 16:59
add a comment
|
Here's another tabularx
-based solution. It uses the L
column type for three of the four columns, while making it easy to specify unequal (relative) column widths. The only rule you need to keep in mind is that the sum of the relative column widths (here: 1.5+0.75+0.75=3) must be the same as the number of columns of type L
. In the following solution, the first column is set to be twice as wide as columns 2 and 4.
documentclass[12pt,oneside]book
usepackagetabularx,ragged2e,caption,booktabs
captionsetupskip=0.333baselineskip
newcolumntypeL[1]>RaggedRightarraybackslashhsize=#1hsizeX
begindocument
begintable
setlengthtabcolsep4pt % default: 6pt
caption*Hypothesis Test Summary
begintabularxtextwidth@L1.5L0.75lL0.75@
toprule
textbfNull Hypothesis & textbfTest & textbfSign. & textbfDecision\
midrule
The distribution of Classification Accuracy is the same across categories of methods (1:~KL; 2:~FC; 3:~SD) &
Independent-Samples Kruskal-Wallis Test &
0.000 &
Reject the null hypothesis \
bottomrule
endtabularx
smallskipfootnotesize
Asymptotic significance levels are displayed. The significance level is~.05.
endtable
enddocument
thanks. it works well. If I want the word being break nicely, for exampleClassifica-
toClassification
. rather than break the word
– aan
Oct 2 at 16:43
1
@aan - I'm afraid I don't understand what you mean by "If I want the word being break nicely, for exampleClassifica-
toClassification
". Do you maybe mean to say that you want to suppress hyphenation? If so, just changeRaggedRight
toraggedright
in the definition of theL
column type. Do be aware that if you suppress hyphenation, you'll be an extremely ragged looking right-hand edge of the text block.
– Mico
Oct 2 at 16:59
add a comment
|
Here's another tabularx
-based solution. It uses the L
column type for three of the four columns, while making it easy to specify unequal (relative) column widths. The only rule you need to keep in mind is that the sum of the relative column widths (here: 1.5+0.75+0.75=3) must be the same as the number of columns of type L
. In the following solution, the first column is set to be twice as wide as columns 2 and 4.
documentclass[12pt,oneside]book
usepackagetabularx,ragged2e,caption,booktabs
captionsetupskip=0.333baselineskip
newcolumntypeL[1]>RaggedRightarraybackslashhsize=#1hsizeX
begindocument
begintable
setlengthtabcolsep4pt % default: 6pt
caption*Hypothesis Test Summary
begintabularxtextwidth@L1.5L0.75lL0.75@
toprule
textbfNull Hypothesis & textbfTest & textbfSign. & textbfDecision\
midrule
The distribution of Classification Accuracy is the same across categories of methods (1:~KL; 2:~FC; 3:~SD) &
Independent-Samples Kruskal-Wallis Test &
0.000 &
Reject the null hypothesis \
bottomrule
endtabularx
smallskipfootnotesize
Asymptotic significance levels are displayed. The significance level is~.05.
endtable
enddocument
Here's another tabularx
-based solution. It uses the L
column type for three of the four columns, while making it easy to specify unequal (relative) column widths. The only rule you need to keep in mind is that the sum of the relative column widths (here: 1.5+0.75+0.75=3) must be the same as the number of columns of type L
. In the following solution, the first column is set to be twice as wide as columns 2 and 4.
documentclass[12pt,oneside]book
usepackagetabularx,ragged2e,caption,booktabs
captionsetupskip=0.333baselineskip
newcolumntypeL[1]>RaggedRightarraybackslashhsize=#1hsizeX
begindocument
begintable
setlengthtabcolsep4pt % default: 6pt
caption*Hypothesis Test Summary
begintabularxtextwidth@L1.5L0.75lL0.75@
toprule
textbfNull Hypothesis & textbfTest & textbfSign. & textbfDecision\
midrule
The distribution of Classification Accuracy is the same across categories of methods (1:~KL; 2:~FC; 3:~SD) &
Independent-Samples Kruskal-Wallis Test &
0.000 &
Reject the null hypothesis \
bottomrule
endtabularx
smallskipfootnotesize
Asymptotic significance levels are displayed. The significance level is~.05.
endtable
enddocument
answered Oct 2 at 16:41
MicoMico
320k34 gold badges444 silver badges865 bronze badges
320k34 gold badges444 silver badges865 bronze badges
thanks. it works well. If I want the word being break nicely, for exampleClassifica-
toClassification
. rather than break the word
– aan
Oct 2 at 16:43
1
@aan - I'm afraid I don't understand what you mean by "If I want the word being break nicely, for exampleClassifica-
toClassification
". Do you maybe mean to say that you want to suppress hyphenation? If so, just changeRaggedRight
toraggedright
in the definition of theL
column type. Do be aware that if you suppress hyphenation, you'll be an extremely ragged looking right-hand edge of the text block.
– Mico
Oct 2 at 16:59
add a comment
|
thanks. it works well. If I want the word being break nicely, for exampleClassifica-
toClassification
. rather than break the word
– aan
Oct 2 at 16:43
1
@aan - I'm afraid I don't understand what you mean by "If I want the word being break nicely, for exampleClassifica-
toClassification
". Do you maybe mean to say that you want to suppress hyphenation? If so, just changeRaggedRight
toraggedright
in the definition of theL
column type. Do be aware that if you suppress hyphenation, you'll be an extremely ragged looking right-hand edge of the text block.
– Mico
Oct 2 at 16:59
thanks. it works well. If I want the word being break nicely, for example
Classifica-
to Classification
. rather than break the word– aan
Oct 2 at 16:43
thanks. it works well. If I want the word being break nicely, for example
Classifica-
to Classification
. rather than break the word– aan
Oct 2 at 16:43
1
1
@aan - I'm afraid I don't understand what you mean by "If I want the word being break nicely, for example
Classifica-
to Classification
". Do you maybe mean to say that you want to suppress hyphenation? If so, just change RaggedRight
to raggedright
in the definition of the L
column type. Do be aware that if you suppress hyphenation, you'll be an extremely ragged looking right-hand edge of the text block.– Mico
Oct 2 at 16:59
@aan - I'm afraid I don't understand what you mean by "If I want the word being break nicely, for example
Classifica-
to Classification
". Do you maybe mean to say that you want to suppress hyphenation? If so, just change RaggedRight
to raggedright
in the definition of the L
column type. Do be aware that if you suppress hyphenation, you'll be an extremely ragged looking right-hand edge of the text block.– Mico
Oct 2 at 16:59
add a comment
|
I would use tabularx
table environment and left line braking to the L
column tape defined as newcolumntypeL>RaggedRightX
. For vertical centering of cells' contents I suggest to redefining X
column type: renewcommandtabularxcolumn[1]m#1
:
documentclass[12pt, oneside]book
usepackagecaption
usepackagebooktabs, makecell, tabularx, threeparttable
renewcommandtheadfontsmallbfseries
renewcommandtheadgape
newcolumntypeL>RaggedRightX
usepackageragged2e
usepackagesiunitx
usepackagepgfplots
pgfplotssetcompat=1.15
usetikzlibraryarrows.meta,
backgrounds,
calc, chains,
decorations.pathreplacing,
fit,
matrix,
positioning,
begindocument
begintable[!ht]
centering
small
renewcommandtabularxcolumn[1]m#1
begintabularxlinewidth@ >hsize=1.35hsizeLL S[table-format=1.2]
>hsize=0.65hsizeL @
toprule
theadNull Hypothesis & theadTest & theadSig. & theadDecision \
midrule
The distribution of Classification Accuracy is the same across categories of Methods (1: KL; 2: FC; 3: SD)
& Independent Samples Kruskal-Wallis Test
& 0.00 & Reject the null hypothesis \
bottomrule
endtabularx
begintablenotessmall
item Asymptotic significances are displayed. The significance level is .05.
endtablenotes
endtable
enddocument
addendum:
if you not like to have hyphenate words, that replace newcolumntypeL>RaggedRightX
with newcolumntypeL>raggedrightarraybackslashX
. After than you will obtain the following result:
thanks. it works well. If I want the word being break nicely, for exampleClassifi-
toClassification
. rather than break the word
– aan
Oct 2 at 16:17
2
@aan, if you not like to have hyphenate words in table, than you need to change definiton of column typeL
. See addendum in my answer.
– Zarko
Oct 2 at 16:53
add a comment
|
I would use tabularx
table environment and left line braking to the L
column tape defined as newcolumntypeL>RaggedRightX
. For vertical centering of cells' contents I suggest to redefining X
column type: renewcommandtabularxcolumn[1]m#1
:
documentclass[12pt, oneside]book
usepackagecaption
usepackagebooktabs, makecell, tabularx, threeparttable
renewcommandtheadfontsmallbfseries
renewcommandtheadgape
newcolumntypeL>RaggedRightX
usepackageragged2e
usepackagesiunitx
usepackagepgfplots
pgfplotssetcompat=1.15
usetikzlibraryarrows.meta,
backgrounds,
calc, chains,
decorations.pathreplacing,
fit,
matrix,
positioning,
begindocument
begintable[!ht]
centering
small
renewcommandtabularxcolumn[1]m#1
begintabularxlinewidth@ >hsize=1.35hsizeLL S[table-format=1.2]
>hsize=0.65hsizeL @
toprule
theadNull Hypothesis & theadTest & theadSig. & theadDecision \
midrule
The distribution of Classification Accuracy is the same across categories of Methods (1: KL; 2: FC; 3: SD)
& Independent Samples Kruskal-Wallis Test
& 0.00 & Reject the null hypothesis \
bottomrule
endtabularx
begintablenotessmall
item Asymptotic significances are displayed. The significance level is .05.
endtablenotes
endtable
enddocument
addendum:
if you not like to have hyphenate words, that replace newcolumntypeL>RaggedRightX
with newcolumntypeL>raggedrightarraybackslashX
. After than you will obtain the following result:
thanks. it works well. If I want the word being break nicely, for exampleClassifi-
toClassification
. rather than break the word
– aan
Oct 2 at 16:17
2
@aan, if you not like to have hyphenate words in table, than you need to change definiton of column typeL
. See addendum in my answer.
– Zarko
Oct 2 at 16:53
add a comment
|
I would use tabularx
table environment and left line braking to the L
column tape defined as newcolumntypeL>RaggedRightX
. For vertical centering of cells' contents I suggest to redefining X
column type: renewcommandtabularxcolumn[1]m#1
:
documentclass[12pt, oneside]book
usepackagecaption
usepackagebooktabs, makecell, tabularx, threeparttable
renewcommandtheadfontsmallbfseries
renewcommandtheadgape
newcolumntypeL>RaggedRightX
usepackageragged2e
usepackagesiunitx
usepackagepgfplots
pgfplotssetcompat=1.15
usetikzlibraryarrows.meta,
backgrounds,
calc, chains,
decorations.pathreplacing,
fit,
matrix,
positioning,
begindocument
begintable[!ht]
centering
small
renewcommandtabularxcolumn[1]m#1
begintabularxlinewidth@ >hsize=1.35hsizeLL S[table-format=1.2]
>hsize=0.65hsizeL @
toprule
theadNull Hypothesis & theadTest & theadSig. & theadDecision \
midrule
The distribution of Classification Accuracy is the same across categories of Methods (1: KL; 2: FC; 3: SD)
& Independent Samples Kruskal-Wallis Test
& 0.00 & Reject the null hypothesis \
bottomrule
endtabularx
begintablenotessmall
item Asymptotic significances are displayed. The significance level is .05.
endtablenotes
endtable
enddocument
addendum:
if you not like to have hyphenate words, that replace newcolumntypeL>RaggedRightX
with newcolumntypeL>raggedrightarraybackslashX
. After than you will obtain the following result:
I would use tabularx
table environment and left line braking to the L
column tape defined as newcolumntypeL>RaggedRightX
. For vertical centering of cells' contents I suggest to redefining X
column type: renewcommandtabularxcolumn[1]m#1
:
documentclass[12pt, oneside]book
usepackagecaption
usepackagebooktabs, makecell, tabularx, threeparttable
renewcommandtheadfontsmallbfseries
renewcommandtheadgape
newcolumntypeL>RaggedRightX
usepackageragged2e
usepackagesiunitx
usepackagepgfplots
pgfplotssetcompat=1.15
usetikzlibraryarrows.meta,
backgrounds,
calc, chains,
decorations.pathreplacing,
fit,
matrix,
positioning,
begindocument
begintable[!ht]
centering
small
renewcommandtabularxcolumn[1]m#1
begintabularxlinewidth@ >hsize=1.35hsizeLL S[table-format=1.2]
>hsize=0.65hsizeL @
toprule
theadNull Hypothesis & theadTest & theadSig. & theadDecision \
midrule
The distribution of Classification Accuracy is the same across categories of Methods (1: KL; 2: FC; 3: SD)
& Independent Samples Kruskal-Wallis Test
& 0.00 & Reject the null hypothesis \
bottomrule
endtabularx
begintablenotessmall
item Asymptotic significances are displayed. The significance level is .05.
endtablenotes
endtable
enddocument
addendum:
if you not like to have hyphenate words, that replace newcolumntypeL>RaggedRightX
with newcolumntypeL>raggedrightarraybackslashX
. After than you will obtain the following result:
edited Oct 2 at 16:57
answered Oct 2 at 16:09
ZarkoZarko
157k9 gold badges88 silver badges203 bronze badges
157k9 gold badges88 silver badges203 bronze badges
thanks. it works well. If I want the word being break nicely, for exampleClassifi-
toClassification
. rather than break the word
– aan
Oct 2 at 16:17
2
@aan, if you not like to have hyphenate words in table, than you need to change definiton of column typeL
. See addendum in my answer.
– Zarko
Oct 2 at 16:53
add a comment
|
thanks. it works well. If I want the word being break nicely, for exampleClassifi-
toClassification
. rather than break the word
– aan
Oct 2 at 16:17
2
@aan, if you not like to have hyphenate words in table, than you need to change definiton of column typeL
. See addendum in my answer.
– Zarko
Oct 2 at 16:53
thanks. it works well. If I want the word being break nicely, for example
Classifi-
to Classification
. rather than break the word– aan
Oct 2 at 16:17
thanks. it works well. If I want the word being break nicely, for example
Classifi-
to Classification
. rather than break the word– aan
Oct 2 at 16:17
2
2
@aan, if you not like to have hyphenate words in table, than you need to change definiton of column type
L
. See addendum in my answer.– Zarko
Oct 2 at 16:53
@aan, if you not like to have hyphenate words in table, than you need to change definiton of column type
L
. See addendum in my answer.– Zarko
Oct 2 at 16:53
add a comment
|
Here it the completed way of my comment (sorry for the gap -fixed here-)
documentclass[12pt,oneside]book % Remove draft option to show figures (for final draft), otherwise keep for faster production
usepackagetabularx,seqsplit, caption %for table spacing to second row
usepackagebooktabs, ragged2e % Use booktabs rules and get rid of vertical rules, ragged2e to ragged text
usepackagemakecell,siunitx %for table spacing to second row
usepackagethreeparttable %to add footnote below table
renewcommandTPTtagStyleitshape % optional
usepackagelipsum % for filler text
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmallbfseries % for bold in table using small
usepackagetabulary,siunitx
renewcommandtheadgape
begindocument
begintabularllrl toprule
small textbfNull Hypothesis & small textbfTest & small textbfSig. & small textbfDecision\ midrule begintabular@l@The distribution of Classification \ Accuracy is the same across \ categories of Methods \ (1: KL; 2: FC; 3: SD) endtabular&
begintabular@l@ Independent \ Samples \ Kruskal-Wallis \ Test endtabular & .000 &
begintabular@l@ Reject the \ null\ hypothesisendtabular \ bottomrule endtabular
enddocument
add a comment
|
Here it the completed way of my comment (sorry for the gap -fixed here-)
documentclass[12pt,oneside]book % Remove draft option to show figures (for final draft), otherwise keep for faster production
usepackagetabularx,seqsplit, caption %for table spacing to second row
usepackagebooktabs, ragged2e % Use booktabs rules and get rid of vertical rules, ragged2e to ragged text
usepackagemakecell,siunitx %for table spacing to second row
usepackagethreeparttable %to add footnote below table
renewcommandTPTtagStyleitshape % optional
usepackagelipsum % for filler text
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmallbfseries % for bold in table using small
usepackagetabulary,siunitx
renewcommandtheadgape
begindocument
begintabularllrl toprule
small textbfNull Hypothesis & small textbfTest & small textbfSig. & small textbfDecision\ midrule begintabular@l@The distribution of Classification \ Accuracy is the same across \ categories of Methods \ (1: KL; 2: FC; 3: SD) endtabular&
begintabular@l@ Independent \ Samples \ Kruskal-Wallis \ Test endtabular & .000 &
begintabular@l@ Reject the \ null\ hypothesisendtabular \ bottomrule endtabular
enddocument
add a comment
|
Here it the completed way of my comment (sorry for the gap -fixed here-)
documentclass[12pt,oneside]book % Remove draft option to show figures (for final draft), otherwise keep for faster production
usepackagetabularx,seqsplit, caption %for table spacing to second row
usepackagebooktabs, ragged2e % Use booktabs rules and get rid of vertical rules, ragged2e to ragged text
usepackagemakecell,siunitx %for table spacing to second row
usepackagethreeparttable %to add footnote below table
renewcommandTPTtagStyleitshape % optional
usepackagelipsum % for filler text
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmallbfseries % for bold in table using small
usepackagetabulary,siunitx
renewcommandtheadgape
begindocument
begintabularllrl toprule
small textbfNull Hypothesis & small textbfTest & small textbfSig. & small textbfDecision\ midrule begintabular@l@The distribution of Classification \ Accuracy is the same across \ categories of Methods \ (1: KL; 2: FC; 3: SD) endtabular&
begintabular@l@ Independent \ Samples \ Kruskal-Wallis \ Test endtabular & .000 &
begintabular@l@ Reject the \ null\ hypothesisendtabular \ bottomrule endtabular
enddocument
Here it the completed way of my comment (sorry for the gap -fixed here-)
documentclass[12pt,oneside]book % Remove draft option to show figures (for final draft), otherwise keep for faster production
usepackagetabularx,seqsplit, caption %for table spacing to second row
usepackagebooktabs, ragged2e % Use booktabs rules and get rid of vertical rules, ragged2e to ragged text
usepackagemakecell,siunitx %for table spacing to second row
usepackagethreeparttable %to add footnote below table
renewcommandTPTtagStyleitshape % optional
usepackagelipsum % for filler text
usepackagemakecell % for bold in table using small
renewcommandtheadfontsmallbfseries % for bold in table using small
usepackagetabulary,siunitx
renewcommandtheadgape
begindocument
begintabularllrl toprule
small textbfNull Hypothesis & small textbfTest & small textbfSig. & small textbfDecision\ midrule begintabular@l@The distribution of Classification \ Accuracy is the same across \ categories of Methods \ (1: KL; 2: FC; 3: SD) endtabular&
begintabular@l@ Independent \ Samples \ Kruskal-Wallis \ Test endtabular & .000 &
begintabular@l@ Reject the \ null\ hypothesisendtabular \ bottomrule endtabular
enddocument
answered Oct 2 at 15:14
koleygrkoleygr
16.3k1 gold badge12 silver badges44 bronze badges
16.3k1 gold badge12 silver badges44 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%2f510693%2ftable-alignment-issue%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
You can use tabular in tabular (this approach is close to your code) ... The way you have it, you break the line of the whole (outer) tabular... If you want line-breaks inside the cell ... place the whole cell in a
l
tabular ... and break there the lines of the inner tabular– koleygr
Oct 2 at 14:53
@koleygr Could you give me an example, please? Could not understand the meaning of
1
intabular
.– aan
Oct 2 at 14:55
begintabularllrl toprule small textbfNull Hypothesis & small textbfTest & small textbfSig. & small textbfDecision\ midrule begintabularlThe distribution of Classification \ Accuracy is the same across \ categories of Methods \ (1: KL; 2: FC; 3: SD) endtabular&begintabularl Independent \ Samples \ Kruskal-Wallis \ Test endtabular & .000 & begintabularl Reject the \ null\ hypothesisendtabular \ bottomrule endtabular
– koleygr
Oct 2 at 15:03
1
@koleygr thanks. It works. However, I am not sure why there is an indent gap between the first row and the second row. I posted the picture above.
– aan
Oct 2 at 15:12