How make a table fit inside the margins?Fit table a bit outside of text marginsInitial page numbers...

Could a person damage a jet airliner - from the outside - with their bare hands?

Print "N NE E SE S SW W NW"

Cathode rays and the cathode rays tube

The origin of the Russian proverb about two hares

Does the new finding on "reversing a quantum jump mid-flight" rule out any interpretations of QM?

Is the Keras Embedding layer dependent on the target label?

Why do radiation hardened IC packages often have long leads?

Do you need to let the DM know when you are multiclassing?

Canada travel to US using Global Entry

So a part of my house disappeared... But not because of a chunk resetting

What plausible reason could I give for my FTL drive only working in space

Housemarks (superimposed & combined letters, heraldry)

Confused with atmospheric pressure equals plastic balloon’s inner pressure

Assigning function to function pointer, const argument correctness?

Why did Intel abandon unified CPU cache?

As easy as Three, Two, One... How fast can you go from Five to Four?

How do you play "tenth" chords on the guitar?

Is there a DSLR/mirorless camera with minimal options like a classic, simple SLR?

How was the airlock installed on the Space Shuttle mid deck?

noalign caused by multirow and colors

If there's something that implicates the president why is there then a national security issue? (John Dowd)

Trying to get (more) accurate readings from thermistor (electronics, math, and code inside)

empApi with Lightning Web Components?

Can you make an identity from this product?



How make a table fit inside the margins?


Fit table a bit outside of text marginsInitial page numbers wrongTable going past marginsMargins- table how do i put the table inside the marginstabu package - gaps in vertical linesLongtable does not fit the page marginsHow to make the table fit better?Fit table into page margins and center the second headingFit table into page marginsMake table fit into the column













2















How can I make this table fit inside left and right margin?



documentclass{article}
usepackage[T1]{fontenc}
usepackage{array}


textwidth 15cm
textheight 22cm
parindent 10pt
oddsidemargin 0.85cm
evensidemargin 0.37cm


begin{document}
begin{table}
noindent
begin{tabular}{|c|c|c|c|c|c|}
hline
& base & multicolumn{1}{l|}{exp-resLayer2} & multicolumn{1}{l|}{exp-resLayer10} & multicolumn{1}{l|}{exp-resLayer2-lr} & multicolumn{1}{l|}{exp-resLayer10-lr} \ hline
numIters & 20 & 20 & 20 & 20 & 20 \ hline
numEps & 20 & 20 & 20 & 20 & 20 \ hline
tempThreshold & 400 & 400 & 400 & 400 & 400 \ hline
updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \ hline
numMCTSSims & 50 & 50 & 50 & 50 & 50 \ hline
arenaCompare & 20 & 20 & 20 & 20 & 20 \ hline
cpuct & 1 & 1 & 1 & 1 & 1 \ hline
numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \ hline
& & & & & \ hline
lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \ hline
epochs & 10 & 10 & 10 & 10 & 10 \ hline
batch_size & 32 & 32 & 32 & 32 & 32 \ hline
residual_block_num & 5 & 2 & 10 & 2 & 10 \ hline
image_stack_layers & 9 & 9 & 9 & 9 & 9 \ hline
end{tabular}
end{table}
end{document}


May someone help me please? Using makebox is not a good output!



EDIT:



textwidth 15cm









share|improve this question









New contributor



Davide is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 3





    it is always best to show a complete small document, in particular here you have given no indication of your page size.

    – David Carlisle
    9 hours ago











  • @DavidCarlisle edited!

    – Davide
    9 hours ago











  • @Davide and font size? It would be easier if you just created a proper MWE, starting at documentclass and ending at end{document} which includes everything necessary to reproduce your table with the size it would have in your report, but nothing more (so say, for this table usepackage{xcolor} wouldn't be necessary).

    – Skillmon
    8 hours ago











  • @Skillmon hope that I added all of them!

    – Davide
    8 hours ago











  • @Davide no it still means anyone wanting to test answers has to construct a document much better if you do it. There are also hundreds of examples on this site of making tables smaller, putting small before it for example.

    – David Carlisle
    8 hours ago
















2















How can I make this table fit inside left and right margin?



documentclass{article}
usepackage[T1]{fontenc}
usepackage{array}


textwidth 15cm
textheight 22cm
parindent 10pt
oddsidemargin 0.85cm
evensidemargin 0.37cm


begin{document}
begin{table}
noindent
begin{tabular}{|c|c|c|c|c|c|}
hline
& base & multicolumn{1}{l|}{exp-resLayer2} & multicolumn{1}{l|}{exp-resLayer10} & multicolumn{1}{l|}{exp-resLayer2-lr} & multicolumn{1}{l|}{exp-resLayer10-lr} \ hline
numIters & 20 & 20 & 20 & 20 & 20 \ hline
numEps & 20 & 20 & 20 & 20 & 20 \ hline
tempThreshold & 400 & 400 & 400 & 400 & 400 \ hline
updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \ hline
numMCTSSims & 50 & 50 & 50 & 50 & 50 \ hline
arenaCompare & 20 & 20 & 20 & 20 & 20 \ hline
cpuct & 1 & 1 & 1 & 1 & 1 \ hline
numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \ hline
& & & & & \ hline
lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \ hline
epochs & 10 & 10 & 10 & 10 & 10 \ hline
batch_size & 32 & 32 & 32 & 32 & 32 \ hline
residual_block_num & 5 & 2 & 10 & 2 & 10 \ hline
image_stack_layers & 9 & 9 & 9 & 9 & 9 \ hline
end{tabular}
end{table}
end{document}


May someone help me please? Using makebox is not a good output!



EDIT:



textwidth 15cm









share|improve this question









New contributor



Davide is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 3





    it is always best to show a complete small document, in particular here you have given no indication of your page size.

    – David Carlisle
    9 hours ago











  • @DavidCarlisle edited!

    – Davide
    9 hours ago











  • @Davide and font size? It would be easier if you just created a proper MWE, starting at documentclass and ending at end{document} which includes everything necessary to reproduce your table with the size it would have in your report, but nothing more (so say, for this table usepackage{xcolor} wouldn't be necessary).

    – Skillmon
    8 hours ago











  • @Skillmon hope that I added all of them!

    – Davide
    8 hours ago











  • @Davide no it still means anyone wanting to test answers has to construct a document much better if you do it. There are also hundreds of examples on this site of making tables smaller, putting small before it for example.

    – David Carlisle
    8 hours ago














2












2








2








How can I make this table fit inside left and right margin?



documentclass{article}
usepackage[T1]{fontenc}
usepackage{array}


textwidth 15cm
textheight 22cm
parindent 10pt
oddsidemargin 0.85cm
evensidemargin 0.37cm


begin{document}
begin{table}
noindent
begin{tabular}{|c|c|c|c|c|c|}
hline
& base & multicolumn{1}{l|}{exp-resLayer2} & multicolumn{1}{l|}{exp-resLayer10} & multicolumn{1}{l|}{exp-resLayer2-lr} & multicolumn{1}{l|}{exp-resLayer10-lr} \ hline
numIters & 20 & 20 & 20 & 20 & 20 \ hline
numEps & 20 & 20 & 20 & 20 & 20 \ hline
tempThreshold & 400 & 400 & 400 & 400 & 400 \ hline
updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \ hline
numMCTSSims & 50 & 50 & 50 & 50 & 50 \ hline
arenaCompare & 20 & 20 & 20 & 20 & 20 \ hline
cpuct & 1 & 1 & 1 & 1 & 1 \ hline
numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \ hline
& & & & & \ hline
lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \ hline
epochs & 10 & 10 & 10 & 10 & 10 \ hline
batch_size & 32 & 32 & 32 & 32 & 32 \ hline
residual_block_num & 5 & 2 & 10 & 2 & 10 \ hline
image_stack_layers & 9 & 9 & 9 & 9 & 9 \ hline
end{tabular}
end{table}
end{document}


May someone help me please? Using makebox is not a good output!



EDIT:



textwidth 15cm









share|improve this question









New contributor



Davide is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











How can I make this table fit inside left and right margin?



documentclass{article}
usepackage[T1]{fontenc}
usepackage{array}


textwidth 15cm
textheight 22cm
parindent 10pt
oddsidemargin 0.85cm
evensidemargin 0.37cm


begin{document}
begin{table}
noindent
begin{tabular}{|c|c|c|c|c|c|}
hline
& base & multicolumn{1}{l|}{exp-resLayer2} & multicolumn{1}{l|}{exp-resLayer10} & multicolumn{1}{l|}{exp-resLayer2-lr} & multicolumn{1}{l|}{exp-resLayer10-lr} \ hline
numIters & 20 & 20 & 20 & 20 & 20 \ hline
numEps & 20 & 20 & 20 & 20 & 20 \ hline
tempThreshold & 400 & 400 & 400 & 400 & 400 \ hline
updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \ hline
numMCTSSims & 50 & 50 & 50 & 50 & 50 \ hline
arenaCompare & 20 & 20 & 20 & 20 & 20 \ hline
cpuct & 1 & 1 & 1 & 1 & 1 \ hline
numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \ hline
& & & & & \ hline
lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \ hline
epochs & 10 & 10 & 10 & 10 & 10 \ hline
batch_size & 32 & 32 & 32 & 32 & 32 \ hline
residual_block_num & 5 & 2 & 10 & 2 & 10 \ hline
image_stack_layers & 9 & 9 & 9 & 9 & 9 \ hline
end{tabular}
end{table}
end{document}


May someone help me please? Using makebox is not a good output!



EDIT:



textwidth 15cm






tables horizontal-alignment margins






share|improve this question









New contributor



Davide is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question









New contributor



Davide is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question








edited 8 hours ago









David Carlisle

509k4311591915




509k4311591915






New contributor



Davide is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 9 hours ago









DavideDavide

113




113




New contributor



Davide is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




Davide is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










  • 3





    it is always best to show a complete small document, in particular here you have given no indication of your page size.

    – David Carlisle
    9 hours ago











  • @DavidCarlisle edited!

    – Davide
    9 hours ago











  • @Davide and font size? It would be easier if you just created a proper MWE, starting at documentclass and ending at end{document} which includes everything necessary to reproduce your table with the size it would have in your report, but nothing more (so say, for this table usepackage{xcolor} wouldn't be necessary).

    – Skillmon
    8 hours ago











  • @Skillmon hope that I added all of them!

    – Davide
    8 hours ago











  • @Davide no it still means anyone wanting to test answers has to construct a document much better if you do it. There are also hundreds of examples on this site of making tables smaller, putting small before it for example.

    – David Carlisle
    8 hours ago














  • 3





    it is always best to show a complete small document, in particular here you have given no indication of your page size.

    – David Carlisle
    9 hours ago











  • @DavidCarlisle edited!

    – Davide
    9 hours ago











  • @Davide and font size? It would be easier if you just created a proper MWE, starting at documentclass and ending at end{document} which includes everything necessary to reproduce your table with the size it would have in your report, but nothing more (so say, for this table usepackage{xcolor} wouldn't be necessary).

    – Skillmon
    8 hours ago











  • @Skillmon hope that I added all of them!

    – Davide
    8 hours ago











  • @Davide no it still means anyone wanting to test answers has to construct a document much better if you do it. There are also hundreds of examples on this site of making tables smaller, putting small before it for example.

    – David Carlisle
    8 hours ago








3




3





it is always best to show a complete small document, in particular here you have given no indication of your page size.

– David Carlisle
9 hours ago





it is always best to show a complete small document, in particular here you have given no indication of your page size.

– David Carlisle
9 hours ago













@DavidCarlisle edited!

– Davide
9 hours ago





@DavidCarlisle edited!

– Davide
9 hours ago













@Davide and font size? It would be easier if you just created a proper MWE, starting at documentclass and ending at end{document} which includes everything necessary to reproduce your table with the size it would have in your report, but nothing more (so say, for this table usepackage{xcolor} wouldn't be necessary).

– Skillmon
8 hours ago





@Davide and font size? It would be easier if you just created a proper MWE, starting at documentclass and ending at end{document} which includes everything necessary to reproduce your table with the size it would have in your report, but nothing more (so say, for this table usepackage{xcolor} wouldn't be necessary).

– Skillmon
8 hours ago













@Skillmon hope that I added all of them!

– Davide
8 hours ago





@Skillmon hope that I added all of them!

– Davide
8 hours ago













@Davide no it still means anyone wanting to test answers has to construct a document much better if you do it. There are also hundreds of examples on this site of making tables smaller, putting small before it for example.

– David Carlisle
8 hours ago





@Davide no it still means anyone wanting to test answers has to construct a document much better if you do it. There are also hundreds of examples on this site of making tables smaller, putting small before it for example.

– David Carlisle
8 hours ago










2 Answers
2






active

oldest

votes


















2














If you are allowed to break numItersForTrainExamplesHistory over two lines you could make the first column narrower and use a larger font size, but as it is, footnotesize works



documentclass{article}
usepackage[T1]{fontenc}
usepackage{array}


textwidth 15cm
textheight 22cm
parindent 10pt
oddsidemargin 0.85cm
evensidemargin 0.37cm


begin{document}


begin{table}
centering
setlengthtabcolsep{4pt}
footnotesize
begin{tabular}{@{}|c|c|c|c|c|c|@{}}
hline
& base & multicolumn{1}{l|}{exp-resLayer2} & multicolumn{1}{l|}{exp-resLayer10} & multicolumn{1}{l|}{exp-resLayer2-lr} & multicolumn{1}{l|}{exp-resLayer10-lr} \ hline
numIters & 20 & 20 & 20 & 20 & 20 \ hline
numEps & 20 & 20 & 20 & 20 & 20 \ hline
tempThreshold & 400 & 400 & 400 & 400 & 400 \ hline
updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \ hline
numMCTSSims & 50 & 50 & 50 & 50 & 50 \ hline
arenaCompare & 20 & 20 & 20 & 20 & 20 \ hline
cpuct & 1 & 1 & 1 & 1 & 1 \ hline
numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \ hline
& & & & & \ hline
lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \ hline
epochs & 10 & 10 & 10 & 10 & 10 \ hline
batch_size & 32 & 32 & 32 & 32 & 32 \ hline
residual_block_num & 5 & 2 & 10 & 2 & 10 \ hline
image_stack_layers & 9 & 9 & 9 & 9 & 9 \ hline
end{tabular}
end{table}
end{document}





share|improve this answer































    1














    Moving the duplicate information of exp-resLayer out of each head and above them in a multicolumn does wonders to your table width:



    documentclass{article}
    usepackage[T1]{fontenc}
    usepackage{array}

    textwidth 15cm
    textheight 22cm
    parindent 10pt
    oddsidemargin 0.85cm
    evensidemargin 0.37cm

    begin{document}
    begin{table}
    begin{tabular}{|l|c|c|c|c|c|}
    hline
    & & multicolumn{4}{c|}{exp-resLayer} \
    cline{3-6}
    & base & 2 & 10 & 2-lr & 10-lr \
    hline
    numIters & 20 & 20 & 20 & 20 & 20 \
    hline
    numEps & 20 & 20 & 20 & 20 & 20 \
    hline
    tempThreshold & 400 & 400 & 400 & 400 & 400 \
    hline
    updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \
    hline
    numMCTSSims & 50 & 50 & 50 & 50 & 50 \
    hline
    arenaCompare & 20 & 20 & 20 & 20 & 20 \
    hline
    cpuct & 1 & 1 & 1 & 1 & 1 \
    hline
    numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \
    hline
    & & & & & \
    hline
    lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \
    hline
    epochs & 10 & 10 & 10 & 10 & 10 \
    hline
    batch_size & 32 & 32 & 32 & 32 & 32 \
    hline
    residual_block_num & 5 & 2 & 10 & 2 & 10 \
    hline
    image_stack_layers & 9 & 9 & 9 & 9 & 9 \
    hline
    end{tabular}
    end{table}
    end{document}


    enter image description here



    EDIT: if it should be more clear that each of the columns should be something like exp-resLayer<i> then one could change that to:



    documentclass{article}
    usepackage[T1]{fontenc}
    usepackage{array}

    textwidth 15cm
    textheight 22cm
    parindent 10pt
    oddsidemargin 0.85cm
    evensidemargin 0.37cm

    begin{document}
    begin{table}
    begin{tabular}{|l|c|c|c|c|c|}
    hline
    & & multicolumn{4}{c|}{exp-resLayer$langle irangle$} \
    cline{3-6}
    & base & 2 & 10 & 2-lr & 10-lr \
    hline
    numIters & 20 & 20 & 20 & 20 & 20 \
    hline
    numEps & 20 & 20 & 20 & 20 & 20 \
    hline
    tempThreshold & 400 & 400 & 400 & 400 & 400 \
    hline
    updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \
    hline
    numMCTSSims & 50 & 50 & 50 & 50 & 50 \
    hline
    arenaCompare & 20 & 20 & 20 & 20 & 20 \
    hline
    cpuct & 1 & 1 & 1 & 1 & 1 \
    hline
    numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \
    hline
    & & & & & \
    hline
    lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \
    hline
    epochs & 10 & 10 & 10 & 10 & 10 \
    hline
    batch_size & 32 & 32 & 32 & 32 & 32 \
    hline
    residual_block_num & 5 & 2 & 10 & 2 & 10 \
    hline
    image_stack_layers & 9 & 9 & 9 & 9 & 9 \
    hline
    end{tabular}
    end{table}
    end{document}


    enter image description here



    An imho prettier version without all those vertical rules and less horizontal ones:



    documentclass{article}
    usepackage[T1]{fontenc}
    usepackage{array}

    textwidth 15cm
    textheight 22cm
    parindent 10pt
    oddsidemargin 0.85cm
    evensidemargin 0.37cm

    usepackage{booktabs}

    begin{document}
    begin{table}
    begin{tabular}{l*5c}
    toprule
    & & multicolumn{4}{c}{exp-resLayer} \
    cmidrule{3-6}
    & base & 2 & 10 & 2-lr & 10-lr \
    midrule
    numIters & 20 & 20 & 20 & 20 & 20 \
    numEps & 20 & 20 & 20 & 20 & 20 \
    tempThreshold & 400 & 400 & 400 & 400 & 400 \
    updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \
    numMCTSSims & 50 & 50 & 50 & 50 & 50 \
    arenaCompare & 20 & 20 & 20 & 20 & 20 \
    cpuct & 1 & 1 & 1 & 1 & 1 \
    numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \
    noalign{medskip}
    lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \
    epochs & 10 & 10 & 10 & 10 & 10 \
    batch_size & 32 & 32 & 32 & 32 & 32 \
    residual_block_num & 5 & 2 & 10 & 2 & 10 \
    image_stack_layers & 9 & 9 & 9 & 9 & 9 \
    bottomrule
    end{tabular}
    end{table}
    end{document}


    enter image description here






    share|improve this answer


























    • In this example is not exactly clear, the head should be repeated

      – Davide
      8 hours ago











    • @Davide do you think so?

      – Skillmon
      8 hours ago











    • Yes, for my purposes I need repeated. Thanks

      – Davide
      8 hours ago











    • @Davide is the edit better?

      – Skillmon
      8 hours ago











    • If there are no other ways to do it, yes is better thanks!

      – Davide
      8 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
    });


    }
    });






    Davide is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f494997%2fhow-make-a-table-fit-inside-the-margins%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    If you are allowed to break numItersForTrainExamplesHistory over two lines you could make the first column narrower and use a larger font size, but as it is, footnotesize works



    documentclass{article}
    usepackage[T1]{fontenc}
    usepackage{array}


    textwidth 15cm
    textheight 22cm
    parindent 10pt
    oddsidemargin 0.85cm
    evensidemargin 0.37cm


    begin{document}


    begin{table}
    centering
    setlengthtabcolsep{4pt}
    footnotesize
    begin{tabular}{@{}|c|c|c|c|c|c|@{}}
    hline
    & base & multicolumn{1}{l|}{exp-resLayer2} & multicolumn{1}{l|}{exp-resLayer10} & multicolumn{1}{l|}{exp-resLayer2-lr} & multicolumn{1}{l|}{exp-resLayer10-lr} \ hline
    numIters & 20 & 20 & 20 & 20 & 20 \ hline
    numEps & 20 & 20 & 20 & 20 & 20 \ hline
    tempThreshold & 400 & 400 & 400 & 400 & 400 \ hline
    updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \ hline
    numMCTSSims & 50 & 50 & 50 & 50 & 50 \ hline
    arenaCompare & 20 & 20 & 20 & 20 & 20 \ hline
    cpuct & 1 & 1 & 1 & 1 & 1 \ hline
    numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \ hline
    & & & & & \ hline
    lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \ hline
    epochs & 10 & 10 & 10 & 10 & 10 \ hline
    batch_size & 32 & 32 & 32 & 32 & 32 \ hline
    residual_block_num & 5 & 2 & 10 & 2 & 10 \ hline
    image_stack_layers & 9 & 9 & 9 & 9 & 9 \ hline
    end{tabular}
    end{table}
    end{document}





    share|improve this answer




























      2














      If you are allowed to break numItersForTrainExamplesHistory over two lines you could make the first column narrower and use a larger font size, but as it is, footnotesize works



      documentclass{article}
      usepackage[T1]{fontenc}
      usepackage{array}


      textwidth 15cm
      textheight 22cm
      parindent 10pt
      oddsidemargin 0.85cm
      evensidemargin 0.37cm


      begin{document}


      begin{table}
      centering
      setlengthtabcolsep{4pt}
      footnotesize
      begin{tabular}{@{}|c|c|c|c|c|c|@{}}
      hline
      & base & multicolumn{1}{l|}{exp-resLayer2} & multicolumn{1}{l|}{exp-resLayer10} & multicolumn{1}{l|}{exp-resLayer2-lr} & multicolumn{1}{l|}{exp-resLayer10-lr} \ hline
      numIters & 20 & 20 & 20 & 20 & 20 \ hline
      numEps & 20 & 20 & 20 & 20 & 20 \ hline
      tempThreshold & 400 & 400 & 400 & 400 & 400 \ hline
      updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \ hline
      numMCTSSims & 50 & 50 & 50 & 50 & 50 \ hline
      arenaCompare & 20 & 20 & 20 & 20 & 20 \ hline
      cpuct & 1 & 1 & 1 & 1 & 1 \ hline
      numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \ hline
      & & & & & \ hline
      lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \ hline
      epochs & 10 & 10 & 10 & 10 & 10 \ hline
      batch_size & 32 & 32 & 32 & 32 & 32 \ hline
      residual_block_num & 5 & 2 & 10 & 2 & 10 \ hline
      image_stack_layers & 9 & 9 & 9 & 9 & 9 \ hline
      end{tabular}
      end{table}
      end{document}





      share|improve this answer


























        2












        2








        2







        If you are allowed to break numItersForTrainExamplesHistory over two lines you could make the first column narrower and use a larger font size, but as it is, footnotesize works



        documentclass{article}
        usepackage[T1]{fontenc}
        usepackage{array}


        textwidth 15cm
        textheight 22cm
        parindent 10pt
        oddsidemargin 0.85cm
        evensidemargin 0.37cm


        begin{document}


        begin{table}
        centering
        setlengthtabcolsep{4pt}
        footnotesize
        begin{tabular}{@{}|c|c|c|c|c|c|@{}}
        hline
        & base & multicolumn{1}{l|}{exp-resLayer2} & multicolumn{1}{l|}{exp-resLayer10} & multicolumn{1}{l|}{exp-resLayer2-lr} & multicolumn{1}{l|}{exp-resLayer10-lr} \ hline
        numIters & 20 & 20 & 20 & 20 & 20 \ hline
        numEps & 20 & 20 & 20 & 20 & 20 \ hline
        tempThreshold & 400 & 400 & 400 & 400 & 400 \ hline
        updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \ hline
        numMCTSSims & 50 & 50 & 50 & 50 & 50 \ hline
        arenaCompare & 20 & 20 & 20 & 20 & 20 \ hline
        cpuct & 1 & 1 & 1 & 1 & 1 \ hline
        numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \ hline
        & & & & & \ hline
        lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \ hline
        epochs & 10 & 10 & 10 & 10 & 10 \ hline
        batch_size & 32 & 32 & 32 & 32 & 32 \ hline
        residual_block_num & 5 & 2 & 10 & 2 & 10 \ hline
        image_stack_layers & 9 & 9 & 9 & 9 & 9 \ hline
        end{tabular}
        end{table}
        end{document}





        share|improve this answer













        If you are allowed to break numItersForTrainExamplesHistory over two lines you could make the first column narrower and use a larger font size, but as it is, footnotesize works



        documentclass{article}
        usepackage[T1]{fontenc}
        usepackage{array}


        textwidth 15cm
        textheight 22cm
        parindent 10pt
        oddsidemargin 0.85cm
        evensidemargin 0.37cm


        begin{document}


        begin{table}
        centering
        setlengthtabcolsep{4pt}
        footnotesize
        begin{tabular}{@{}|c|c|c|c|c|c|@{}}
        hline
        & base & multicolumn{1}{l|}{exp-resLayer2} & multicolumn{1}{l|}{exp-resLayer10} & multicolumn{1}{l|}{exp-resLayer2-lr} & multicolumn{1}{l|}{exp-resLayer10-lr} \ hline
        numIters & 20 & 20 & 20 & 20 & 20 \ hline
        numEps & 20 & 20 & 20 & 20 & 20 \ hline
        tempThreshold & 400 & 400 & 400 & 400 & 400 \ hline
        updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \ hline
        numMCTSSims & 50 & 50 & 50 & 50 & 50 \ hline
        arenaCompare & 20 & 20 & 20 & 20 & 20 \ hline
        cpuct & 1 & 1 & 1 & 1 & 1 \ hline
        numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \ hline
        & & & & & \ hline
        lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \ hline
        epochs & 10 & 10 & 10 & 10 & 10 \ hline
        batch_size & 32 & 32 & 32 & 32 & 32 \ hline
        residual_block_num & 5 & 2 & 10 & 2 & 10 \ hline
        image_stack_layers & 9 & 9 & 9 & 9 & 9 \ hline
        end{tabular}
        end{table}
        end{document}






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 8 hours ago









        David CarlisleDavid Carlisle

        509k4311591915




        509k4311591915























            1














            Moving the duplicate information of exp-resLayer out of each head and above them in a multicolumn does wonders to your table width:



            documentclass{article}
            usepackage[T1]{fontenc}
            usepackage{array}

            textwidth 15cm
            textheight 22cm
            parindent 10pt
            oddsidemargin 0.85cm
            evensidemargin 0.37cm

            begin{document}
            begin{table}
            begin{tabular}{|l|c|c|c|c|c|}
            hline
            & & multicolumn{4}{c|}{exp-resLayer} \
            cline{3-6}
            & base & 2 & 10 & 2-lr & 10-lr \
            hline
            numIters & 20 & 20 & 20 & 20 & 20 \
            hline
            numEps & 20 & 20 & 20 & 20 & 20 \
            hline
            tempThreshold & 400 & 400 & 400 & 400 & 400 \
            hline
            updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \
            hline
            numMCTSSims & 50 & 50 & 50 & 50 & 50 \
            hline
            arenaCompare & 20 & 20 & 20 & 20 & 20 \
            hline
            cpuct & 1 & 1 & 1 & 1 & 1 \
            hline
            numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \
            hline
            & & & & & \
            hline
            lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \
            hline
            epochs & 10 & 10 & 10 & 10 & 10 \
            hline
            batch_size & 32 & 32 & 32 & 32 & 32 \
            hline
            residual_block_num & 5 & 2 & 10 & 2 & 10 \
            hline
            image_stack_layers & 9 & 9 & 9 & 9 & 9 \
            hline
            end{tabular}
            end{table}
            end{document}


            enter image description here



            EDIT: if it should be more clear that each of the columns should be something like exp-resLayer<i> then one could change that to:



            documentclass{article}
            usepackage[T1]{fontenc}
            usepackage{array}

            textwidth 15cm
            textheight 22cm
            parindent 10pt
            oddsidemargin 0.85cm
            evensidemargin 0.37cm

            begin{document}
            begin{table}
            begin{tabular}{|l|c|c|c|c|c|}
            hline
            & & multicolumn{4}{c|}{exp-resLayer$langle irangle$} \
            cline{3-6}
            & base & 2 & 10 & 2-lr & 10-lr \
            hline
            numIters & 20 & 20 & 20 & 20 & 20 \
            hline
            numEps & 20 & 20 & 20 & 20 & 20 \
            hline
            tempThreshold & 400 & 400 & 400 & 400 & 400 \
            hline
            updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \
            hline
            numMCTSSims & 50 & 50 & 50 & 50 & 50 \
            hline
            arenaCompare & 20 & 20 & 20 & 20 & 20 \
            hline
            cpuct & 1 & 1 & 1 & 1 & 1 \
            hline
            numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \
            hline
            & & & & & \
            hline
            lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \
            hline
            epochs & 10 & 10 & 10 & 10 & 10 \
            hline
            batch_size & 32 & 32 & 32 & 32 & 32 \
            hline
            residual_block_num & 5 & 2 & 10 & 2 & 10 \
            hline
            image_stack_layers & 9 & 9 & 9 & 9 & 9 \
            hline
            end{tabular}
            end{table}
            end{document}


            enter image description here



            An imho prettier version without all those vertical rules and less horizontal ones:



            documentclass{article}
            usepackage[T1]{fontenc}
            usepackage{array}

            textwidth 15cm
            textheight 22cm
            parindent 10pt
            oddsidemargin 0.85cm
            evensidemargin 0.37cm

            usepackage{booktabs}

            begin{document}
            begin{table}
            begin{tabular}{l*5c}
            toprule
            & & multicolumn{4}{c}{exp-resLayer} \
            cmidrule{3-6}
            & base & 2 & 10 & 2-lr & 10-lr \
            midrule
            numIters & 20 & 20 & 20 & 20 & 20 \
            numEps & 20 & 20 & 20 & 20 & 20 \
            tempThreshold & 400 & 400 & 400 & 400 & 400 \
            updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \
            numMCTSSims & 50 & 50 & 50 & 50 & 50 \
            arenaCompare & 20 & 20 & 20 & 20 & 20 \
            cpuct & 1 & 1 & 1 & 1 & 1 \
            numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \
            noalign{medskip}
            lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \
            epochs & 10 & 10 & 10 & 10 & 10 \
            batch_size & 32 & 32 & 32 & 32 & 32 \
            residual_block_num & 5 & 2 & 10 & 2 & 10 \
            image_stack_layers & 9 & 9 & 9 & 9 & 9 \
            bottomrule
            end{tabular}
            end{table}
            end{document}


            enter image description here






            share|improve this answer


























            • In this example is not exactly clear, the head should be repeated

              – Davide
              8 hours ago











            • @Davide do you think so?

              – Skillmon
              8 hours ago











            • Yes, for my purposes I need repeated. Thanks

              – Davide
              8 hours ago











            • @Davide is the edit better?

              – Skillmon
              8 hours ago











            • If there are no other ways to do it, yes is better thanks!

              – Davide
              8 hours ago
















            1














            Moving the duplicate information of exp-resLayer out of each head and above them in a multicolumn does wonders to your table width:



            documentclass{article}
            usepackage[T1]{fontenc}
            usepackage{array}

            textwidth 15cm
            textheight 22cm
            parindent 10pt
            oddsidemargin 0.85cm
            evensidemargin 0.37cm

            begin{document}
            begin{table}
            begin{tabular}{|l|c|c|c|c|c|}
            hline
            & & multicolumn{4}{c|}{exp-resLayer} \
            cline{3-6}
            & base & 2 & 10 & 2-lr & 10-lr \
            hline
            numIters & 20 & 20 & 20 & 20 & 20 \
            hline
            numEps & 20 & 20 & 20 & 20 & 20 \
            hline
            tempThreshold & 400 & 400 & 400 & 400 & 400 \
            hline
            updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \
            hline
            numMCTSSims & 50 & 50 & 50 & 50 & 50 \
            hline
            arenaCompare & 20 & 20 & 20 & 20 & 20 \
            hline
            cpuct & 1 & 1 & 1 & 1 & 1 \
            hline
            numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \
            hline
            & & & & & \
            hline
            lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \
            hline
            epochs & 10 & 10 & 10 & 10 & 10 \
            hline
            batch_size & 32 & 32 & 32 & 32 & 32 \
            hline
            residual_block_num & 5 & 2 & 10 & 2 & 10 \
            hline
            image_stack_layers & 9 & 9 & 9 & 9 & 9 \
            hline
            end{tabular}
            end{table}
            end{document}


            enter image description here



            EDIT: if it should be more clear that each of the columns should be something like exp-resLayer<i> then one could change that to:



            documentclass{article}
            usepackage[T1]{fontenc}
            usepackage{array}

            textwidth 15cm
            textheight 22cm
            parindent 10pt
            oddsidemargin 0.85cm
            evensidemargin 0.37cm

            begin{document}
            begin{table}
            begin{tabular}{|l|c|c|c|c|c|}
            hline
            & & multicolumn{4}{c|}{exp-resLayer$langle irangle$} \
            cline{3-6}
            & base & 2 & 10 & 2-lr & 10-lr \
            hline
            numIters & 20 & 20 & 20 & 20 & 20 \
            hline
            numEps & 20 & 20 & 20 & 20 & 20 \
            hline
            tempThreshold & 400 & 400 & 400 & 400 & 400 \
            hline
            updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \
            hline
            numMCTSSims & 50 & 50 & 50 & 50 & 50 \
            hline
            arenaCompare & 20 & 20 & 20 & 20 & 20 \
            hline
            cpuct & 1 & 1 & 1 & 1 & 1 \
            hline
            numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \
            hline
            & & & & & \
            hline
            lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \
            hline
            epochs & 10 & 10 & 10 & 10 & 10 \
            hline
            batch_size & 32 & 32 & 32 & 32 & 32 \
            hline
            residual_block_num & 5 & 2 & 10 & 2 & 10 \
            hline
            image_stack_layers & 9 & 9 & 9 & 9 & 9 \
            hline
            end{tabular}
            end{table}
            end{document}


            enter image description here



            An imho prettier version without all those vertical rules and less horizontal ones:



            documentclass{article}
            usepackage[T1]{fontenc}
            usepackage{array}

            textwidth 15cm
            textheight 22cm
            parindent 10pt
            oddsidemargin 0.85cm
            evensidemargin 0.37cm

            usepackage{booktabs}

            begin{document}
            begin{table}
            begin{tabular}{l*5c}
            toprule
            & & multicolumn{4}{c}{exp-resLayer} \
            cmidrule{3-6}
            & base & 2 & 10 & 2-lr & 10-lr \
            midrule
            numIters & 20 & 20 & 20 & 20 & 20 \
            numEps & 20 & 20 & 20 & 20 & 20 \
            tempThreshold & 400 & 400 & 400 & 400 & 400 \
            updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \
            numMCTSSims & 50 & 50 & 50 & 50 & 50 \
            arenaCompare & 20 & 20 & 20 & 20 & 20 \
            cpuct & 1 & 1 & 1 & 1 & 1 \
            numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \
            noalign{medskip}
            lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \
            epochs & 10 & 10 & 10 & 10 & 10 \
            batch_size & 32 & 32 & 32 & 32 & 32 \
            residual_block_num & 5 & 2 & 10 & 2 & 10 \
            image_stack_layers & 9 & 9 & 9 & 9 & 9 \
            bottomrule
            end{tabular}
            end{table}
            end{document}


            enter image description here






            share|improve this answer


























            • In this example is not exactly clear, the head should be repeated

              – Davide
              8 hours ago











            • @Davide do you think so?

              – Skillmon
              8 hours ago











            • Yes, for my purposes I need repeated. Thanks

              – Davide
              8 hours ago











            • @Davide is the edit better?

              – Skillmon
              8 hours ago











            • If there are no other ways to do it, yes is better thanks!

              – Davide
              8 hours ago














            1












            1








            1







            Moving the duplicate information of exp-resLayer out of each head and above them in a multicolumn does wonders to your table width:



            documentclass{article}
            usepackage[T1]{fontenc}
            usepackage{array}

            textwidth 15cm
            textheight 22cm
            parindent 10pt
            oddsidemargin 0.85cm
            evensidemargin 0.37cm

            begin{document}
            begin{table}
            begin{tabular}{|l|c|c|c|c|c|}
            hline
            & & multicolumn{4}{c|}{exp-resLayer} \
            cline{3-6}
            & base & 2 & 10 & 2-lr & 10-lr \
            hline
            numIters & 20 & 20 & 20 & 20 & 20 \
            hline
            numEps & 20 & 20 & 20 & 20 & 20 \
            hline
            tempThreshold & 400 & 400 & 400 & 400 & 400 \
            hline
            updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \
            hline
            numMCTSSims & 50 & 50 & 50 & 50 & 50 \
            hline
            arenaCompare & 20 & 20 & 20 & 20 & 20 \
            hline
            cpuct & 1 & 1 & 1 & 1 & 1 \
            hline
            numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \
            hline
            & & & & & \
            hline
            lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \
            hline
            epochs & 10 & 10 & 10 & 10 & 10 \
            hline
            batch_size & 32 & 32 & 32 & 32 & 32 \
            hline
            residual_block_num & 5 & 2 & 10 & 2 & 10 \
            hline
            image_stack_layers & 9 & 9 & 9 & 9 & 9 \
            hline
            end{tabular}
            end{table}
            end{document}


            enter image description here



            EDIT: if it should be more clear that each of the columns should be something like exp-resLayer<i> then one could change that to:



            documentclass{article}
            usepackage[T1]{fontenc}
            usepackage{array}

            textwidth 15cm
            textheight 22cm
            parindent 10pt
            oddsidemargin 0.85cm
            evensidemargin 0.37cm

            begin{document}
            begin{table}
            begin{tabular}{|l|c|c|c|c|c|}
            hline
            & & multicolumn{4}{c|}{exp-resLayer$langle irangle$} \
            cline{3-6}
            & base & 2 & 10 & 2-lr & 10-lr \
            hline
            numIters & 20 & 20 & 20 & 20 & 20 \
            hline
            numEps & 20 & 20 & 20 & 20 & 20 \
            hline
            tempThreshold & 400 & 400 & 400 & 400 & 400 \
            hline
            updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \
            hline
            numMCTSSims & 50 & 50 & 50 & 50 & 50 \
            hline
            arenaCompare & 20 & 20 & 20 & 20 & 20 \
            hline
            cpuct & 1 & 1 & 1 & 1 & 1 \
            hline
            numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \
            hline
            & & & & & \
            hline
            lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \
            hline
            epochs & 10 & 10 & 10 & 10 & 10 \
            hline
            batch_size & 32 & 32 & 32 & 32 & 32 \
            hline
            residual_block_num & 5 & 2 & 10 & 2 & 10 \
            hline
            image_stack_layers & 9 & 9 & 9 & 9 & 9 \
            hline
            end{tabular}
            end{table}
            end{document}


            enter image description here



            An imho prettier version without all those vertical rules and less horizontal ones:



            documentclass{article}
            usepackage[T1]{fontenc}
            usepackage{array}

            textwidth 15cm
            textheight 22cm
            parindent 10pt
            oddsidemargin 0.85cm
            evensidemargin 0.37cm

            usepackage{booktabs}

            begin{document}
            begin{table}
            begin{tabular}{l*5c}
            toprule
            & & multicolumn{4}{c}{exp-resLayer} \
            cmidrule{3-6}
            & base & 2 & 10 & 2-lr & 10-lr \
            midrule
            numIters & 20 & 20 & 20 & 20 & 20 \
            numEps & 20 & 20 & 20 & 20 & 20 \
            tempThreshold & 400 & 400 & 400 & 400 & 400 \
            updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \
            numMCTSSims & 50 & 50 & 50 & 50 & 50 \
            arenaCompare & 20 & 20 & 20 & 20 & 20 \
            cpuct & 1 & 1 & 1 & 1 & 1 \
            numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \
            noalign{medskip}
            lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \
            epochs & 10 & 10 & 10 & 10 & 10 \
            batch_size & 32 & 32 & 32 & 32 & 32 \
            residual_block_num & 5 & 2 & 10 & 2 & 10 \
            image_stack_layers & 9 & 9 & 9 & 9 & 9 \
            bottomrule
            end{tabular}
            end{table}
            end{document}


            enter image description here






            share|improve this answer















            Moving the duplicate information of exp-resLayer out of each head and above them in a multicolumn does wonders to your table width:



            documentclass{article}
            usepackage[T1]{fontenc}
            usepackage{array}

            textwidth 15cm
            textheight 22cm
            parindent 10pt
            oddsidemargin 0.85cm
            evensidemargin 0.37cm

            begin{document}
            begin{table}
            begin{tabular}{|l|c|c|c|c|c|}
            hline
            & & multicolumn{4}{c|}{exp-resLayer} \
            cline{3-6}
            & base & 2 & 10 & 2-lr & 10-lr \
            hline
            numIters & 20 & 20 & 20 & 20 & 20 \
            hline
            numEps & 20 & 20 & 20 & 20 & 20 \
            hline
            tempThreshold & 400 & 400 & 400 & 400 & 400 \
            hline
            updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \
            hline
            numMCTSSims & 50 & 50 & 50 & 50 & 50 \
            hline
            arenaCompare & 20 & 20 & 20 & 20 & 20 \
            hline
            cpuct & 1 & 1 & 1 & 1 & 1 \
            hline
            numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \
            hline
            & & & & & \
            hline
            lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \
            hline
            epochs & 10 & 10 & 10 & 10 & 10 \
            hline
            batch_size & 32 & 32 & 32 & 32 & 32 \
            hline
            residual_block_num & 5 & 2 & 10 & 2 & 10 \
            hline
            image_stack_layers & 9 & 9 & 9 & 9 & 9 \
            hline
            end{tabular}
            end{table}
            end{document}


            enter image description here



            EDIT: if it should be more clear that each of the columns should be something like exp-resLayer<i> then one could change that to:



            documentclass{article}
            usepackage[T1]{fontenc}
            usepackage{array}

            textwidth 15cm
            textheight 22cm
            parindent 10pt
            oddsidemargin 0.85cm
            evensidemargin 0.37cm

            begin{document}
            begin{table}
            begin{tabular}{|l|c|c|c|c|c|}
            hline
            & & multicolumn{4}{c|}{exp-resLayer$langle irangle$} \
            cline{3-6}
            & base & 2 & 10 & 2-lr & 10-lr \
            hline
            numIters & 20 & 20 & 20 & 20 & 20 \
            hline
            numEps & 20 & 20 & 20 & 20 & 20 \
            hline
            tempThreshold & 400 & 400 & 400 & 400 & 400 \
            hline
            updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \
            hline
            numMCTSSims & 50 & 50 & 50 & 50 & 50 \
            hline
            arenaCompare & 20 & 20 & 20 & 20 & 20 \
            hline
            cpuct & 1 & 1 & 1 & 1 & 1 \
            hline
            numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \
            hline
            & & & & & \
            hline
            lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \
            hline
            epochs & 10 & 10 & 10 & 10 & 10 \
            hline
            batch_size & 32 & 32 & 32 & 32 & 32 \
            hline
            residual_block_num & 5 & 2 & 10 & 2 & 10 \
            hline
            image_stack_layers & 9 & 9 & 9 & 9 & 9 \
            hline
            end{tabular}
            end{table}
            end{document}


            enter image description here



            An imho prettier version without all those vertical rules and less horizontal ones:



            documentclass{article}
            usepackage[T1]{fontenc}
            usepackage{array}

            textwidth 15cm
            textheight 22cm
            parindent 10pt
            oddsidemargin 0.85cm
            evensidemargin 0.37cm

            usepackage{booktabs}

            begin{document}
            begin{table}
            begin{tabular}{l*5c}
            toprule
            & & multicolumn{4}{c}{exp-resLayer} \
            cmidrule{3-6}
            & base & 2 & 10 & 2-lr & 10-lr \
            midrule
            numIters & 20 & 20 & 20 & 20 & 20 \
            numEps & 20 & 20 & 20 & 20 & 20 \
            tempThreshold & 400 & 400 & 400 & 400 & 400 \
            updateThreshold & 0.54 & 0.54 & 0.54 & 0.54 & 0.54 \
            numMCTSSims & 50 & 50 & 50 & 50 & 50 \
            arenaCompare & 20 & 20 & 20 & 20 & 20 \
            cpuct & 1 & 1 & 1 & 1 & 1 \
            numItersForTrainExamplesHistory & 20 & 20 & 20 & 20 & 20 \
            noalign{medskip}
            lr & 0.01 & 0.01 & 0.001 & 0.01 & 0.001 \
            epochs & 10 & 10 & 10 & 10 & 10 \
            batch_size & 32 & 32 & 32 & 32 & 32 \
            residual_block_num & 5 & 2 & 10 & 2 & 10 \
            image_stack_layers & 9 & 9 & 9 & 9 & 9 \
            bottomrule
            end{tabular}
            end{table}
            end{document}


            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 8 hours ago

























            answered 8 hours ago









            SkillmonSkillmon

            25.7k12553




            25.7k12553













            • In this example is not exactly clear, the head should be repeated

              – Davide
              8 hours ago











            • @Davide do you think so?

              – Skillmon
              8 hours ago











            • Yes, for my purposes I need repeated. Thanks

              – Davide
              8 hours ago











            • @Davide is the edit better?

              – Skillmon
              8 hours ago











            • If there are no other ways to do it, yes is better thanks!

              – Davide
              8 hours ago



















            • In this example is not exactly clear, the head should be repeated

              – Davide
              8 hours ago











            • @Davide do you think so?

              – Skillmon
              8 hours ago











            • Yes, for my purposes I need repeated. Thanks

              – Davide
              8 hours ago











            • @Davide is the edit better?

              – Skillmon
              8 hours ago











            • If there are no other ways to do it, yes is better thanks!

              – Davide
              8 hours ago

















            In this example is not exactly clear, the head should be repeated

            – Davide
            8 hours ago





            In this example is not exactly clear, the head should be repeated

            – Davide
            8 hours ago













            @Davide do you think so?

            – Skillmon
            8 hours ago





            @Davide do you think so?

            – Skillmon
            8 hours ago













            Yes, for my purposes I need repeated. Thanks

            – Davide
            8 hours ago





            Yes, for my purposes I need repeated. Thanks

            – Davide
            8 hours ago













            @Davide is the edit better?

            – Skillmon
            8 hours ago





            @Davide is the edit better?

            – Skillmon
            8 hours ago













            If there are no other ways to do it, yes is better thanks!

            – Davide
            8 hours ago





            If there are no other ways to do it, yes is better thanks!

            – Davide
            8 hours ago










            Davide is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            Davide is a new contributor. Be nice, and check out our Code of Conduct.













            Davide is a new contributor. Be nice, and check out our Code of Conduct.












            Davide is a new contributor. Be nice, and check out our Code of Conduct.
















            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%2f494997%2fhow-make-a-table-fit-inside-the-margins%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

            Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

            Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

            Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...