tabularx column has extra padding at right?Color 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
Why do computer-science majors learn calculus?
Write to EXCEL from SQL DB using VBA script
Why is Arya visibly scared in the library in S8E3?
Floor tile layout process?
Password expiration with Password manager
Is it always OK to ask for a copy of the lecturer's slides?
Why do money exchangers give different rates to different bills
Unidentified items in bicycle tube repair kit
Any examples of headwear for races with animal ears?
Can I use 1000v rectifier diodes instead of 600v rectifier diodes?
What word means "to make something obsolete"?
Was the ancestor of SCSI, the SASI protocol, nothing more than a draft?
How did Arya manage to disguise herself?
How do I tell my manager that his code review comment is wrong?
What was the state of the German rail system in 1944?
How to back up a running Linode server?
How to assert on pagereference where the endpoint of pagereference is predefined
How did Captain America use this power?
If Earth is tilted, why is Polaris always above the same spot?
Is balancing necessary on a full-wheel change?
Disabling Resource Governor in SQL Server
How do you center multiple equations that have multiple steps?
You look catfish vs You look like a catfish?
Is Cola "probably the best-known" Latin word in the world? If not, which might it be?
tabularx column has extra padding at right?
Color 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 Apr 22 at 15:58
MirandaMiranda
1877
1877
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
Apr 22 at 17:03
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 >hsize=1.25hsizeX
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
Apr 22 at 16:26
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 Apr 22 at 16:26
egregegreg
738k8919393269
738k8919393269
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
Apr 22 at 17:03
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
Apr 22 at 17:03
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 Apr 22 at 16:04
leandriisleandriis
12.3k1833
12.3k1833
Thank you, but egreg's answer is just so elegant, and fixed problems that I didn't know exist.
– Miranda
Apr 22 at 17:03
add a comment |
Thank you, but egreg's answer is just so elegant, and fixed problems that I didn't know exist.
– Miranda
Apr 22 at 17:03
Thank you, but egreg's answer is just so elegant, and fixed problems that I didn't know exist.
– Miranda
Apr 22 at 17:03
Thank you, but egreg's answer is just so elegant, and fixed problems that I didn't know exist.
– Miranda
Apr 22 at 17:03
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 >hsize=1.25hsizeX
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
Apr 22 at 16:26
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 >hsize=1.25hsizeX
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
Apr 22 at 16:26
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 >hsize=1.25hsizeX
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 >hsize=1.25hsizeX
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 Apr 22 at 16:10
Al-Motasem AldaoudeyehAl-Motasem Aldaoudeyeh
2,019414
2,019414
Thank you too, I only saw your answer after I accepted the first answer then refreshed the page.
– Miranda
Apr 22 at 16:26
add a comment |
Thank you too, I only saw your answer after I accepted the first answer then refreshed the page.
– Miranda
Apr 22 at 16:26
Thank you too, I only saw your answer after I accepted the first answer then refreshed the page.
– Miranda
Apr 22 at 16:26
Thank you too, I only saw your answer after I accepted the first answer then refreshed the page.
– Miranda
Apr 22 at 16:26
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