Enlarging columns with no vertical line size with a parallel contents












0















In fact, I want to enlarge a table column with no vertical line and also having a parallel content and not a center contents in the table. Here is the code:



immediatewrite18{makeindex jobname.nlo -s nomencl.ist -o jobname.nls}
documentclass[preprint,12pt,3p,numbers,sort,compress]{elsarticle}
usepackage{subcaption}
usepackage{mathtools}
usepackage{nccmath}
usepackage{array}
usepackage{caption}
usepackage{float}
usepackage{multicol}
usepackage{booktabs}
usepackage{makecell}
usepackage[utf8]{inputenc}



begin{document}



begin{table}[htbp]
centering
caption{ parameters }
label{tab:Parameters 2}
begin{tabular}{ l c c c }
toprule
Parameters & Value & Parameters & Value\
midrule
P1 & 500 & K1 & 0.01 \
P2 & 2200 & K2 & 0.01 \
P3 & 6 & K3 & 33 \
P4 & 20$times$$10^{-3}$ & K4 & 0.15 \
P5 & X & K5 & 0.1 \
P6 & 24.2 & K6 & 0.1\
P7 & 40.3 & K7 & 40\
P8 & 12.1 & K8 & 0.23\
P9 & 1 & K9 & 0.52\
P10 & 1$times$$10^{4}$ & K10 & 0.9\
P11 & 24 & K11 & 0\
P12 & 50 & 0 & 0\
bottomrule
end{tabular}
end{table}


end{document}


Here is what I want to do :
enter image description here










share|improve this question























  • To have left aligned content you should replace c c c by l l l (3 times letter L).

    – Sigur
    Feb 23 at 14:04
















0















In fact, I want to enlarge a table column with no vertical line and also having a parallel content and not a center contents in the table. Here is the code:



immediatewrite18{makeindex jobname.nlo -s nomencl.ist -o jobname.nls}
documentclass[preprint,12pt,3p,numbers,sort,compress]{elsarticle}
usepackage{subcaption}
usepackage{mathtools}
usepackage{nccmath}
usepackage{array}
usepackage{caption}
usepackage{float}
usepackage{multicol}
usepackage{booktabs}
usepackage{makecell}
usepackage[utf8]{inputenc}



begin{document}



begin{table}[htbp]
centering
caption{ parameters }
label{tab:Parameters 2}
begin{tabular}{ l c c c }
toprule
Parameters & Value & Parameters & Value\
midrule
P1 & 500 & K1 & 0.01 \
P2 & 2200 & K2 & 0.01 \
P3 & 6 & K3 & 33 \
P4 & 20$times$$10^{-3}$ & K4 & 0.15 \
P5 & X & K5 & 0.1 \
P6 & 24.2 & K6 & 0.1\
P7 & 40.3 & K7 & 40\
P8 & 12.1 & K8 & 0.23\
P9 & 1 & K9 & 0.52\
P10 & 1$times$$10^{4}$ & K10 & 0.9\
P11 & 24 & K11 & 0\
P12 & 50 & 0 & 0\
bottomrule
end{tabular}
end{table}


end{document}


Here is what I want to do :
enter image description here










share|improve this question























  • To have left aligned content you should replace c c c by l l l (3 times letter L).

    – Sigur
    Feb 23 at 14:04














0












0








0








In fact, I want to enlarge a table column with no vertical line and also having a parallel content and not a center contents in the table. Here is the code:



immediatewrite18{makeindex jobname.nlo -s nomencl.ist -o jobname.nls}
documentclass[preprint,12pt,3p,numbers,sort,compress]{elsarticle}
usepackage{subcaption}
usepackage{mathtools}
usepackage{nccmath}
usepackage{array}
usepackage{caption}
usepackage{float}
usepackage{multicol}
usepackage{booktabs}
usepackage{makecell}
usepackage[utf8]{inputenc}



begin{document}



begin{table}[htbp]
centering
caption{ parameters }
label{tab:Parameters 2}
begin{tabular}{ l c c c }
toprule
Parameters & Value & Parameters & Value\
midrule
P1 & 500 & K1 & 0.01 \
P2 & 2200 & K2 & 0.01 \
P3 & 6 & K3 & 33 \
P4 & 20$times$$10^{-3}$ & K4 & 0.15 \
P5 & X & K5 & 0.1 \
P6 & 24.2 & K6 & 0.1\
P7 & 40.3 & K7 & 40\
P8 & 12.1 & K8 & 0.23\
P9 & 1 & K9 & 0.52\
P10 & 1$times$$10^{4}$ & K10 & 0.9\
P11 & 24 & K11 & 0\
P12 & 50 & 0 & 0\
bottomrule
end{tabular}
end{table}


end{document}


Here is what I want to do :
enter image description here










share|improve this question














In fact, I want to enlarge a table column with no vertical line and also having a parallel content and not a center contents in the table. Here is the code:



immediatewrite18{makeindex jobname.nlo -s nomencl.ist -o jobname.nls}
documentclass[preprint,12pt,3p,numbers,sort,compress]{elsarticle}
usepackage{subcaption}
usepackage{mathtools}
usepackage{nccmath}
usepackage{array}
usepackage{caption}
usepackage{float}
usepackage{multicol}
usepackage{booktabs}
usepackage{makecell}
usepackage[utf8]{inputenc}



begin{document}



begin{table}[htbp]
centering
caption{ parameters }
label{tab:Parameters 2}
begin{tabular}{ l c c c }
toprule
Parameters & Value & Parameters & Value\
midrule
P1 & 500 & K1 & 0.01 \
P2 & 2200 & K2 & 0.01 \
P3 & 6 & K3 & 33 \
P4 & 20$times$$10^{-3}$ & K4 & 0.15 \
P5 & X & K5 & 0.1 \
P6 & 24.2 & K6 & 0.1\
P7 & 40.3 & K7 & 40\
P8 & 12.1 & K8 & 0.23\
P9 & 1 & K9 & 0.52\
P10 & 1$times$$10^{4}$ & K10 & 0.9\
P11 & 24 & K11 & 0\
P12 & 50 & 0 & 0\
bottomrule
end{tabular}
end{table}


end{document}


Here is what I want to do :
enter image description here







tables






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 23 at 14:01









kerdouj kardoujkerdouj kardouj

1185




1185













  • To have left aligned content you should replace c c c by l l l (3 times letter L).

    – Sigur
    Feb 23 at 14:04



















  • To have left aligned content you should replace c c c by l l l (3 times letter L).

    – Sigur
    Feb 23 at 14:04

















To have left aligned content you should replace c c c by l l l (3 times letter L).

– Sigur
Feb 23 at 14:04





To have left aligned content you should replace c c c by l l l (3 times letter L).

– Sigur
Feb 23 at 14:04










1 Answer
1






active

oldest

votes


















1














Here is a possible solution, where each column has width equal to 20% of the line width, and has content align to left.



enter image description here



Observe the way to type the scientific notation in math mode.



documentclass[preprint,12pt,3p,numbers,sort,compress]{elsarticle}
usepackage{subcaption}
usepackage{mathtools}
usepackage{nccmath}
usepackage{array}
usepackage{caption}
usepackage{float}
usepackage{multicol}
usepackage{booktabs}
usepackage{makecell}
usepackage[utf8]{inputenc}
usepackage{lipsum}


begin{document}

lipsum[1]

begin{table}[htbp]
centering
caption{parameters}
label{tab:Parameters 2}
begin{tabular}{p{.2linewidth}p{.2linewidth}p{.2linewidth}p{.2linewidth}}
toprule
Parameters & Value & Parameters & Value\
midrule
P1 & 500 & K1 & 0.01 \
P2 & 2200 & K2 & 0.01 \
P3 & 6 & K3 & 33 \
P4 & $20times10^{-3}$ & K4 & 0.15 \
P5 & X & K5 & 0.1 \
P6 & 24.2 & K6 & 0.1\
P7 & 40.3 & K7 & 40\
P8 & 12.1 & K8 & 0.23\
P9 & 1 & K9 & 0.52\
P10 & $1times10^{4}$ & K10 & 0.9\
P11 & 24 & K11 & 0\
P12 & 50 & 0 & 0\
bottomrule
end{tabular}
end{table}
end{document}





share|improve this answer
























  • Thanks @Sigur what did you mean by the scientific notation in math mode ?

    – kerdouj kardouj
    Feb 23 at 14:22






  • 1





    @kerdoujkardouj, like here: 20$times$$10^{-3}$. You typed $ too much. Simply use one pair of dollar signs: $20 times 10^{-3}$ for the whole value.

    – Sigur
    Feb 23 at 14:24











  • The fourth column how can I make it in the right I don't want the space between the vertical line and fourth column

    – kerdouj kardouj
    Feb 23 at 14:28






  • 1





    @kerdoujkardouj, replace the last p{.2linewidth} by r.

    – Sigur
    Feb 23 at 14:30






  • 1





    @kerdoujkardouj So, use l then, for left.

    – Sigur
    Feb 23 at 14:32













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%2f476330%2fenlarging-columns-with-no-vertical-line-size-with-a-parallel-contents%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









1














Here is a possible solution, where each column has width equal to 20% of the line width, and has content align to left.



enter image description here



Observe the way to type the scientific notation in math mode.



documentclass[preprint,12pt,3p,numbers,sort,compress]{elsarticle}
usepackage{subcaption}
usepackage{mathtools}
usepackage{nccmath}
usepackage{array}
usepackage{caption}
usepackage{float}
usepackage{multicol}
usepackage{booktabs}
usepackage{makecell}
usepackage[utf8]{inputenc}
usepackage{lipsum}


begin{document}

lipsum[1]

begin{table}[htbp]
centering
caption{parameters}
label{tab:Parameters 2}
begin{tabular}{p{.2linewidth}p{.2linewidth}p{.2linewidth}p{.2linewidth}}
toprule
Parameters & Value & Parameters & Value\
midrule
P1 & 500 & K1 & 0.01 \
P2 & 2200 & K2 & 0.01 \
P3 & 6 & K3 & 33 \
P4 & $20times10^{-3}$ & K4 & 0.15 \
P5 & X & K5 & 0.1 \
P6 & 24.2 & K6 & 0.1\
P7 & 40.3 & K7 & 40\
P8 & 12.1 & K8 & 0.23\
P9 & 1 & K9 & 0.52\
P10 & $1times10^{4}$ & K10 & 0.9\
P11 & 24 & K11 & 0\
P12 & 50 & 0 & 0\
bottomrule
end{tabular}
end{table}
end{document}





share|improve this answer
























  • Thanks @Sigur what did you mean by the scientific notation in math mode ?

    – kerdouj kardouj
    Feb 23 at 14:22






  • 1





    @kerdoujkardouj, like here: 20$times$$10^{-3}$. You typed $ too much. Simply use one pair of dollar signs: $20 times 10^{-3}$ for the whole value.

    – Sigur
    Feb 23 at 14:24











  • The fourth column how can I make it in the right I don't want the space between the vertical line and fourth column

    – kerdouj kardouj
    Feb 23 at 14:28






  • 1





    @kerdoujkardouj, replace the last p{.2linewidth} by r.

    – Sigur
    Feb 23 at 14:30






  • 1





    @kerdoujkardouj So, use l then, for left.

    – Sigur
    Feb 23 at 14:32


















1














Here is a possible solution, where each column has width equal to 20% of the line width, and has content align to left.



enter image description here



Observe the way to type the scientific notation in math mode.



documentclass[preprint,12pt,3p,numbers,sort,compress]{elsarticle}
usepackage{subcaption}
usepackage{mathtools}
usepackage{nccmath}
usepackage{array}
usepackage{caption}
usepackage{float}
usepackage{multicol}
usepackage{booktabs}
usepackage{makecell}
usepackage[utf8]{inputenc}
usepackage{lipsum}


begin{document}

lipsum[1]

begin{table}[htbp]
centering
caption{parameters}
label{tab:Parameters 2}
begin{tabular}{p{.2linewidth}p{.2linewidth}p{.2linewidth}p{.2linewidth}}
toprule
Parameters & Value & Parameters & Value\
midrule
P1 & 500 & K1 & 0.01 \
P2 & 2200 & K2 & 0.01 \
P3 & 6 & K3 & 33 \
P4 & $20times10^{-3}$ & K4 & 0.15 \
P5 & X & K5 & 0.1 \
P6 & 24.2 & K6 & 0.1\
P7 & 40.3 & K7 & 40\
P8 & 12.1 & K8 & 0.23\
P9 & 1 & K9 & 0.52\
P10 & $1times10^{4}$ & K10 & 0.9\
P11 & 24 & K11 & 0\
P12 & 50 & 0 & 0\
bottomrule
end{tabular}
end{table}
end{document}





share|improve this answer
























  • Thanks @Sigur what did you mean by the scientific notation in math mode ?

    – kerdouj kardouj
    Feb 23 at 14:22






  • 1





    @kerdoujkardouj, like here: 20$times$$10^{-3}$. You typed $ too much. Simply use one pair of dollar signs: $20 times 10^{-3}$ for the whole value.

    – Sigur
    Feb 23 at 14:24











  • The fourth column how can I make it in the right I don't want the space between the vertical line and fourth column

    – kerdouj kardouj
    Feb 23 at 14:28






  • 1





    @kerdoujkardouj, replace the last p{.2linewidth} by r.

    – Sigur
    Feb 23 at 14:30






  • 1





    @kerdoujkardouj So, use l then, for left.

    – Sigur
    Feb 23 at 14:32
















1












1








1







Here is a possible solution, where each column has width equal to 20% of the line width, and has content align to left.



enter image description here



Observe the way to type the scientific notation in math mode.



documentclass[preprint,12pt,3p,numbers,sort,compress]{elsarticle}
usepackage{subcaption}
usepackage{mathtools}
usepackage{nccmath}
usepackage{array}
usepackage{caption}
usepackage{float}
usepackage{multicol}
usepackage{booktabs}
usepackage{makecell}
usepackage[utf8]{inputenc}
usepackage{lipsum}


begin{document}

lipsum[1]

begin{table}[htbp]
centering
caption{parameters}
label{tab:Parameters 2}
begin{tabular}{p{.2linewidth}p{.2linewidth}p{.2linewidth}p{.2linewidth}}
toprule
Parameters & Value & Parameters & Value\
midrule
P1 & 500 & K1 & 0.01 \
P2 & 2200 & K2 & 0.01 \
P3 & 6 & K3 & 33 \
P4 & $20times10^{-3}$ & K4 & 0.15 \
P5 & X & K5 & 0.1 \
P6 & 24.2 & K6 & 0.1\
P7 & 40.3 & K7 & 40\
P8 & 12.1 & K8 & 0.23\
P9 & 1 & K9 & 0.52\
P10 & $1times10^{4}$ & K10 & 0.9\
P11 & 24 & K11 & 0\
P12 & 50 & 0 & 0\
bottomrule
end{tabular}
end{table}
end{document}





share|improve this answer













Here is a possible solution, where each column has width equal to 20% of the line width, and has content align to left.



enter image description here



Observe the way to type the scientific notation in math mode.



documentclass[preprint,12pt,3p,numbers,sort,compress]{elsarticle}
usepackage{subcaption}
usepackage{mathtools}
usepackage{nccmath}
usepackage{array}
usepackage{caption}
usepackage{float}
usepackage{multicol}
usepackage{booktabs}
usepackage{makecell}
usepackage[utf8]{inputenc}
usepackage{lipsum}


begin{document}

lipsum[1]

begin{table}[htbp]
centering
caption{parameters}
label{tab:Parameters 2}
begin{tabular}{p{.2linewidth}p{.2linewidth}p{.2linewidth}p{.2linewidth}}
toprule
Parameters & Value & Parameters & Value\
midrule
P1 & 500 & K1 & 0.01 \
P2 & 2200 & K2 & 0.01 \
P3 & 6 & K3 & 33 \
P4 & $20times10^{-3}$ & K4 & 0.15 \
P5 & X & K5 & 0.1 \
P6 & 24.2 & K6 & 0.1\
P7 & 40.3 & K7 & 40\
P8 & 12.1 & K8 & 0.23\
P9 & 1 & K9 & 0.52\
P10 & $1times10^{4}$ & K10 & 0.9\
P11 & 24 & K11 & 0\
P12 & 50 & 0 & 0\
bottomrule
end{tabular}
end{table}
end{document}






share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 23 at 14:13









SigurSigur

25.8k457140




25.8k457140













  • Thanks @Sigur what did you mean by the scientific notation in math mode ?

    – kerdouj kardouj
    Feb 23 at 14:22






  • 1





    @kerdoujkardouj, like here: 20$times$$10^{-3}$. You typed $ too much. Simply use one pair of dollar signs: $20 times 10^{-3}$ for the whole value.

    – Sigur
    Feb 23 at 14:24











  • The fourth column how can I make it in the right I don't want the space between the vertical line and fourth column

    – kerdouj kardouj
    Feb 23 at 14:28






  • 1





    @kerdoujkardouj, replace the last p{.2linewidth} by r.

    – Sigur
    Feb 23 at 14:30






  • 1





    @kerdoujkardouj So, use l then, for left.

    – Sigur
    Feb 23 at 14:32





















  • Thanks @Sigur what did you mean by the scientific notation in math mode ?

    – kerdouj kardouj
    Feb 23 at 14:22






  • 1





    @kerdoujkardouj, like here: 20$times$$10^{-3}$. You typed $ too much. Simply use one pair of dollar signs: $20 times 10^{-3}$ for the whole value.

    – Sigur
    Feb 23 at 14:24











  • The fourth column how can I make it in the right I don't want the space between the vertical line and fourth column

    – kerdouj kardouj
    Feb 23 at 14:28






  • 1





    @kerdoujkardouj, replace the last p{.2linewidth} by r.

    – Sigur
    Feb 23 at 14:30






  • 1





    @kerdoujkardouj So, use l then, for left.

    – Sigur
    Feb 23 at 14:32



















Thanks @Sigur what did you mean by the scientific notation in math mode ?

– kerdouj kardouj
Feb 23 at 14:22





Thanks @Sigur what did you mean by the scientific notation in math mode ?

– kerdouj kardouj
Feb 23 at 14:22




1




1





@kerdoujkardouj, like here: 20$times$$10^{-3}$. You typed $ too much. Simply use one pair of dollar signs: $20 times 10^{-3}$ for the whole value.

– Sigur
Feb 23 at 14:24





@kerdoujkardouj, like here: 20$times$$10^{-3}$. You typed $ too much. Simply use one pair of dollar signs: $20 times 10^{-3}$ for the whole value.

– Sigur
Feb 23 at 14:24













The fourth column how can I make it in the right I don't want the space between the vertical line and fourth column

– kerdouj kardouj
Feb 23 at 14:28





The fourth column how can I make it in the right I don't want the space between the vertical line and fourth column

– kerdouj kardouj
Feb 23 at 14:28




1




1





@kerdoujkardouj, replace the last p{.2linewidth} by r.

– Sigur
Feb 23 at 14:30





@kerdoujkardouj, replace the last p{.2linewidth} by r.

– Sigur
Feb 23 at 14:30




1




1





@kerdoujkardouj So, use l then, for left.

– Sigur
Feb 23 at 14:32







@kerdoujkardouj So, use l then, for left.

– Sigur
Feb 23 at 14:32




















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%2f476330%2fenlarging-columns-with-no-vertical-line-size-with-a-parallel-contents%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

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents