tabularx column has extra padding at right? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraColor lines tabularx add padding?Extra horizontal lines in tabularx packageExtra blank lines in tabularxVertical padding in tabularx cells without using tabular or tabletabularx with different column widthsLaTeX3: clist_gpop has extra pop in tabularxtabularx environment error: “Argument of @argarraycr has an extra }” when starting with bracketTabularx and hsize column tuningTabularx remove extra padding before rowtabularx fill on certain column
Is it acceptable to use working hours to read general interest books?
What's the difference between using dependency injection with a container and using a service locator?
What’s with the clanks in Endgame?
finding a tangent line to a parabola
Could Neutrino technically as side-effect, incentivize centralization of the bitcoin network?
Expansion//Explosion and Siren Stormtamer
Are these square matrices always diagonalisable?
Trumpet valves, lengths, and pitch
What to do with someone that cheated their way through university and a PhD program?
Passing args from the bash script to the function in the script
How would this chord from "Rocket Man" be analyzed?
Israeli soda type drink
Is a 5 watt UHF/VHF handheld considered QRP?
What is the term for a person whose job is to place products on shelves in stores?
Justification for leaving new position after a short time
How to avoid introduction cliches
What is it called when you ride around on your front wheel?
Is it OK if I do not take the receipt in Germany?
Protagonist's race is hidden - should I reveal it?
Did the Roman Empire have penal colonies?
What is a 'Key' in computer science?
Prove the alternating sum of a decreasing sequence converging to 0 is Cauchy.
Will I lose my paid in full property
c++ diamond problem - How to call base method only once
tabularx column has extra padding at right?
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraColor lines tabularx add padding?Extra horizontal lines in tabularx packageExtra blank lines in tabularxVertical padding in tabularx cells without using tabular or tabletabularx with different column widthsLaTeX3: clist_gpop has extra pop in tabularxtabularx environment error: “Argument of @argarraycr has an extra }” when starting with bracketTabularx and hsize column tuningTabularx remove extra padding before rowtabularx fill on certain column
documentclass[]article
usepackagetabularx
newcolumntypeh>hsize=.5hsizeX % half width of X
begindocument
begintable
begintabularxlinewidth X
hline
Ontologies &
Details &
Limitations\
hline
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments parameters.
newlinenewline
Availability:
Schemas and data are online. Each schema has one or two examples modelling Services from Amazon. One exception is textbfccdm which has 6 examples of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options, like cost of OS to be installed on the VM, network data transfer cost differed by destination and usage, snapshot storage costs and etc. textbfccinstances does not allow unit to be specified in data, has to be fixed for each property.
\
hline
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
tabularx width
add a comment |
documentclass[]article
usepackagetabularx
newcolumntypeh>hsize=.5hsizeX % half width of X
begindocument
begintable
begintabularxlinewidth X
hline
Ontologies &
Details &
Limitations\
hline
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments parameters.
newlinenewline
Availability:
Schemas and data are online. Each schema has one or two examples modelling Services from Amazon. One exception is textbfccdm which has 6 examples of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options, like cost of OS to be installed on the VM, network data transfer cost differed by destination and usage, snapshot storage costs and etc. textbfccinstances does not allow unit to be specified in data, has to be fixed for each property.
\
hline
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
tabularx width
add a comment |
documentclass[]article
usepackagetabularx
newcolumntypeh>hsize=.5hsizeX % half width of X
begindocument
begintable
begintabularxlinewidth X
hline
Ontologies &
Details &
Limitations\
hline
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments parameters.
newlinenewline
Availability:
Schemas and data are online. Each schema has one or two examples modelling Services from Amazon. One exception is textbfccdm which has 6 examples of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options, like cost of OS to be installed on the VM, network data transfer cost differed by destination and usage, snapshot storage costs and etc. textbfccinstances does not allow unit to be specified in data, has to be fixed for each property.
\
hline
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
tabularx width
documentclass[]article
usepackagetabularx
newcolumntypeh>hsize=.5hsizeX % half width of X
begindocument
begintable
begintabularxlinewidth X
hline
Ontologies &
Details &
Limitations\
hline
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments parameters.
newlinenewline
Availability:
Schemas and data are online. Each schema has one or two examples modelling Services from Amazon. One exception is textbfccdm which has 6 examples of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options, like cost of OS to be installed on the VM, network data transfer cost differed by destination and usage, snapshot storage costs and etc. textbfccinstances does not allow unit to be specified in data, has to be fixed for each property.
\
hline
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
tabularx width
tabularx width
asked 2 days ago
MirandaMiranda
1857
1857
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
If you want that the first column is half of the other two, you need that the sum of the fractions is 3, so the first column should be set at 3/5, and the other two at 6/5.
documentclass[]article
usepackagetabularx,booktabs
newcolumntypeY[1]>hsize=#1hsizeX
begindocument
begintable
begintabularxlinewidth@ >raggedrightY0.6 Y1.2 Y1.2 @
toprule
Ontologies & Details & Limitations\
midrule
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,
textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments
parameters.
bigskip
Availability:
Schemas and data are online. Each schema has one or two examples modelling
Services from Amazon. One exception is textbfccdm which has 6 examples
of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options,
like cost of OS to be installed on the VM, network data transfer cost differed
by destination and usage, snapshot storage costs and etc. textbfccinstances
does not allow unit to be specified in data, has to be fixed for each property.
\
bottomrule
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
I added booktabs
rules, that have more room around them, and typeset the first column ragged right.
As an alternative, after seeing that dmcc-schema
gets broken, set the width accordingly.
documentclass[]article
usepackagetabularx,booktabs
newlengthmytabwidth
begindocument
begintable
settowidthmytabwidthtextbfdmcc-schema,
begintabularxlinewidth@ >raggedrightpmytabwidth X X @
toprule
Ontologies & Details & Limitations\
midrule
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,
textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments
parameters.
bigskip
Availability:
Schemas and data are online. Each schema has one or two examples modelling
Services from Amazon. One exception is textbfccdm which has 6 examples
of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options,
like cost of OS to be installed on the VM, network data transfer cost differed
by destination and usage, snapshot storage costs and etc. textbfccinstances
does not allow unit to be specified in data, has to be fixed for each property.
\
bottomrule
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
add a comment |
From the tabularx
documentation:
Make sure that the sum of the widths of all the
X
columns is unchanged.[...]
You will therefore have to change from X
column to >hsize=.5hsizeX
for the second and third column (as 1.25+1.25+0.5=3
with a total number of 3 X
type columns)
documentclass[]article
usepackagetabularx
newcolumntypeh>hsize=.5hsizeX % half width of X
begindocument
begintable
begintabularxlinewidth >hsize=.5hsizeX
hline
Ontologies &
Details &
Limitations\
hline
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments parameters.
newlinenewline
Availability:
Schemas and data are online. Each schema has one or two examples modelling Services from Amazon. One exception is textbfccdm which has 6 examples of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options, like cost of OS to be installed on the VM, network data transfer cost differed by destination and usage, snapshot storage costs and etc. textbfccinstances does not allow unit to be specified in data, has to be fixed for each property.
\
hline
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
Thank you, but egreg's answer is just so elegant, and fixed problems that I didn't know exist.
– Miranda
2 days ago
add a comment |
From The LaTeX Companion
Normally, all
X
columns in a single table are set to the same width.
It is nevertheless possible to maketabularx
set them to different
widths. A preamble like the following
>setlengthhsize.5hsizeX>setlengthhsize1.5hsizeX}
specifies two columns; the second column will be three times as wide as
the first. However, when using this method two rules should be obeyed:
- The sum of the widths of all X columns should remain unchanged. In
the above example, the new widths should add up to the width of two
standard X columns.
- Any multicolumn entries that cross any X column should not be used.
Thus, the total summation of all factors attached to hsize
must stay equal to the number of columns. In your case, you have 3 columns. Since column h
is 0.5hsize
, the other two must add to 3 (total number of columns) - 0.5 = 2.5
. Dividing 2.5 over two gives us 1.25. Thus, the size for the other two columns should be hsize=1.25hsize
documentclass[]article
usepackagetabularx
newcolumntypeh>hsize=.5hsizeX % half width of X
begindocument
begintable
begintabularxlinewidth h
hline
Ontologies &
Details &
Limitations\
hline
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments parameters.
newlinenewline
Availability:
Schemas and data are online. Each schema has one or two examples modelling Services from Amazon. One exception is textbfccdm which has 6 examples of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options, like cost of OS to be installed on the VM, network data transfer cost differed by destination and usage, snapshot storage costs and etc. textbfccinstances does not allow unit to be specified in data, has to be fixed for each property.
\
hline
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
Thank you too, I only saw your answer after I accepted the first answer then refreshed the page.
– Miranda
2 days ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f486059%2ftabularx-column-has-extra-padding-at-right%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
If you want that the first column is half of the other two, you need that the sum of the fractions is 3, so the first column should be set at 3/5, and the other two at 6/5.
documentclass[]article
usepackagetabularx,booktabs
newcolumntypeY[1]>hsize=#1hsizeX
begindocument
begintable
begintabularxlinewidth@ >raggedrightY0.6 Y1.2 Y1.2 @
toprule
Ontologies & Details & Limitations\
midrule
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,
textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments
parameters.
bigskip
Availability:
Schemas and data are online. Each schema has one or two examples modelling
Services from Amazon. One exception is textbfccdm which has 6 examples
of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options,
like cost of OS to be installed on the VM, network data transfer cost differed
by destination and usage, snapshot storage costs and etc. textbfccinstances
does not allow unit to be specified in data, has to be fixed for each property.
\
bottomrule
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
I added booktabs
rules, that have more room around them, and typeset the first column ragged right.
As an alternative, after seeing that dmcc-schema
gets broken, set the width accordingly.
documentclass[]article
usepackagetabularx,booktabs
newlengthmytabwidth
begindocument
begintable
settowidthmytabwidthtextbfdmcc-schema,
begintabularxlinewidth@ >raggedrightpmytabwidth X X @
toprule
Ontologies & Details & Limitations\
midrule
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,
textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments
parameters.
bigskip
Availability:
Schemas and data are online. Each schema has one or two examples modelling
Services from Amazon. One exception is textbfccdm which has 6 examples
of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options,
like cost of OS to be installed on the VM, network data transfer cost differed
by destination and usage, snapshot storage costs and etc. textbfccinstances
does not allow unit to be specified in data, has to be fixed for each property.
\
bottomrule
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
add a comment |
If you want that the first column is half of the other two, you need that the sum of the fractions is 3, so the first column should be set at 3/5, and the other two at 6/5.
documentclass[]article
usepackagetabularx,booktabs
newcolumntypeY[1]>hsize=#1hsizeX
begindocument
begintable
begintabularxlinewidth@ >raggedrightY0.6 Y1.2 Y1.2 @
toprule
Ontologies & Details & Limitations\
midrule
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,
textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments
parameters.
bigskip
Availability:
Schemas and data are online. Each schema has one or two examples modelling
Services from Amazon. One exception is textbfccdm which has 6 examples
of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options,
like cost of OS to be installed on the VM, network data transfer cost differed
by destination and usage, snapshot storage costs and etc. textbfccinstances
does not allow unit to be specified in data, has to be fixed for each property.
\
bottomrule
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
I added booktabs
rules, that have more room around them, and typeset the first column ragged right.
As an alternative, after seeing that dmcc-schema
gets broken, set the width accordingly.
documentclass[]article
usepackagetabularx,booktabs
newlengthmytabwidth
begindocument
begintable
settowidthmytabwidthtextbfdmcc-schema,
begintabularxlinewidth@ >raggedrightpmytabwidth X X @
toprule
Ontologies & Details & Limitations\
midrule
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,
textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments
parameters.
bigskip
Availability:
Schemas and data are online. Each schema has one or two examples modelling
Services from Amazon. One exception is textbfccdm which has 6 examples
of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options,
like cost of OS to be installed on the VM, network data transfer cost differed
by destination and usage, snapshot storage costs and etc. textbfccinstances
does not allow unit to be specified in data, has to be fixed for each property.
\
bottomrule
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
add a comment |
If you want that the first column is half of the other two, you need that the sum of the fractions is 3, so the first column should be set at 3/5, and the other two at 6/5.
documentclass[]article
usepackagetabularx,booktabs
newcolumntypeY[1]>hsize=#1hsizeX
begindocument
begintable
begintabularxlinewidth@ >raggedrightY0.6 Y1.2 Y1.2 @
toprule
Ontologies & Details & Limitations\
midrule
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,
textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments
parameters.
bigskip
Availability:
Schemas and data are online. Each schema has one or two examples modelling
Services from Amazon. One exception is textbfccdm which has 6 examples
of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options,
like cost of OS to be installed on the VM, network data transfer cost differed
by destination and usage, snapshot storage costs and etc. textbfccinstances
does not allow unit to be specified in data, has to be fixed for each property.
\
bottomrule
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
I added booktabs
rules, that have more room around them, and typeset the first column ragged right.
As an alternative, after seeing that dmcc-schema
gets broken, set the width accordingly.
documentclass[]article
usepackagetabularx,booktabs
newlengthmytabwidth
begindocument
begintable
settowidthmytabwidthtextbfdmcc-schema,
begintabularxlinewidth@ >raggedrightpmytabwidth X X @
toprule
Ontologies & Details & Limitations\
midrule
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,
textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments
parameters.
bigskip
Availability:
Schemas and data are online. Each schema has one or two examples modelling
Services from Amazon. One exception is textbfccdm which has 6 examples
of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options,
like cost of OS to be installed on the VM, network data transfer cost differed
by destination and usage, snapshot storage costs and etc. textbfccinstances
does not allow unit to be specified in data, has to be fixed for each property.
\
bottomrule
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
If you want that the first column is half of the other two, you need that the sum of the fractions is 3, so the first column should be set at 3/5, and the other two at 6/5.
documentclass[]article
usepackagetabularx,booktabs
newcolumntypeY[1]>hsize=#1hsizeX
begindocument
begintable
begintabularxlinewidth@ >raggedrightY0.6 Y1.2 Y1.2 @
toprule
Ontologies & Details & Limitations\
midrule
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,
textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments
parameters.
bigskip
Availability:
Schemas and data are online. Each schema has one or two examples modelling
Services from Amazon. One exception is textbfccdm which has 6 examples
of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options,
like cost of OS to be installed on the VM, network data transfer cost differed
by destination and usage, snapshot storage costs and etc. textbfccinstances
does not allow unit to be specified in data, has to be fixed for each property.
\
bottomrule
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
I added booktabs
rules, that have more room around them, and typeset the first column ragged right.
As an alternative, after seeing that dmcc-schema
gets broken, set the width accordingly.
documentclass[]article
usepackagetabularx,booktabs
newlengthmytabwidth
begindocument
begintable
settowidthmytabwidthtextbfdmcc-schema,
begintabularxlinewidth@ >raggedrightpmytabwidth X X @
toprule
Ontologies & Details & Limitations\
midrule
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,
textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments
parameters.
bigskip
Availability:
Schemas and data are online. Each schema has one or two examples modelling
Services from Amazon. One exception is textbfccdm which has 6 examples
of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options,
like cost of OS to be installed on the VM, network data transfer cost differed
by destination and usage, snapshot storage costs and etc. textbfccinstances
does not allow unit to be specified in data, has to be fixed for each property.
\
bottomrule
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
answered 2 days ago
egregegreg
736k8919353262
736k8919353262
add a comment |
add a comment |
From the tabularx
documentation:
Make sure that the sum of the widths of all the
X
columns is unchanged.[...]
You will therefore have to change from X
column to >hsize=.5hsizeX
for the second and third column (as 1.25+1.25+0.5=3
with a total number of 3 X
type columns)
documentclass[]article
usepackagetabularx
newcolumntypeh>hsize=.5hsizeX % half width of X
begindocument
begintable
begintabularxlinewidth >hsize=.5hsizeX
hline
Ontologies &
Details &
Limitations\
hline
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments parameters.
newlinenewline
Availability:
Schemas and data are online. Each schema has one or two examples modelling Services from Amazon. One exception is textbfccdm which has 6 examples of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options, like cost of OS to be installed on the VM, network data transfer cost differed by destination and usage, snapshot storage costs and etc. textbfccinstances does not allow unit to be specified in data, has to be fixed for each property.
\
hline
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
Thank you, but egreg's answer is just so elegant, and fixed problems that I didn't know exist.
– Miranda
2 days ago
add a comment |
From the tabularx
documentation:
Make sure that the sum of the widths of all the
X
columns is unchanged.[...]
You will therefore have to change from X
column to >hsize=.5hsizeX
for the second and third column (as 1.25+1.25+0.5=3
with a total number of 3 X
type columns)
documentclass[]article
usepackagetabularx
newcolumntypeh>hsize=.5hsizeX % half width of X
begindocument
begintable
begintabularxlinewidth >hsize=.5hsizeX
hline
Ontologies &
Details &
Limitations\
hline
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments parameters.
newlinenewline
Availability:
Schemas and data are online. Each schema has one or two examples modelling Services from Amazon. One exception is textbfccdm which has 6 examples of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options, like cost of OS to be installed on the VM, network data transfer cost differed by destination and usage, snapshot storage costs and etc. textbfccinstances does not allow unit to be specified in data, has to be fixed for each property.
\
hline
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
Thank you, but egreg's answer is just so elegant, and fixed problems that I didn't know exist.
– Miranda
2 days ago
add a comment |
From the tabularx
documentation:
Make sure that the sum of the widths of all the
X
columns is unchanged.[...]
You will therefore have to change from X
column to >hsize=.5hsizeX
for the second and third column (as 1.25+1.25+0.5=3
with a total number of 3 X
type columns)
documentclass[]article
usepackagetabularx
newcolumntypeh>hsize=.5hsizeX % half width of X
begindocument
begintable
begintabularxlinewidth >hsize=.5hsizeX
hline
Ontologies &
Details &
Limitations\
hline
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments parameters.
newlinenewline
Availability:
Schemas and data are online. Each schema has one or two examples modelling Services from Amazon. One exception is textbfccdm which has 6 examples of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options, like cost of OS to be installed on the VM, network data transfer cost differed by destination and usage, snapshot storage costs and etc. textbfccinstances does not allow unit to be specified in data, has to be fixed for each property.
\
hline
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
From the tabularx
documentation:
Make sure that the sum of the widths of all the
X
columns is unchanged.[...]
You will therefore have to change from X
column to >hsize=.5hsizeX
for the second and third column (as 1.25+1.25+0.5=3
with a total number of 3 X
type columns)
documentclass[]article
usepackagetabularx
newcolumntypeh>hsize=.5hsizeX % half width of X
begindocument
begintable
begintabularxlinewidth >hsize=.5hsizeX
hline
Ontologies &
Details &
Limitations\
hline
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments parameters.
newlinenewline
Availability:
Schemas and data are online. Each schema has one or two examples modelling Services from Amazon. One exception is textbfccdm which has 6 examples of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options, like cost of OS to be installed on the VM, network data transfer cost differed by destination and usage, snapshot storage costs and etc. textbfccinstances does not allow unit to be specified in data, has to be fixed for each property.
\
hline
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
answered 2 days ago
leandriisleandriis
11.9k1733
11.9k1733
Thank you, but egreg's answer is just so elegant, and fixed problems that I didn't know exist.
– Miranda
2 days ago
add a comment |
Thank you, but egreg's answer is just so elegant, and fixed problems that I didn't know exist.
– Miranda
2 days ago
Thank you, but egreg's answer is just so elegant, and fixed problems that I didn't know exist.
– Miranda
2 days ago
Thank you, but egreg's answer is just so elegant, and fixed problems that I didn't know exist.
– Miranda
2 days ago
add a comment |
From The LaTeX Companion
Normally, all
X
columns in a single table are set to the same width.
It is nevertheless possible to maketabularx
set them to different
widths. A preamble like the following
>setlengthhsize.5hsizeX>setlengthhsize1.5hsizeX}
specifies two columns; the second column will be three times as wide as
the first. However, when using this method two rules should be obeyed:
- The sum of the widths of all X columns should remain unchanged. In
the above example, the new widths should add up to the width of two
standard X columns.
- Any multicolumn entries that cross any X column should not be used.
Thus, the total summation of all factors attached to hsize
must stay equal to the number of columns. In your case, you have 3 columns. Since column h
is 0.5hsize
, the other two must add to 3 (total number of columns) - 0.5 = 2.5
. Dividing 2.5 over two gives us 1.25. Thus, the size for the other two columns should be hsize=1.25hsize
documentclass[]article
usepackagetabularx
newcolumntypeh>hsize=.5hsizeX % half width of X
begindocument
begintable
begintabularxlinewidth h
hline
Ontologies &
Details &
Limitations\
hline
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments parameters.
newlinenewline
Availability:
Schemas and data are online. Each schema has one or two examples modelling Services from Amazon. One exception is textbfccdm which has 6 examples of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options, like cost of OS to be installed on the VM, network data transfer cost differed by destination and usage, snapshot storage costs and etc. textbfccinstances does not allow unit to be specified in data, has to be fixed for each property.
\
hline
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
Thank you too, I only saw your answer after I accepted the first answer then refreshed the page.
– Miranda
2 days ago
add a comment |
From The LaTeX Companion
Normally, all
X
columns in a single table are set to the same width.
It is nevertheless possible to maketabularx
set them to different
widths. A preamble like the following
>setlengthhsize.5hsizeX>setlengthhsize1.5hsizeX}
specifies two columns; the second column will be three times as wide as
the first. However, when using this method two rules should be obeyed:
- The sum of the widths of all X columns should remain unchanged. In
the above example, the new widths should add up to the width of two
standard X columns.
- Any multicolumn entries that cross any X column should not be used.
Thus, the total summation of all factors attached to hsize
must stay equal to the number of columns. In your case, you have 3 columns. Since column h
is 0.5hsize
, the other two must add to 3 (total number of columns) - 0.5 = 2.5
. Dividing 2.5 over two gives us 1.25. Thus, the size for the other two columns should be hsize=1.25hsize
documentclass[]article
usepackagetabularx
newcolumntypeh>hsize=.5hsizeX % half width of X
begindocument
begintable
begintabularxlinewidth h
hline
Ontologies &
Details &
Limitations\
hline
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments parameters.
newlinenewline
Availability:
Schemas and data are online. Each schema has one or two examples modelling Services from Amazon. One exception is textbfccdm which has 6 examples of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options, like cost of OS to be installed on the VM, network data transfer cost differed by destination and usage, snapshot storage costs and etc. textbfccinstances does not allow unit to be specified in data, has to be fixed for each property.
\
hline
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
Thank you too, I only saw your answer after I accepted the first answer then refreshed the page.
– Miranda
2 days ago
add a comment |
From The LaTeX Companion
Normally, all
X
columns in a single table are set to the same width.
It is nevertheless possible to maketabularx
set them to different
widths. A preamble like the following
>setlengthhsize.5hsizeX>setlengthhsize1.5hsizeX}
specifies two columns; the second column will be three times as wide as
the first. However, when using this method two rules should be obeyed:
- The sum of the widths of all X columns should remain unchanged. In
the above example, the new widths should add up to the width of two
standard X columns.
- Any multicolumn entries that cross any X column should not be used.
Thus, the total summation of all factors attached to hsize
must stay equal to the number of columns. In your case, you have 3 columns. Since column h
is 0.5hsize
, the other two must add to 3 (total number of columns) - 0.5 = 2.5
. Dividing 2.5 over two gives us 1.25. Thus, the size for the other two columns should be hsize=1.25hsize
documentclass[]article
usepackagetabularx
newcolumntypeh>hsize=.5hsizeX % half width of X
begindocument
begintable
begintabularxlinewidth h
hline
Ontologies &
Details &
Limitations\
hline
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments parameters.
newlinenewline
Availability:
Schemas and data are online. Each schema has one or two examples modelling Services from Amazon. One exception is textbfccdm which has 6 examples of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options, like cost of OS to be installed on the VM, network data transfer cost differed by destination and usage, snapshot storage costs and etc. textbfccinstances does not allow unit to be specified in data, has to be fixed for each property.
\
hline
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
From The LaTeX Companion
Normally, all
X
columns in a single table are set to the same width.
It is nevertheless possible to maketabularx
set them to different
widths. A preamble like the following
>setlengthhsize.5hsizeX>setlengthhsize1.5hsizeX}
specifies two columns; the second column will be three times as wide as
the first. However, when using this method two rules should be obeyed:
- The sum of the widths of all X columns should remain unchanged. In
the above example, the new widths should add up to the width of two
standard X columns.
- Any multicolumn entries that cross any X column should not be used.
Thus, the total summation of all factors attached to hsize
must stay equal to the number of columns. In your case, you have 3 columns. Since column h
is 0.5hsize
, the other two must add to 3 (total number of columns) - 0.5 = 2.5
. Dividing 2.5 over two gives us 1.25. Thus, the size for the other two columns should be hsize=1.25hsize
documentclass[]article
usepackagetabularx
newcolumntypeh>hsize=.5hsizeX % half width of X
begindocument
begintable
begintabularxlinewidth h
hline
Ontologies &
Details &
Limitations\
hline
textbfccsla, textbfccpricing, textbfccinstances, textbfccregions,textbfdmcc-schema, textbfccdm.
&
Features:
SLA, Price, VM instance feature and Region, Vendor. Data mining experiments parameters.
newlinenewline
Availability:
Schemas and data are online. Each schema has one or two examples modelling Services from Amazon. One exception is textbfccdm which has 6 examples of different ML experiments.
&
textbfccpricing can not handle the complexity of most common price options, like cost of OS to be installed on the VM, network data transfer cost differed by destination and usage, snapshot storage costs and etc. textbfccinstances does not allow unit to be specified in data, has to be fixed for each property.
\
hline
endtabularx
captionOntologies Comparison
labeltable:OntologiesComparison
endtable
enddocument
answered 2 days ago
Al-Motasem AldaoudeyehAl-Motasem Aldaoudeyeh
1,979414
1,979414
Thank you too, I only saw your answer after I accepted the first answer then refreshed the page.
– Miranda
2 days ago
add a comment |
Thank you too, I only saw your answer after I accepted the first answer then refreshed the page.
– Miranda
2 days ago
Thank you too, I only saw your answer after I accepted the first answer then refreshed the page.
– Miranda
2 days ago
Thank you too, I only saw your answer after I accepted the first answer then refreshed the page.
– Miranda
2 days ago
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%2f486059%2ftabularx-column-has-extra-padding-at-right%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