Emphasize numbers in tablesAlign numbers by decimal point using siunitx and bfseriessiunitx: aligning numbers by decimal points in tables doesn't work for bolded or italicized numbersNumbers in tables: align by decimal point *and* flush right?Aligning multiple tablesAligning multiple tabu tablesaligning question numbers, paragraphsAlign numbers and separated uncertainties in tables with S columnsaligning numbers with brackets in tablesText aligning like numbers aligningHow to align the the numbers horizontally?long list set of numbers

Why is my 401k manager recommending me to save more?

What type of education should I select in this form?

Why did the Middle Kingdom stop building pyramid tombs?

When does it become illegal to exchange bitcoin for cash?

Confusion in understanding the behavior of inductor in RL circuit with DC source

How far can gerrymandering go?

Can I hire several veteran soldiers to accompany me?

Is this house-rule removing the increased effect of cantrips at higher character levels balanced?

Is it theoretically possible to hack printer using scanner tray?

Is there a word for the act of simultaneously pulling and twisting an object?

Installed software from source, how to say yum not to install it from package?

Are all notation equal by derivatives?

Why should I allow multiple IP addresses on a website for a single session?

Cannot overlay, because ListPlot does not draw same X range despite the same PlotRange

Why are symbols not written in words?

usage of y" not just for locations?

*p++->str : Understanding evaluation of ->

What is this fluorinated organic substance?

Simplify the code

"Best practices" for formulating MIPs

Sentences with no verb, but an ablative

Displace Mesh along Curve on single axis

Variable declaration inside main loop

Why is the saxophone not common in classical repertoire?



Emphasize numbers in tables


Align numbers by decimal point using siunitx and bfseriessiunitx: aligning numbers by decimal points in tables doesn't work for bolded or italicized numbersNumbers in tables: align by decimal point *and* flush right?Aligning multiple tablesAligning multiple tabu tablesaligning question numbers, paragraphsAlign numbers and separated uncertainties in tables with S columnsaligning numbers with brackets in tablesText aligning like numbers aligningHow to align the the numbers horizontally?long list set of numbers













6















enter image description here



I want to have some numbers in my table bold. But get some troubles with the decimal points of the numbers. Here is my code for it:



begindocument 
begintable[htbp]
centering
caption
begintabularS
toprule
multicolumn1rmultirow2[2]*$r$ & multicolumn1rmultirow2[2]*$IC_1$ & multicolumn1rmultirow2[2]*$IC_2$ & multicolumn1rmultirow2[2]*$IC_3$ & multicolumn1rmultirow2[2]*$IC_1$ & multicolumn1rmultirow2[2]*$IC_2$ & multicolumn1rmultirow2[2]*$IC_3$ & multicolumn1cmultirow2[2]*$mu_i$ \
multicolumn1r & & & multicolumn1r & & & multicolumn1r & \
midrule
1 & 0.60 & 0.65 & 0.65 & 0.61 & 0.66 & $mathbf0.79$ & 0.40 \
2 & 0.45 & 0.55 & 0.55 & 0.46 & 0.56 & 0.84 & 0.15 \
3 & 0.35 & 0.49 & 0.50 & 0.37 & 0.52 & 0.93 & 0.10 \
4 & 0.26 & 0.45 & 0.45 & 0.28 & 0.48 & 1.02 & 0.10 \
toprule
endtabular%
labeltab:addlabel%
endtable%
enddocument


Is there some general solutions, which can be used for other tables as well? Thank you!










share|improve this question
























  • Potential duplicate: Align numbers by decimal point using siunitx and bfseries

    – barbara beeton
    10 hours ago















6















enter image description here



I want to have some numbers in my table bold. But get some troubles with the decimal points of the numbers. Here is my code for it:



begindocument 
begintable[htbp]
centering
caption
begintabularS
toprule
multicolumn1rmultirow2[2]*$r$ & multicolumn1rmultirow2[2]*$IC_1$ & multicolumn1rmultirow2[2]*$IC_2$ & multicolumn1rmultirow2[2]*$IC_3$ & multicolumn1rmultirow2[2]*$IC_1$ & multicolumn1rmultirow2[2]*$IC_2$ & multicolumn1rmultirow2[2]*$IC_3$ & multicolumn1cmultirow2[2]*$mu_i$ \
multicolumn1r & & & multicolumn1r & & & multicolumn1r & \
midrule
1 & 0.60 & 0.65 & 0.65 & 0.61 & 0.66 & $mathbf0.79$ & 0.40 \
2 & 0.45 & 0.55 & 0.55 & 0.46 & 0.56 & 0.84 & 0.15 \
3 & 0.35 & 0.49 & 0.50 & 0.37 & 0.52 & 0.93 & 0.10 \
4 & 0.26 & 0.45 & 0.45 & 0.28 & 0.48 & 1.02 & 0.10 \
toprule
endtabular%
labeltab:addlabel%
endtable%
enddocument


Is there some general solutions, which can be used for other tables as well? Thank you!










share|improve this question
























  • Potential duplicate: Align numbers by decimal point using siunitx and bfseries

    – barbara beeton
    10 hours ago













6












6








6


1






enter image description here



I want to have some numbers in my table bold. But get some troubles with the decimal points of the numbers. Here is my code for it:



begindocument 
begintable[htbp]
centering
caption
begintabularS
toprule
multicolumn1rmultirow2[2]*$r$ & multicolumn1rmultirow2[2]*$IC_1$ & multicolumn1rmultirow2[2]*$IC_2$ & multicolumn1rmultirow2[2]*$IC_3$ & multicolumn1rmultirow2[2]*$IC_1$ & multicolumn1rmultirow2[2]*$IC_2$ & multicolumn1rmultirow2[2]*$IC_3$ & multicolumn1cmultirow2[2]*$mu_i$ \
multicolumn1r & & & multicolumn1r & & & multicolumn1r & \
midrule
1 & 0.60 & 0.65 & 0.65 & 0.61 & 0.66 & $mathbf0.79$ & 0.40 \
2 & 0.45 & 0.55 & 0.55 & 0.46 & 0.56 & 0.84 & 0.15 \
3 & 0.35 & 0.49 & 0.50 & 0.37 & 0.52 & 0.93 & 0.10 \
4 & 0.26 & 0.45 & 0.45 & 0.28 & 0.48 & 1.02 & 0.10 \
toprule
endtabular%
labeltab:addlabel%
endtable%
enddocument


Is there some general solutions, which can be used for other tables as well? Thank you!










share|improve this question
















enter image description here



I want to have some numbers in my table bold. But get some troubles with the decimal points of the numbers. Here is my code for it:



begindocument 
begintable[htbp]
centering
caption
begintabularS
toprule
multicolumn1rmultirow2[2]*$r$ & multicolumn1rmultirow2[2]*$IC_1$ & multicolumn1rmultirow2[2]*$IC_2$ & multicolumn1rmultirow2[2]*$IC_3$ & multicolumn1rmultirow2[2]*$IC_1$ & multicolumn1rmultirow2[2]*$IC_2$ & multicolumn1rmultirow2[2]*$IC_3$ & multicolumn1cmultirow2[2]*$mu_i$ \
multicolumn1r & & & multicolumn1r & & & multicolumn1r & \
midrule
1 & 0.60 & 0.65 & 0.65 & 0.61 & 0.66 & $mathbf0.79$ & 0.40 \
2 & 0.45 & 0.55 & 0.55 & 0.46 & 0.56 & 0.84 & 0.15 \
3 & 0.35 & 0.49 & 0.50 & 0.37 & 0.52 & 0.93 & 0.10 \
4 & 0.26 & 0.45 & 0.45 & 0.28 & 0.48 & 1.02 & 0.10 \
toprule
endtabular%
labeltab:addlabel%
endtable%
enddocument


Is there some general solutions, which can be used for other tables as well? Thank you!







horizontal-alignment






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 10 hours ago









egreg

752k89 gold badges1971 silver badges3311 bronze badges




752k89 gold badges1971 silver badges3311 bronze badges










asked 10 hours ago









alixalix

432 bronze badges




432 bronze badges












  • Potential duplicate: Align numbers by decimal point using siunitx and bfseries

    – barbara beeton
    10 hours ago

















  • Potential duplicate: Align numbers by decimal point using siunitx and bfseries

    – barbara beeton
    10 hours ago
















Potential duplicate: Align numbers by decimal point using siunitx and bfseries

– barbara beeton
10 hours ago





Potential duplicate: Align numbers by decimal point using siunitx and bfseries

– barbara beeton
10 hours ago










1 Answer
1






active

oldest

votes


















7














Use the proper siunitx feature:



documentclassarticle
usepackagesiunitx,booktabs,caption

begindocument

begintable[htbp]
centering

captionlabeltab:addlabel

begintabular
r
*7S[table-format=1.2]

toprule
addlinespace[6pt]
$r$ & $IC_1$ & $IC_2$ & $IC_3$ & $IC_1$ & $IC_2$ & $IC_3$ & $mu_i$ \
addlinespace[3pt]
midrule
1 & 0.60 & 0.65 & 0.65 & 0.61 & 0.66 & bfseries 0.79 & 0.40 \
2 & 0.45 & 0.55 & 0.55 & 0.46 & 0.56 & 0.84 & 0.15 \
3 & 0.35 & 0.49 & 0.50 & 0.37 & 0.52 & 0.93 & 0.10 \
4 & 0.26 & 0.45 & 0.45 & 0.28 & 0.48 & 1.02 & 0.10 \
bottomrule
endtabular

endtable

enddocument


I removed the multirow tricks; if you really want more vertical space before and after the column headers, use addlinespace as shown; but it's not required and I wouldn't do it.



enter image description here






share|improve this answer























  • thank u for your reply. just for understanding: u defined 7 columns with the S command from package siunitx and u defined manually the table-format with 1.2, which should indicate one number infront of the decimal point and 2 numbers after the decimal point? thank you

    – alix
    10 hours ago











  • @alix correctly deduced.

    – Skillmon
    10 hours ago











  • @alix Yes; only specifying S gives a default, which might not be good for the specific table.

    – egreg
    10 hours ago













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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f498068%2femphasize-numbers-in-tables%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









7














Use the proper siunitx feature:



documentclassarticle
usepackagesiunitx,booktabs,caption

begindocument

begintable[htbp]
centering

captionlabeltab:addlabel

begintabular
r
*7S[table-format=1.2]

toprule
addlinespace[6pt]
$r$ & $IC_1$ & $IC_2$ & $IC_3$ & $IC_1$ & $IC_2$ & $IC_3$ & $mu_i$ \
addlinespace[3pt]
midrule
1 & 0.60 & 0.65 & 0.65 & 0.61 & 0.66 & bfseries 0.79 & 0.40 \
2 & 0.45 & 0.55 & 0.55 & 0.46 & 0.56 & 0.84 & 0.15 \
3 & 0.35 & 0.49 & 0.50 & 0.37 & 0.52 & 0.93 & 0.10 \
4 & 0.26 & 0.45 & 0.45 & 0.28 & 0.48 & 1.02 & 0.10 \
bottomrule
endtabular

endtable

enddocument


I removed the multirow tricks; if you really want more vertical space before and after the column headers, use addlinespace as shown; but it's not required and I wouldn't do it.



enter image description here






share|improve this answer























  • thank u for your reply. just for understanding: u defined 7 columns with the S command from package siunitx and u defined manually the table-format with 1.2, which should indicate one number infront of the decimal point and 2 numbers after the decimal point? thank you

    – alix
    10 hours ago











  • @alix correctly deduced.

    – Skillmon
    10 hours ago











  • @alix Yes; only specifying S gives a default, which might not be good for the specific table.

    – egreg
    10 hours ago















7














Use the proper siunitx feature:



documentclassarticle
usepackagesiunitx,booktabs,caption

begindocument

begintable[htbp]
centering

captionlabeltab:addlabel

begintabular
r
*7S[table-format=1.2]

toprule
addlinespace[6pt]
$r$ & $IC_1$ & $IC_2$ & $IC_3$ & $IC_1$ & $IC_2$ & $IC_3$ & $mu_i$ \
addlinespace[3pt]
midrule
1 & 0.60 & 0.65 & 0.65 & 0.61 & 0.66 & bfseries 0.79 & 0.40 \
2 & 0.45 & 0.55 & 0.55 & 0.46 & 0.56 & 0.84 & 0.15 \
3 & 0.35 & 0.49 & 0.50 & 0.37 & 0.52 & 0.93 & 0.10 \
4 & 0.26 & 0.45 & 0.45 & 0.28 & 0.48 & 1.02 & 0.10 \
bottomrule
endtabular

endtable

enddocument


I removed the multirow tricks; if you really want more vertical space before and after the column headers, use addlinespace as shown; but it's not required and I wouldn't do it.



enter image description here






share|improve this answer























  • thank u for your reply. just for understanding: u defined 7 columns with the S command from package siunitx and u defined manually the table-format with 1.2, which should indicate one number infront of the decimal point and 2 numbers after the decimal point? thank you

    – alix
    10 hours ago











  • @alix correctly deduced.

    – Skillmon
    10 hours ago











  • @alix Yes; only specifying S gives a default, which might not be good for the specific table.

    – egreg
    10 hours ago













7












7








7







Use the proper siunitx feature:



documentclassarticle
usepackagesiunitx,booktabs,caption

begindocument

begintable[htbp]
centering

captionlabeltab:addlabel

begintabular
r
*7S[table-format=1.2]

toprule
addlinespace[6pt]
$r$ & $IC_1$ & $IC_2$ & $IC_3$ & $IC_1$ & $IC_2$ & $IC_3$ & $mu_i$ \
addlinespace[3pt]
midrule
1 & 0.60 & 0.65 & 0.65 & 0.61 & 0.66 & bfseries 0.79 & 0.40 \
2 & 0.45 & 0.55 & 0.55 & 0.46 & 0.56 & 0.84 & 0.15 \
3 & 0.35 & 0.49 & 0.50 & 0.37 & 0.52 & 0.93 & 0.10 \
4 & 0.26 & 0.45 & 0.45 & 0.28 & 0.48 & 1.02 & 0.10 \
bottomrule
endtabular

endtable

enddocument


I removed the multirow tricks; if you really want more vertical space before and after the column headers, use addlinespace as shown; but it's not required and I wouldn't do it.



enter image description here






share|improve this answer













Use the proper siunitx feature:



documentclassarticle
usepackagesiunitx,booktabs,caption

begindocument

begintable[htbp]
centering

captionlabeltab:addlabel

begintabular
r
*7S[table-format=1.2]

toprule
addlinespace[6pt]
$r$ & $IC_1$ & $IC_2$ & $IC_3$ & $IC_1$ & $IC_2$ & $IC_3$ & $mu_i$ \
addlinespace[3pt]
midrule
1 & 0.60 & 0.65 & 0.65 & 0.61 & 0.66 & bfseries 0.79 & 0.40 \
2 & 0.45 & 0.55 & 0.55 & 0.46 & 0.56 & 0.84 & 0.15 \
3 & 0.35 & 0.49 & 0.50 & 0.37 & 0.52 & 0.93 & 0.10 \
4 & 0.26 & 0.45 & 0.45 & 0.28 & 0.48 & 1.02 & 0.10 \
bottomrule
endtabular

endtable

enddocument


I removed the multirow tricks; if you really want more vertical space before and after the column headers, use addlinespace as shown; but it's not required and I wouldn't do it.



enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered 10 hours ago









egregegreg

752k89 gold badges1971 silver badges3311 bronze badges




752k89 gold badges1971 silver badges3311 bronze badges












  • thank u for your reply. just for understanding: u defined 7 columns with the S command from package siunitx and u defined manually the table-format with 1.2, which should indicate one number infront of the decimal point and 2 numbers after the decimal point? thank you

    – alix
    10 hours ago











  • @alix correctly deduced.

    – Skillmon
    10 hours ago











  • @alix Yes; only specifying S gives a default, which might not be good for the specific table.

    – egreg
    10 hours ago

















  • thank u for your reply. just for understanding: u defined 7 columns with the S command from package siunitx and u defined manually the table-format with 1.2, which should indicate one number infront of the decimal point and 2 numbers after the decimal point? thank you

    – alix
    10 hours ago











  • @alix correctly deduced.

    – Skillmon
    10 hours ago











  • @alix Yes; only specifying S gives a default, which might not be good for the specific table.

    – egreg
    10 hours ago
















thank u for your reply. just for understanding: u defined 7 columns with the S command from package siunitx and u defined manually the table-format with 1.2, which should indicate one number infront of the decimal point and 2 numbers after the decimal point? thank you

– alix
10 hours ago





thank u for your reply. just for understanding: u defined 7 columns with the S command from package siunitx and u defined manually the table-format with 1.2, which should indicate one number infront of the decimal point and 2 numbers after the decimal point? thank you

– alix
10 hours ago













@alix correctly deduced.

– Skillmon
10 hours ago





@alix correctly deduced.

– Skillmon
10 hours ago













@alix Yes; only specifying S gives a default, which might not be good for the specific table.

– egreg
10 hours ago





@alix Yes; only specifying S gives a default, which might not be good for the specific table.

– egreg
10 hours ago

















draft saved

draft discarded
















































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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f498068%2femphasize-numbers-in-tables%23new-answer', 'question_page');

);

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







Popular posts from this blog

Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її