Any ideas on how this table could be made better looking?












9














usepackage{multirow}
begin{table}[htbp]
begin{tabular}{p{2.5cm}p{2.5cm}p{1.5cm}p{6.5cm}}
hline
multicolumn{2}{c}{textbf{Parameters}} & multirow{2}{*}{textbf{Used value}} & multicolumn{1}{c}{multirow{2}{*}{textbf{Definition}}} \
textbf{Original} & textbf{English translation} & & multicolumn{1}{c}{} \
hline
Rechenlauf fortsetzen & Continue calculation & No & It determines whether a calculation run is to be continued. If yes, the result data from the file HYDRO_AS 2D.CPR is transferred to the program and used as initial boundary condition. \
Simulationszeit {[}s{]} & Simulation time {[}s{]} & 86400 & It defines the simulation time in seconds \
Zeitintervall SMS {[}s{]} & Time interval SMS {[}s{]} & 8640 & It defines the time interval (in seconds) for the storage of area-based result data which can be visualized with the SMS program following the calculations. \
Zeitintervall Q_Strg {[}s{]} & Time interval Q_Strg {[}s{]} & 900 & It defines the time interval (in seconds) for which the data of the node strings are written to the Q_Strg.dat. \
Hmin & multirow{5}{*}{} & 0.01 m & Minimum water depth \
VELMAX & & 15 m/s & Maximum velocity allowed \
Amin & & 1.e-15 mtextsuperscript{2} & Minimum element size allowed for calculating the internal calculation time step \
CMUVISC & & 0.60 & Coefficient cm in the viscosity formula \
SCF & & 1.00 & Coefficient for the additional acceleration of the calculation process \
hline
end{tabular}
end{table}


enter image description here










share|improve this question
























  • I would put "used value" on two lines.
    – Jay
    Nov 13 at 13:04
















9














usepackage{multirow}
begin{table}[htbp]
begin{tabular}{p{2.5cm}p{2.5cm}p{1.5cm}p{6.5cm}}
hline
multicolumn{2}{c}{textbf{Parameters}} & multirow{2}{*}{textbf{Used value}} & multicolumn{1}{c}{multirow{2}{*}{textbf{Definition}}} \
textbf{Original} & textbf{English translation} & & multicolumn{1}{c}{} \
hline
Rechenlauf fortsetzen & Continue calculation & No & It determines whether a calculation run is to be continued. If yes, the result data from the file HYDRO_AS 2D.CPR is transferred to the program and used as initial boundary condition. \
Simulationszeit {[}s{]} & Simulation time {[}s{]} & 86400 & It defines the simulation time in seconds \
Zeitintervall SMS {[}s{]} & Time interval SMS {[}s{]} & 8640 & It defines the time interval (in seconds) for the storage of area-based result data which can be visualized with the SMS program following the calculations. \
Zeitintervall Q_Strg {[}s{]} & Time interval Q_Strg {[}s{]} & 900 & It defines the time interval (in seconds) for which the data of the node strings are written to the Q_Strg.dat. \
Hmin & multirow{5}{*}{} & 0.01 m & Minimum water depth \
VELMAX & & 15 m/s & Maximum velocity allowed \
Amin & & 1.e-15 mtextsuperscript{2} & Minimum element size allowed for calculating the internal calculation time step \
CMUVISC & & 0.60 & Coefficient cm in the viscosity formula \
SCF & & 1.00 & Coefficient for the additional acceleration of the calculation process \
hline
end{tabular}
end{table}


enter image description here










share|improve this question
























  • I would put "used value" on two lines.
    – Jay
    Nov 13 at 13:04














9












9








9


1





usepackage{multirow}
begin{table}[htbp]
begin{tabular}{p{2.5cm}p{2.5cm}p{1.5cm}p{6.5cm}}
hline
multicolumn{2}{c}{textbf{Parameters}} & multirow{2}{*}{textbf{Used value}} & multicolumn{1}{c}{multirow{2}{*}{textbf{Definition}}} \
textbf{Original} & textbf{English translation} & & multicolumn{1}{c}{} \
hline
Rechenlauf fortsetzen & Continue calculation & No & It determines whether a calculation run is to be continued. If yes, the result data from the file HYDRO_AS 2D.CPR is transferred to the program and used as initial boundary condition. \
Simulationszeit {[}s{]} & Simulation time {[}s{]} & 86400 & It defines the simulation time in seconds \
Zeitintervall SMS {[}s{]} & Time interval SMS {[}s{]} & 8640 & It defines the time interval (in seconds) for the storage of area-based result data which can be visualized with the SMS program following the calculations. \
Zeitintervall Q_Strg {[}s{]} & Time interval Q_Strg {[}s{]} & 900 & It defines the time interval (in seconds) for which the data of the node strings are written to the Q_Strg.dat. \
Hmin & multirow{5}{*}{} & 0.01 m & Minimum water depth \
VELMAX & & 15 m/s & Maximum velocity allowed \
Amin & & 1.e-15 mtextsuperscript{2} & Minimum element size allowed for calculating the internal calculation time step \
CMUVISC & & 0.60 & Coefficient cm in the viscosity formula \
SCF & & 1.00 & Coefficient for the additional acceleration of the calculation process \
hline
end{tabular}
end{table}


enter image description here










share|improve this question















usepackage{multirow}
begin{table}[htbp]
begin{tabular}{p{2.5cm}p{2.5cm}p{1.5cm}p{6.5cm}}
hline
multicolumn{2}{c}{textbf{Parameters}} & multirow{2}{*}{textbf{Used value}} & multicolumn{1}{c}{multirow{2}{*}{textbf{Definition}}} \
textbf{Original} & textbf{English translation} & & multicolumn{1}{c}{} \
hline
Rechenlauf fortsetzen & Continue calculation & No & It determines whether a calculation run is to be continued. If yes, the result data from the file HYDRO_AS 2D.CPR is transferred to the program and used as initial boundary condition. \
Simulationszeit {[}s{]} & Simulation time {[}s{]} & 86400 & It defines the simulation time in seconds \
Zeitintervall SMS {[}s{]} & Time interval SMS {[}s{]} & 8640 & It defines the time interval (in seconds) for the storage of area-based result data which can be visualized with the SMS program following the calculations. \
Zeitintervall Q_Strg {[}s{]} & Time interval Q_Strg {[}s{]} & 900 & It defines the time interval (in seconds) for which the data of the node strings are written to the Q_Strg.dat. \
Hmin & multirow{5}{*}{} & 0.01 m & Minimum water depth \
VELMAX & & 15 m/s & Maximum velocity allowed \
Amin & & 1.e-15 mtextsuperscript{2} & Minimum element size allowed for calculating the internal calculation time step \
CMUVISC & & 0.60 & Coefficient cm in the viscosity formula \
SCF & & 1.00 & Coefficient for the additional acceleration of the calculation process \
hline
end{tabular}
end{table}


enter image description here







tables multirow multicolumn parbox






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 13 at 13:37









pluton

7,949960131




7,949960131










asked Nov 13 at 11:50









Bobolo

755




755












  • I would put "used value" on two lines.
    – Jay
    Nov 13 at 13:04


















  • I would put "used value" on two lines.
    – Jay
    Nov 13 at 13:04
















I would put "used value" on two lines.
– Jay
Nov 13 at 13:04




I would put "used value" on two lines.
– Jay
Nov 13 at 13:04










3 Answers
3






active

oldest

votes


















13














A few points:




  • use booktabs package for better spacing


  • use siunitx package to get the space between values and units right


  • use a tabularx to keep the table within the available textwidth, yours was much wider


  • subdivide the middle rule


  • your parameters seems to be the names of some variables? I'd write them either in typewriter font or in small caps.


  • left align the columns. Justified text in very narrow columns will never look good


  • you mix if the unit is part of the parameter name of used value. I don't know your program, so no idea what is the correct way, but be consistent


  • make the content of the table and the rules aligned by using @{}





documentclass{article}

usepackage{geometry}
usepackage{booktabs}
usepackage{array}
usepackage{multirow}
usepackage{tabularx}
usepackage{siunitx}


newcolumntype{L}[1]{>{centeringraggedright}m{#1}}

begin{document}


begin{table}[htbp]
renewcommand{arraystretch}{1.5}
begin{tabularx}{linewidth}{@{}L{2.5cm}L{2.5cm}L{1.5cm}X@{}}
toprule
multicolumn{2}{c}{textbf{Parametershspace{1em}}} & & \
textbf{Original} & textbf{English translation} & textbf{Used value} & textbf{Definition} \

cmidrule(r){1-2} cmidrule(lr){3-3} cmidrule(l){4-4}

Rechenlauf fortsetzen & Continue calculation & No & It determines whether a calculation run is to be continued. If yes, the result data from the file texttt{HYDRO_AS 2D.CPR} is transferred to the program and used as initial boundary condition. \

Simulationszeit & Simulation time & SI{86400}{s} & It defines the simulation time in seconds \

Zeitintervall texttt{SMS} & Time interval texttt{SMS} & SI{8640}{s} & It defines the time interval (in seconds) for the storage of area-based result data which can be visualized with the texttt{SMS} program following the calculations. \

Zeitintervall texttt{Q_Strg} & Time interval texttt{Q_Strg} & SI{900}{s} & It defines the time interval (in seconds) for which the data of the node strings are written to the texttt{Q_Strg.dat}. \

Hmin & multirow{5}{*}{} & SI{0.01}{m} & Minimum water depth \

texttt{VELMAX} & & SI{15}{m/s} & Maximum velocity allowed \

Amin & & SI{e-15}{metersquare} & Minimum element size allowed for calculating the internal calculation time step \

texttt{CMUVISC} & & 0.60 & Coefficient cm in the viscosity formula \

texttt{SCF} & & 1.00 & Coefficient for the additional acceleration of the calculation process \
bottomrule
end{tabularx}
end{table}

end{document}


enter image description here






share|improve this answer



















  • 3




    Personally I would put also a cmidrule to "Parameters".
    – Fran
    Nov 13 at 13:23












  • Could longtable be also used for this table? Could it be split in case it's too long using longtable and pagebreak?
    – Bobolo
    Nov 27 at 23:29












  • @Bobolo Sure, just like the answer you got in tex.stackexchange.com/a/461892/36296
    – samcarter
    Nov 28 at 9:29












  • It did not work, that is why I asked. I thought you might know better as this table is created by you.
    – Bobolo
    Nov 28 at 14:41








  • 1




    @Bobolo If I fix the error about the missing definition of textdegree tex.stackexchange.com/a/461892/36296 works fine. (but I strongly suggest to use siunitx for numbers/units, otherwise the spacing will be wrong)
    – samcarter
    Nov 28 at 14:50



















5














Here's a solution that's very similar to the one posted by @samcarter. E.g., it uses a tabularx environment, doesn't fully justify the cell contents, and uses the macros num, si, and SI of the siunitx package to display numbers, scientific units, and combinations of numbers and associated units.



Some differences:




  • No line breaks allowed in column 3

  • Automatic hanging indentation of cell contents in columns 1 and 2

  • No bold-facing of header cells

  • Terser language in column 4

  • Use path macro (provided by url package) to typeset file names

  • Use of , (comma) as thousands-separator for numbers with 4 or more digits


enter image description here



documentclass{article}
usepackage[a4paper]{geometry} % set page parameters suitably
usepackage[hyphens,spaces,obeyspaces]{url} % for 'path' macro
usepackage{ragged2e,tabularx,booktabs,siunitx}
newcolumntype{L}{>{RaggedRightarraybackslash}X}
newcolumntype{P}[2]{>{RaggedRighthangafter=1hangindent=1em}p{#1}}
begin{document}
begin{table}[htbp]
sisetup{per-mode=symbol,
tight-spacing,
group-minimum-digits=4,
group-separator={,}}
begin{tabularx}{textwidth}{@{} *{2}{P{2.2cm}}lL @{}}
toprule
multicolumn{2}{c}{Parameters} & Used value & Definition \
cmidrule(r){1-2}
Original & English translation \
midrule
Rechenlauf fortsetzen & Continue calculation & No & Determines whether a calculation run is to be continued. If yes, result data from the file path{HYDRO_AS 2D.CPR} is transferred to program and used as initial boundary condition \
Simulations-zeit [si{second}] & Simulation time [si{second}] & num{86400} & Simulation time, in seconds \
Zeitintervall SMS [si{second}]& Time interval SMS [si{second}] & num{8640} & Time interval (in seconds) for storage of area-based result data which can be visualized with the SMS program following the calculations \
Zeitintervall Q_Strg [si{second}] & Time interval Q_Strg [si{second}] & num{900} & Time interval (in seconds) for which the data of the node strings are written to path{Q_Strg.dat} \
Hmin & & SI{0.01}{meter} & Minimum water depth \
VELMAX & & SI{15}{meterpersecond} & Maximum velocity allowed \
Amin & & SI{e-15}{metersquared} & Minimum element size allowed for calculating the internal calculation time step \
CMUVISC & & num{0.60} & Coefficient cm in viscosity formula \
SCF & & num{1.00} & Coefficient for additional acceleration of calculation process \
bottomrule
end{tabularx}
end{table}
end{document}





share|improve this answer



















  • 1




    Nice answer! The indention looks nice. Tiny problem: path does not preserve the space within the file name (ok, file names should not have spaces, but ...)
    – samcarter
    Nov 13 at 13:51








  • 1




    @samcarter - Good catch about the space inside the file name! This issue can be remedied easily by adding the option obeyspaces when loading the url package. I'll update the answer accordingly.
    – Mico
    Nov 13 at 13:57





















3














This is a slightly off-topic answer, in that others have covered the TeX aspects better than I could and I concentrate on the writing.



You can tighten up the wording of many of the entries in the last column. The "It" at the start of many entries is definitely superfluous. I'd also drop "determines" or "defines" and the "the". You can lose some other articles as well and generally copy-edit your text into a shorter form. I've had a go for you, see below. I may have overdone it in some cases but I still think the first entry is a little wordy. This saves a line on each of all but one of your multiline items, making the whole lot easier to read. Also you've got full stops on some entries but not others.



I'd also add a little vertical space between rows (the total height can still be less within the copy-editing), to make the last column easier to read . Use raggedright to split lines between words rather than hyphenating I've used raggedright for "Continue Calculation", but not for the teo cells starting "Time interval", to demonstrate the effect. These points are covered in other answers, as is the use of texttt which I've inconsistently demonstrated.



In particular line breaks in variable names and the like should really be avoided



defarraystretch{1.5}%
begin{table}[htbp]
begin{tabular}{p{2.5cm}p{2.5cm}p{1.5cm}p{6.5cm}}
hline
multicolumn{2}{c}{textbf{Parameters}} & multirow{2}{*}{textbf{Used value}} & multicolumn{1}{c}{multirow{2}{*}{textbf{Definition}}} \
textbf{Original} & textbf{English translation} & & multicolumn{1}{c}{} \
hline
Rechenlauf fortsetzen & raggedright Continue calculation & No & Whether calculation run is to be continued. If yes, results from file texttt{HYDRO_AS 2D.CPR} are transferred to the program and used as initial condition. \
Simulationszeit {[}s{]} & Simulation time {[}s{]} & 86400 & Simulation time (in seconds) \
Zeitintervall SMS {[}s{]} & Time interval SMS {[}s{]} & 8640 & Time interval (in seconds) for storage of area-based results which can subsequently be visualized with the SMS program. \
Zeitintervall Q_Strg {[}s{]} & Time interval Q_Strg {[}s{]} & 900 & Time interval (in seconds) for which data of the node strings are written to texttt{Q_Strg.dat}. \
Hmin & multirow{5}{*}{} & 0.01 m & Minimum water depth \
VELMAX & & 15 m/s & Maximum velocity \
Amin & & 1.e-15 mtextsuperscript{2} & Minimum element size for calculating internal calculation time step \
CMUVISC & & 0.60 & Coefficient cm in viscosity formula \
SCF & & 1.00 & Coefficient for additional acceleration of calculation process \
hline
end{tabular}
end{table}


Output






share|improve this answer



















  • 1




    Can you think of a method for reducing the sizable inter-word gaps in the second column?
    – Mico
    Nov 13 at 15:38








  • 1




    @Mico more raggedrights will do it -- I'll expand the answer. I prefer to use it locally so I can apply my own judgement as to which cells need it (rather than figuring out a way of making a column ragged -- another question)
    – Chris H
    Nov 13 at 15:45











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%2f459767%2fany-ideas-on-how-this-table-could-be-made-better-looking%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























3 Answers
3






active

oldest

votes








3 Answers
3






active

oldest

votes









active

oldest

votes






active

oldest

votes









13














A few points:




  • use booktabs package for better spacing


  • use siunitx package to get the space between values and units right


  • use a tabularx to keep the table within the available textwidth, yours was much wider


  • subdivide the middle rule


  • your parameters seems to be the names of some variables? I'd write them either in typewriter font or in small caps.


  • left align the columns. Justified text in very narrow columns will never look good


  • you mix if the unit is part of the parameter name of used value. I don't know your program, so no idea what is the correct way, but be consistent


  • make the content of the table and the rules aligned by using @{}





documentclass{article}

usepackage{geometry}
usepackage{booktabs}
usepackage{array}
usepackage{multirow}
usepackage{tabularx}
usepackage{siunitx}


newcolumntype{L}[1]{>{centeringraggedright}m{#1}}

begin{document}


begin{table}[htbp]
renewcommand{arraystretch}{1.5}
begin{tabularx}{linewidth}{@{}L{2.5cm}L{2.5cm}L{1.5cm}X@{}}
toprule
multicolumn{2}{c}{textbf{Parametershspace{1em}}} & & \
textbf{Original} & textbf{English translation} & textbf{Used value} & textbf{Definition} \

cmidrule(r){1-2} cmidrule(lr){3-3} cmidrule(l){4-4}

Rechenlauf fortsetzen & Continue calculation & No & It determines whether a calculation run is to be continued. If yes, the result data from the file texttt{HYDRO_AS 2D.CPR} is transferred to the program and used as initial boundary condition. \

Simulationszeit & Simulation time & SI{86400}{s} & It defines the simulation time in seconds \

Zeitintervall texttt{SMS} & Time interval texttt{SMS} & SI{8640}{s} & It defines the time interval (in seconds) for the storage of area-based result data which can be visualized with the texttt{SMS} program following the calculations. \

Zeitintervall texttt{Q_Strg} & Time interval texttt{Q_Strg} & SI{900}{s} & It defines the time interval (in seconds) for which the data of the node strings are written to the texttt{Q_Strg.dat}. \

Hmin & multirow{5}{*}{} & SI{0.01}{m} & Minimum water depth \

texttt{VELMAX} & & SI{15}{m/s} & Maximum velocity allowed \

Amin & & SI{e-15}{metersquare} & Minimum element size allowed for calculating the internal calculation time step \

texttt{CMUVISC} & & 0.60 & Coefficient cm in the viscosity formula \

texttt{SCF} & & 1.00 & Coefficient for the additional acceleration of the calculation process \
bottomrule
end{tabularx}
end{table}

end{document}


enter image description here






share|improve this answer



















  • 3




    Personally I would put also a cmidrule to "Parameters".
    – Fran
    Nov 13 at 13:23












  • Could longtable be also used for this table? Could it be split in case it's too long using longtable and pagebreak?
    – Bobolo
    Nov 27 at 23:29












  • @Bobolo Sure, just like the answer you got in tex.stackexchange.com/a/461892/36296
    – samcarter
    Nov 28 at 9:29












  • It did not work, that is why I asked. I thought you might know better as this table is created by you.
    – Bobolo
    Nov 28 at 14:41








  • 1




    @Bobolo If I fix the error about the missing definition of textdegree tex.stackexchange.com/a/461892/36296 works fine. (but I strongly suggest to use siunitx for numbers/units, otherwise the spacing will be wrong)
    – samcarter
    Nov 28 at 14:50
















13














A few points:




  • use booktabs package for better spacing


  • use siunitx package to get the space between values and units right


  • use a tabularx to keep the table within the available textwidth, yours was much wider


  • subdivide the middle rule


  • your parameters seems to be the names of some variables? I'd write them either in typewriter font or in small caps.


  • left align the columns. Justified text in very narrow columns will never look good


  • you mix if the unit is part of the parameter name of used value. I don't know your program, so no idea what is the correct way, but be consistent


  • make the content of the table and the rules aligned by using @{}





documentclass{article}

usepackage{geometry}
usepackage{booktabs}
usepackage{array}
usepackage{multirow}
usepackage{tabularx}
usepackage{siunitx}


newcolumntype{L}[1]{>{centeringraggedright}m{#1}}

begin{document}


begin{table}[htbp]
renewcommand{arraystretch}{1.5}
begin{tabularx}{linewidth}{@{}L{2.5cm}L{2.5cm}L{1.5cm}X@{}}
toprule
multicolumn{2}{c}{textbf{Parametershspace{1em}}} & & \
textbf{Original} & textbf{English translation} & textbf{Used value} & textbf{Definition} \

cmidrule(r){1-2} cmidrule(lr){3-3} cmidrule(l){4-4}

Rechenlauf fortsetzen & Continue calculation & No & It determines whether a calculation run is to be continued. If yes, the result data from the file texttt{HYDRO_AS 2D.CPR} is transferred to the program and used as initial boundary condition. \

Simulationszeit & Simulation time & SI{86400}{s} & It defines the simulation time in seconds \

Zeitintervall texttt{SMS} & Time interval texttt{SMS} & SI{8640}{s} & It defines the time interval (in seconds) for the storage of area-based result data which can be visualized with the texttt{SMS} program following the calculations. \

Zeitintervall texttt{Q_Strg} & Time interval texttt{Q_Strg} & SI{900}{s} & It defines the time interval (in seconds) for which the data of the node strings are written to the texttt{Q_Strg.dat}. \

Hmin & multirow{5}{*}{} & SI{0.01}{m} & Minimum water depth \

texttt{VELMAX} & & SI{15}{m/s} & Maximum velocity allowed \

Amin & & SI{e-15}{metersquare} & Minimum element size allowed for calculating the internal calculation time step \

texttt{CMUVISC} & & 0.60 & Coefficient cm in the viscosity formula \

texttt{SCF} & & 1.00 & Coefficient for the additional acceleration of the calculation process \
bottomrule
end{tabularx}
end{table}

end{document}


enter image description here






share|improve this answer



















  • 3




    Personally I would put also a cmidrule to "Parameters".
    – Fran
    Nov 13 at 13:23












  • Could longtable be also used for this table? Could it be split in case it's too long using longtable and pagebreak?
    – Bobolo
    Nov 27 at 23:29












  • @Bobolo Sure, just like the answer you got in tex.stackexchange.com/a/461892/36296
    – samcarter
    Nov 28 at 9:29












  • It did not work, that is why I asked. I thought you might know better as this table is created by you.
    – Bobolo
    Nov 28 at 14:41








  • 1




    @Bobolo If I fix the error about the missing definition of textdegree tex.stackexchange.com/a/461892/36296 works fine. (but I strongly suggest to use siunitx for numbers/units, otherwise the spacing will be wrong)
    – samcarter
    Nov 28 at 14:50














13












13








13






A few points:




  • use booktabs package for better spacing


  • use siunitx package to get the space between values and units right


  • use a tabularx to keep the table within the available textwidth, yours was much wider


  • subdivide the middle rule


  • your parameters seems to be the names of some variables? I'd write them either in typewriter font or in small caps.


  • left align the columns. Justified text in very narrow columns will never look good


  • you mix if the unit is part of the parameter name of used value. I don't know your program, so no idea what is the correct way, but be consistent


  • make the content of the table and the rules aligned by using @{}





documentclass{article}

usepackage{geometry}
usepackage{booktabs}
usepackage{array}
usepackage{multirow}
usepackage{tabularx}
usepackage{siunitx}


newcolumntype{L}[1]{>{centeringraggedright}m{#1}}

begin{document}


begin{table}[htbp]
renewcommand{arraystretch}{1.5}
begin{tabularx}{linewidth}{@{}L{2.5cm}L{2.5cm}L{1.5cm}X@{}}
toprule
multicolumn{2}{c}{textbf{Parametershspace{1em}}} & & \
textbf{Original} & textbf{English translation} & textbf{Used value} & textbf{Definition} \

cmidrule(r){1-2} cmidrule(lr){3-3} cmidrule(l){4-4}

Rechenlauf fortsetzen & Continue calculation & No & It determines whether a calculation run is to be continued. If yes, the result data from the file texttt{HYDRO_AS 2D.CPR} is transferred to the program and used as initial boundary condition. \

Simulationszeit & Simulation time & SI{86400}{s} & It defines the simulation time in seconds \

Zeitintervall texttt{SMS} & Time interval texttt{SMS} & SI{8640}{s} & It defines the time interval (in seconds) for the storage of area-based result data which can be visualized with the texttt{SMS} program following the calculations. \

Zeitintervall texttt{Q_Strg} & Time interval texttt{Q_Strg} & SI{900}{s} & It defines the time interval (in seconds) for which the data of the node strings are written to the texttt{Q_Strg.dat}. \

Hmin & multirow{5}{*}{} & SI{0.01}{m} & Minimum water depth \

texttt{VELMAX} & & SI{15}{m/s} & Maximum velocity allowed \

Amin & & SI{e-15}{metersquare} & Minimum element size allowed for calculating the internal calculation time step \

texttt{CMUVISC} & & 0.60 & Coefficient cm in the viscosity formula \

texttt{SCF} & & 1.00 & Coefficient for the additional acceleration of the calculation process \
bottomrule
end{tabularx}
end{table}

end{document}


enter image description here






share|improve this answer














A few points:




  • use booktabs package for better spacing


  • use siunitx package to get the space between values and units right


  • use a tabularx to keep the table within the available textwidth, yours was much wider


  • subdivide the middle rule


  • your parameters seems to be the names of some variables? I'd write them either in typewriter font or in small caps.


  • left align the columns. Justified text in very narrow columns will never look good


  • you mix if the unit is part of the parameter name of used value. I don't know your program, so no idea what is the correct way, but be consistent


  • make the content of the table and the rules aligned by using @{}





documentclass{article}

usepackage{geometry}
usepackage{booktabs}
usepackage{array}
usepackage{multirow}
usepackage{tabularx}
usepackage{siunitx}


newcolumntype{L}[1]{>{centeringraggedright}m{#1}}

begin{document}


begin{table}[htbp]
renewcommand{arraystretch}{1.5}
begin{tabularx}{linewidth}{@{}L{2.5cm}L{2.5cm}L{1.5cm}X@{}}
toprule
multicolumn{2}{c}{textbf{Parametershspace{1em}}} & & \
textbf{Original} & textbf{English translation} & textbf{Used value} & textbf{Definition} \

cmidrule(r){1-2} cmidrule(lr){3-3} cmidrule(l){4-4}

Rechenlauf fortsetzen & Continue calculation & No & It determines whether a calculation run is to be continued. If yes, the result data from the file texttt{HYDRO_AS 2D.CPR} is transferred to the program and used as initial boundary condition. \

Simulationszeit & Simulation time & SI{86400}{s} & It defines the simulation time in seconds \

Zeitintervall texttt{SMS} & Time interval texttt{SMS} & SI{8640}{s} & It defines the time interval (in seconds) for the storage of area-based result data which can be visualized with the texttt{SMS} program following the calculations. \

Zeitintervall texttt{Q_Strg} & Time interval texttt{Q_Strg} & SI{900}{s} & It defines the time interval (in seconds) for which the data of the node strings are written to the texttt{Q_Strg.dat}. \

Hmin & multirow{5}{*}{} & SI{0.01}{m} & Minimum water depth \

texttt{VELMAX} & & SI{15}{m/s} & Maximum velocity allowed \

Amin & & SI{e-15}{metersquare} & Minimum element size allowed for calculating the internal calculation time step \

texttt{CMUVISC} & & 0.60 & Coefficient cm in the viscosity formula \

texttt{SCF} & & 1.00 & Coefficient for the additional acceleration of the calculation process \
bottomrule
end{tabularx}
end{table}

end{document}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 13 at 13:17

























answered Nov 13 at 13:03









samcarter

85.6k794274




85.6k794274








  • 3




    Personally I would put also a cmidrule to "Parameters".
    – Fran
    Nov 13 at 13:23












  • Could longtable be also used for this table? Could it be split in case it's too long using longtable and pagebreak?
    – Bobolo
    Nov 27 at 23:29












  • @Bobolo Sure, just like the answer you got in tex.stackexchange.com/a/461892/36296
    – samcarter
    Nov 28 at 9:29












  • It did not work, that is why I asked. I thought you might know better as this table is created by you.
    – Bobolo
    Nov 28 at 14:41








  • 1




    @Bobolo If I fix the error about the missing definition of textdegree tex.stackexchange.com/a/461892/36296 works fine. (but I strongly suggest to use siunitx for numbers/units, otherwise the spacing will be wrong)
    – samcarter
    Nov 28 at 14:50














  • 3




    Personally I would put also a cmidrule to "Parameters".
    – Fran
    Nov 13 at 13:23












  • Could longtable be also used for this table? Could it be split in case it's too long using longtable and pagebreak?
    – Bobolo
    Nov 27 at 23:29












  • @Bobolo Sure, just like the answer you got in tex.stackexchange.com/a/461892/36296
    – samcarter
    Nov 28 at 9:29












  • It did not work, that is why I asked. I thought you might know better as this table is created by you.
    – Bobolo
    Nov 28 at 14:41








  • 1




    @Bobolo If I fix the error about the missing definition of textdegree tex.stackexchange.com/a/461892/36296 works fine. (but I strongly suggest to use siunitx for numbers/units, otherwise the spacing will be wrong)
    – samcarter
    Nov 28 at 14:50








3




3




Personally I would put also a cmidrule to "Parameters".
– Fran
Nov 13 at 13:23






Personally I would put also a cmidrule to "Parameters".
– Fran
Nov 13 at 13:23














Could longtable be also used for this table? Could it be split in case it's too long using longtable and pagebreak?
– Bobolo
Nov 27 at 23:29






Could longtable be also used for this table? Could it be split in case it's too long using longtable and pagebreak?
– Bobolo
Nov 27 at 23:29














@Bobolo Sure, just like the answer you got in tex.stackexchange.com/a/461892/36296
– samcarter
Nov 28 at 9:29






@Bobolo Sure, just like the answer you got in tex.stackexchange.com/a/461892/36296
– samcarter
Nov 28 at 9:29














It did not work, that is why I asked. I thought you might know better as this table is created by you.
– Bobolo
Nov 28 at 14:41






It did not work, that is why I asked. I thought you might know better as this table is created by you.
– Bobolo
Nov 28 at 14:41






1




1




@Bobolo If I fix the error about the missing definition of textdegree tex.stackexchange.com/a/461892/36296 works fine. (but I strongly suggest to use siunitx for numbers/units, otherwise the spacing will be wrong)
– samcarter
Nov 28 at 14:50




@Bobolo If I fix the error about the missing definition of textdegree tex.stackexchange.com/a/461892/36296 works fine. (but I strongly suggest to use siunitx for numbers/units, otherwise the spacing will be wrong)
– samcarter
Nov 28 at 14:50











5














Here's a solution that's very similar to the one posted by @samcarter. E.g., it uses a tabularx environment, doesn't fully justify the cell contents, and uses the macros num, si, and SI of the siunitx package to display numbers, scientific units, and combinations of numbers and associated units.



Some differences:




  • No line breaks allowed in column 3

  • Automatic hanging indentation of cell contents in columns 1 and 2

  • No bold-facing of header cells

  • Terser language in column 4

  • Use path macro (provided by url package) to typeset file names

  • Use of , (comma) as thousands-separator for numbers with 4 or more digits


enter image description here



documentclass{article}
usepackage[a4paper]{geometry} % set page parameters suitably
usepackage[hyphens,spaces,obeyspaces]{url} % for 'path' macro
usepackage{ragged2e,tabularx,booktabs,siunitx}
newcolumntype{L}{>{RaggedRightarraybackslash}X}
newcolumntype{P}[2]{>{RaggedRighthangafter=1hangindent=1em}p{#1}}
begin{document}
begin{table}[htbp]
sisetup{per-mode=symbol,
tight-spacing,
group-minimum-digits=4,
group-separator={,}}
begin{tabularx}{textwidth}{@{} *{2}{P{2.2cm}}lL @{}}
toprule
multicolumn{2}{c}{Parameters} & Used value & Definition \
cmidrule(r){1-2}
Original & English translation \
midrule
Rechenlauf fortsetzen & Continue calculation & No & Determines whether a calculation run is to be continued. If yes, result data from the file path{HYDRO_AS 2D.CPR} is transferred to program and used as initial boundary condition \
Simulations-zeit [si{second}] & Simulation time [si{second}] & num{86400} & Simulation time, in seconds \
Zeitintervall SMS [si{second}]& Time interval SMS [si{second}] & num{8640} & Time interval (in seconds) for storage of area-based result data which can be visualized with the SMS program following the calculations \
Zeitintervall Q_Strg [si{second}] & Time interval Q_Strg [si{second}] & num{900} & Time interval (in seconds) for which the data of the node strings are written to path{Q_Strg.dat} \
Hmin & & SI{0.01}{meter} & Minimum water depth \
VELMAX & & SI{15}{meterpersecond} & Maximum velocity allowed \
Amin & & SI{e-15}{metersquared} & Minimum element size allowed for calculating the internal calculation time step \
CMUVISC & & num{0.60} & Coefficient cm in viscosity formula \
SCF & & num{1.00} & Coefficient for additional acceleration of calculation process \
bottomrule
end{tabularx}
end{table}
end{document}





share|improve this answer



















  • 1




    Nice answer! The indention looks nice. Tiny problem: path does not preserve the space within the file name (ok, file names should not have spaces, but ...)
    – samcarter
    Nov 13 at 13:51








  • 1




    @samcarter - Good catch about the space inside the file name! This issue can be remedied easily by adding the option obeyspaces when loading the url package. I'll update the answer accordingly.
    – Mico
    Nov 13 at 13:57


















5














Here's a solution that's very similar to the one posted by @samcarter. E.g., it uses a tabularx environment, doesn't fully justify the cell contents, and uses the macros num, si, and SI of the siunitx package to display numbers, scientific units, and combinations of numbers and associated units.



Some differences:




  • No line breaks allowed in column 3

  • Automatic hanging indentation of cell contents in columns 1 and 2

  • No bold-facing of header cells

  • Terser language in column 4

  • Use path macro (provided by url package) to typeset file names

  • Use of , (comma) as thousands-separator for numbers with 4 or more digits


enter image description here



documentclass{article}
usepackage[a4paper]{geometry} % set page parameters suitably
usepackage[hyphens,spaces,obeyspaces]{url} % for 'path' macro
usepackage{ragged2e,tabularx,booktabs,siunitx}
newcolumntype{L}{>{RaggedRightarraybackslash}X}
newcolumntype{P}[2]{>{RaggedRighthangafter=1hangindent=1em}p{#1}}
begin{document}
begin{table}[htbp]
sisetup{per-mode=symbol,
tight-spacing,
group-minimum-digits=4,
group-separator={,}}
begin{tabularx}{textwidth}{@{} *{2}{P{2.2cm}}lL @{}}
toprule
multicolumn{2}{c}{Parameters} & Used value & Definition \
cmidrule(r){1-2}
Original & English translation \
midrule
Rechenlauf fortsetzen & Continue calculation & No & Determines whether a calculation run is to be continued. If yes, result data from the file path{HYDRO_AS 2D.CPR} is transferred to program and used as initial boundary condition \
Simulations-zeit [si{second}] & Simulation time [si{second}] & num{86400} & Simulation time, in seconds \
Zeitintervall SMS [si{second}]& Time interval SMS [si{second}] & num{8640} & Time interval (in seconds) for storage of area-based result data which can be visualized with the SMS program following the calculations \
Zeitintervall Q_Strg [si{second}] & Time interval Q_Strg [si{second}] & num{900} & Time interval (in seconds) for which the data of the node strings are written to path{Q_Strg.dat} \
Hmin & & SI{0.01}{meter} & Minimum water depth \
VELMAX & & SI{15}{meterpersecond} & Maximum velocity allowed \
Amin & & SI{e-15}{metersquared} & Minimum element size allowed for calculating the internal calculation time step \
CMUVISC & & num{0.60} & Coefficient cm in viscosity formula \
SCF & & num{1.00} & Coefficient for additional acceleration of calculation process \
bottomrule
end{tabularx}
end{table}
end{document}





share|improve this answer



















  • 1




    Nice answer! The indention looks nice. Tiny problem: path does not preserve the space within the file name (ok, file names should not have spaces, but ...)
    – samcarter
    Nov 13 at 13:51








  • 1




    @samcarter - Good catch about the space inside the file name! This issue can be remedied easily by adding the option obeyspaces when loading the url package. I'll update the answer accordingly.
    – Mico
    Nov 13 at 13:57
















5












5








5






Here's a solution that's very similar to the one posted by @samcarter. E.g., it uses a tabularx environment, doesn't fully justify the cell contents, and uses the macros num, si, and SI of the siunitx package to display numbers, scientific units, and combinations of numbers and associated units.



Some differences:




  • No line breaks allowed in column 3

  • Automatic hanging indentation of cell contents in columns 1 and 2

  • No bold-facing of header cells

  • Terser language in column 4

  • Use path macro (provided by url package) to typeset file names

  • Use of , (comma) as thousands-separator for numbers with 4 or more digits


enter image description here



documentclass{article}
usepackage[a4paper]{geometry} % set page parameters suitably
usepackage[hyphens,spaces,obeyspaces]{url} % for 'path' macro
usepackage{ragged2e,tabularx,booktabs,siunitx}
newcolumntype{L}{>{RaggedRightarraybackslash}X}
newcolumntype{P}[2]{>{RaggedRighthangafter=1hangindent=1em}p{#1}}
begin{document}
begin{table}[htbp]
sisetup{per-mode=symbol,
tight-spacing,
group-minimum-digits=4,
group-separator={,}}
begin{tabularx}{textwidth}{@{} *{2}{P{2.2cm}}lL @{}}
toprule
multicolumn{2}{c}{Parameters} & Used value & Definition \
cmidrule(r){1-2}
Original & English translation \
midrule
Rechenlauf fortsetzen & Continue calculation & No & Determines whether a calculation run is to be continued. If yes, result data from the file path{HYDRO_AS 2D.CPR} is transferred to program and used as initial boundary condition \
Simulations-zeit [si{second}] & Simulation time [si{second}] & num{86400} & Simulation time, in seconds \
Zeitintervall SMS [si{second}]& Time interval SMS [si{second}] & num{8640} & Time interval (in seconds) for storage of area-based result data which can be visualized with the SMS program following the calculations \
Zeitintervall Q_Strg [si{second}] & Time interval Q_Strg [si{second}] & num{900} & Time interval (in seconds) for which the data of the node strings are written to path{Q_Strg.dat} \
Hmin & & SI{0.01}{meter} & Minimum water depth \
VELMAX & & SI{15}{meterpersecond} & Maximum velocity allowed \
Amin & & SI{e-15}{metersquared} & Minimum element size allowed for calculating the internal calculation time step \
CMUVISC & & num{0.60} & Coefficient cm in viscosity formula \
SCF & & num{1.00} & Coefficient for additional acceleration of calculation process \
bottomrule
end{tabularx}
end{table}
end{document}





share|improve this answer














Here's a solution that's very similar to the one posted by @samcarter. E.g., it uses a tabularx environment, doesn't fully justify the cell contents, and uses the macros num, si, and SI of the siunitx package to display numbers, scientific units, and combinations of numbers and associated units.



Some differences:




  • No line breaks allowed in column 3

  • Automatic hanging indentation of cell contents in columns 1 and 2

  • No bold-facing of header cells

  • Terser language in column 4

  • Use path macro (provided by url package) to typeset file names

  • Use of , (comma) as thousands-separator for numbers with 4 or more digits


enter image description here



documentclass{article}
usepackage[a4paper]{geometry} % set page parameters suitably
usepackage[hyphens,spaces,obeyspaces]{url} % for 'path' macro
usepackage{ragged2e,tabularx,booktabs,siunitx}
newcolumntype{L}{>{RaggedRightarraybackslash}X}
newcolumntype{P}[2]{>{RaggedRighthangafter=1hangindent=1em}p{#1}}
begin{document}
begin{table}[htbp]
sisetup{per-mode=symbol,
tight-spacing,
group-minimum-digits=4,
group-separator={,}}
begin{tabularx}{textwidth}{@{} *{2}{P{2.2cm}}lL @{}}
toprule
multicolumn{2}{c}{Parameters} & Used value & Definition \
cmidrule(r){1-2}
Original & English translation \
midrule
Rechenlauf fortsetzen & Continue calculation & No & Determines whether a calculation run is to be continued. If yes, result data from the file path{HYDRO_AS 2D.CPR} is transferred to program and used as initial boundary condition \
Simulations-zeit [si{second}] & Simulation time [si{second}] & num{86400} & Simulation time, in seconds \
Zeitintervall SMS [si{second}]& Time interval SMS [si{second}] & num{8640} & Time interval (in seconds) for storage of area-based result data which can be visualized with the SMS program following the calculations \
Zeitintervall Q_Strg [si{second}] & Time interval Q_Strg [si{second}] & num{900} & Time interval (in seconds) for which the data of the node strings are written to path{Q_Strg.dat} \
Hmin & & SI{0.01}{meter} & Minimum water depth \
VELMAX & & SI{15}{meterpersecond} & Maximum velocity allowed \
Amin & & SI{e-15}{metersquared} & Minimum element size allowed for calculating the internal calculation time step \
CMUVISC & & num{0.60} & Coefficient cm in viscosity formula \
SCF & & num{1.00} & Coefficient for additional acceleration of calculation process \
bottomrule
end{tabularx}
end{table}
end{document}






share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 13 at 14:00

























answered Nov 13 at 13:48









Mico

273k30369756




273k30369756








  • 1




    Nice answer! The indention looks nice. Tiny problem: path does not preserve the space within the file name (ok, file names should not have spaces, but ...)
    – samcarter
    Nov 13 at 13:51








  • 1




    @samcarter - Good catch about the space inside the file name! This issue can be remedied easily by adding the option obeyspaces when loading the url package. I'll update the answer accordingly.
    – Mico
    Nov 13 at 13:57
















  • 1




    Nice answer! The indention looks nice. Tiny problem: path does not preserve the space within the file name (ok, file names should not have spaces, but ...)
    – samcarter
    Nov 13 at 13:51








  • 1




    @samcarter - Good catch about the space inside the file name! This issue can be remedied easily by adding the option obeyspaces when loading the url package. I'll update the answer accordingly.
    – Mico
    Nov 13 at 13:57










1




1




Nice answer! The indention looks nice. Tiny problem: path does not preserve the space within the file name (ok, file names should not have spaces, but ...)
– samcarter
Nov 13 at 13:51






Nice answer! The indention looks nice. Tiny problem: path does not preserve the space within the file name (ok, file names should not have spaces, but ...)
– samcarter
Nov 13 at 13:51






1




1




@samcarter - Good catch about the space inside the file name! This issue can be remedied easily by adding the option obeyspaces when loading the url package. I'll update the answer accordingly.
– Mico
Nov 13 at 13:57






@samcarter - Good catch about the space inside the file name! This issue can be remedied easily by adding the option obeyspaces when loading the url package. I'll update the answer accordingly.
– Mico
Nov 13 at 13:57













3














This is a slightly off-topic answer, in that others have covered the TeX aspects better than I could and I concentrate on the writing.



You can tighten up the wording of many of the entries in the last column. The "It" at the start of many entries is definitely superfluous. I'd also drop "determines" or "defines" and the "the". You can lose some other articles as well and generally copy-edit your text into a shorter form. I've had a go for you, see below. I may have overdone it in some cases but I still think the first entry is a little wordy. This saves a line on each of all but one of your multiline items, making the whole lot easier to read. Also you've got full stops on some entries but not others.



I'd also add a little vertical space between rows (the total height can still be less within the copy-editing), to make the last column easier to read . Use raggedright to split lines between words rather than hyphenating I've used raggedright for "Continue Calculation", but not for the teo cells starting "Time interval", to demonstrate the effect. These points are covered in other answers, as is the use of texttt which I've inconsistently demonstrated.



In particular line breaks in variable names and the like should really be avoided



defarraystretch{1.5}%
begin{table}[htbp]
begin{tabular}{p{2.5cm}p{2.5cm}p{1.5cm}p{6.5cm}}
hline
multicolumn{2}{c}{textbf{Parameters}} & multirow{2}{*}{textbf{Used value}} & multicolumn{1}{c}{multirow{2}{*}{textbf{Definition}}} \
textbf{Original} & textbf{English translation} & & multicolumn{1}{c}{} \
hline
Rechenlauf fortsetzen & raggedright Continue calculation & No & Whether calculation run is to be continued. If yes, results from file texttt{HYDRO_AS 2D.CPR} are transferred to the program and used as initial condition. \
Simulationszeit {[}s{]} & Simulation time {[}s{]} & 86400 & Simulation time (in seconds) \
Zeitintervall SMS {[}s{]} & Time interval SMS {[}s{]} & 8640 & Time interval (in seconds) for storage of area-based results which can subsequently be visualized with the SMS program. \
Zeitintervall Q_Strg {[}s{]} & Time interval Q_Strg {[}s{]} & 900 & Time interval (in seconds) for which data of the node strings are written to texttt{Q_Strg.dat}. \
Hmin & multirow{5}{*}{} & 0.01 m & Minimum water depth \
VELMAX & & 15 m/s & Maximum velocity \
Amin & & 1.e-15 mtextsuperscript{2} & Minimum element size for calculating internal calculation time step \
CMUVISC & & 0.60 & Coefficient cm in viscosity formula \
SCF & & 1.00 & Coefficient for additional acceleration of calculation process \
hline
end{tabular}
end{table}


Output






share|improve this answer



















  • 1




    Can you think of a method for reducing the sizable inter-word gaps in the second column?
    – Mico
    Nov 13 at 15:38








  • 1




    @Mico more raggedrights will do it -- I'll expand the answer. I prefer to use it locally so I can apply my own judgement as to which cells need it (rather than figuring out a way of making a column ragged -- another question)
    – Chris H
    Nov 13 at 15:45
















3














This is a slightly off-topic answer, in that others have covered the TeX aspects better than I could and I concentrate on the writing.



You can tighten up the wording of many of the entries in the last column. The "It" at the start of many entries is definitely superfluous. I'd also drop "determines" or "defines" and the "the". You can lose some other articles as well and generally copy-edit your text into a shorter form. I've had a go for you, see below. I may have overdone it in some cases but I still think the first entry is a little wordy. This saves a line on each of all but one of your multiline items, making the whole lot easier to read. Also you've got full stops on some entries but not others.



I'd also add a little vertical space between rows (the total height can still be less within the copy-editing), to make the last column easier to read . Use raggedright to split lines between words rather than hyphenating I've used raggedright for "Continue Calculation", but not for the teo cells starting "Time interval", to demonstrate the effect. These points are covered in other answers, as is the use of texttt which I've inconsistently demonstrated.



In particular line breaks in variable names and the like should really be avoided



defarraystretch{1.5}%
begin{table}[htbp]
begin{tabular}{p{2.5cm}p{2.5cm}p{1.5cm}p{6.5cm}}
hline
multicolumn{2}{c}{textbf{Parameters}} & multirow{2}{*}{textbf{Used value}} & multicolumn{1}{c}{multirow{2}{*}{textbf{Definition}}} \
textbf{Original} & textbf{English translation} & & multicolumn{1}{c}{} \
hline
Rechenlauf fortsetzen & raggedright Continue calculation & No & Whether calculation run is to be continued. If yes, results from file texttt{HYDRO_AS 2D.CPR} are transferred to the program and used as initial condition. \
Simulationszeit {[}s{]} & Simulation time {[}s{]} & 86400 & Simulation time (in seconds) \
Zeitintervall SMS {[}s{]} & Time interval SMS {[}s{]} & 8640 & Time interval (in seconds) for storage of area-based results which can subsequently be visualized with the SMS program. \
Zeitintervall Q_Strg {[}s{]} & Time interval Q_Strg {[}s{]} & 900 & Time interval (in seconds) for which data of the node strings are written to texttt{Q_Strg.dat}. \
Hmin & multirow{5}{*}{} & 0.01 m & Minimum water depth \
VELMAX & & 15 m/s & Maximum velocity \
Amin & & 1.e-15 mtextsuperscript{2} & Minimum element size for calculating internal calculation time step \
CMUVISC & & 0.60 & Coefficient cm in viscosity formula \
SCF & & 1.00 & Coefficient for additional acceleration of calculation process \
hline
end{tabular}
end{table}


Output






share|improve this answer



















  • 1




    Can you think of a method for reducing the sizable inter-word gaps in the second column?
    – Mico
    Nov 13 at 15:38








  • 1




    @Mico more raggedrights will do it -- I'll expand the answer. I prefer to use it locally so I can apply my own judgement as to which cells need it (rather than figuring out a way of making a column ragged -- another question)
    – Chris H
    Nov 13 at 15:45














3












3








3






This is a slightly off-topic answer, in that others have covered the TeX aspects better than I could and I concentrate on the writing.



You can tighten up the wording of many of the entries in the last column. The "It" at the start of many entries is definitely superfluous. I'd also drop "determines" or "defines" and the "the". You can lose some other articles as well and generally copy-edit your text into a shorter form. I've had a go for you, see below. I may have overdone it in some cases but I still think the first entry is a little wordy. This saves a line on each of all but one of your multiline items, making the whole lot easier to read. Also you've got full stops on some entries but not others.



I'd also add a little vertical space between rows (the total height can still be less within the copy-editing), to make the last column easier to read . Use raggedright to split lines between words rather than hyphenating I've used raggedright for "Continue Calculation", but not for the teo cells starting "Time interval", to demonstrate the effect. These points are covered in other answers, as is the use of texttt which I've inconsistently demonstrated.



In particular line breaks in variable names and the like should really be avoided



defarraystretch{1.5}%
begin{table}[htbp]
begin{tabular}{p{2.5cm}p{2.5cm}p{1.5cm}p{6.5cm}}
hline
multicolumn{2}{c}{textbf{Parameters}} & multirow{2}{*}{textbf{Used value}} & multicolumn{1}{c}{multirow{2}{*}{textbf{Definition}}} \
textbf{Original} & textbf{English translation} & & multicolumn{1}{c}{} \
hline
Rechenlauf fortsetzen & raggedright Continue calculation & No & Whether calculation run is to be continued. If yes, results from file texttt{HYDRO_AS 2D.CPR} are transferred to the program and used as initial condition. \
Simulationszeit {[}s{]} & Simulation time {[}s{]} & 86400 & Simulation time (in seconds) \
Zeitintervall SMS {[}s{]} & Time interval SMS {[}s{]} & 8640 & Time interval (in seconds) for storage of area-based results which can subsequently be visualized with the SMS program. \
Zeitintervall Q_Strg {[}s{]} & Time interval Q_Strg {[}s{]} & 900 & Time interval (in seconds) for which data of the node strings are written to texttt{Q_Strg.dat}. \
Hmin & multirow{5}{*}{} & 0.01 m & Minimum water depth \
VELMAX & & 15 m/s & Maximum velocity \
Amin & & 1.e-15 mtextsuperscript{2} & Minimum element size for calculating internal calculation time step \
CMUVISC & & 0.60 & Coefficient cm in viscosity formula \
SCF & & 1.00 & Coefficient for additional acceleration of calculation process \
hline
end{tabular}
end{table}


Output






share|improve this answer














This is a slightly off-topic answer, in that others have covered the TeX aspects better than I could and I concentrate on the writing.



You can tighten up the wording of many of the entries in the last column. The "It" at the start of many entries is definitely superfluous. I'd also drop "determines" or "defines" and the "the". You can lose some other articles as well and generally copy-edit your text into a shorter form. I've had a go for you, see below. I may have overdone it in some cases but I still think the first entry is a little wordy. This saves a line on each of all but one of your multiline items, making the whole lot easier to read. Also you've got full stops on some entries but not others.



I'd also add a little vertical space between rows (the total height can still be less within the copy-editing), to make the last column easier to read . Use raggedright to split lines between words rather than hyphenating I've used raggedright for "Continue Calculation", but not for the teo cells starting "Time interval", to demonstrate the effect. These points are covered in other answers, as is the use of texttt which I've inconsistently demonstrated.



In particular line breaks in variable names and the like should really be avoided



defarraystretch{1.5}%
begin{table}[htbp]
begin{tabular}{p{2.5cm}p{2.5cm}p{1.5cm}p{6.5cm}}
hline
multicolumn{2}{c}{textbf{Parameters}} & multirow{2}{*}{textbf{Used value}} & multicolumn{1}{c}{multirow{2}{*}{textbf{Definition}}} \
textbf{Original} & textbf{English translation} & & multicolumn{1}{c}{} \
hline
Rechenlauf fortsetzen & raggedright Continue calculation & No & Whether calculation run is to be continued. If yes, results from file texttt{HYDRO_AS 2D.CPR} are transferred to the program and used as initial condition. \
Simulationszeit {[}s{]} & Simulation time {[}s{]} & 86400 & Simulation time (in seconds) \
Zeitintervall SMS {[}s{]} & Time interval SMS {[}s{]} & 8640 & Time interval (in seconds) for storage of area-based results which can subsequently be visualized with the SMS program. \
Zeitintervall Q_Strg {[}s{]} & Time interval Q_Strg {[}s{]} & 900 & Time interval (in seconds) for which data of the node strings are written to texttt{Q_Strg.dat}. \
Hmin & multirow{5}{*}{} & 0.01 m & Minimum water depth \
VELMAX & & 15 m/s & Maximum velocity \
Amin & & 1.e-15 mtextsuperscript{2} & Minimum element size for calculating internal calculation time step \
CMUVISC & & 0.60 & Coefficient cm in viscosity formula \
SCF & & 1.00 & Coefficient for additional acceleration of calculation process \
hline
end{tabular}
end{table}


Output







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 13 at 15:46

























answered Nov 13 at 15:10









Chris H

6,31622051




6,31622051








  • 1




    Can you think of a method for reducing the sizable inter-word gaps in the second column?
    – Mico
    Nov 13 at 15:38








  • 1




    @Mico more raggedrights will do it -- I'll expand the answer. I prefer to use it locally so I can apply my own judgement as to which cells need it (rather than figuring out a way of making a column ragged -- another question)
    – Chris H
    Nov 13 at 15:45














  • 1




    Can you think of a method for reducing the sizable inter-word gaps in the second column?
    – Mico
    Nov 13 at 15:38








  • 1




    @Mico more raggedrights will do it -- I'll expand the answer. I prefer to use it locally so I can apply my own judgement as to which cells need it (rather than figuring out a way of making a column ragged -- another question)
    – Chris H
    Nov 13 at 15:45








1




1




Can you think of a method for reducing the sizable inter-word gaps in the second column?
– Mico
Nov 13 at 15:38






Can you think of a method for reducing the sizable inter-word gaps in the second column?
– Mico
Nov 13 at 15:38






1




1




@Mico more raggedrights will do it -- I'll expand the answer. I prefer to use it locally so I can apply my own judgement as to which cells need it (rather than figuring out a way of making a column ragged -- another question)
– Chris H
Nov 13 at 15:45




@Mico more raggedrights will do it -- I'll expand the answer. I prefer to use it locally so I can apply my own judgement as to which cells need it (rather than figuring out a way of making a column ragged -- another question)
– Chris H
Nov 13 at 15:45


















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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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%2f459767%2fany-ideas-on-how-this-table-could-be-made-better-looking%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

鏡平學校

ꓛꓣだゔៀៅຸ໢ທຮ໕໒ ,ໂ'໥໓າ໼ឨឲ៵៭ៈゎゔit''䖳𥁄卿' ☨₤₨こゎもょの;ꜹꟚꞖꞵꟅꞛေၦေɯ,ɨɡ𛃵𛁹ޝ޳ޠ޾,ޤޒޯ޾𫝒𫠁သ𛅤チョ'サノބޘދ𛁐ᶿᶇᶀᶋᶠ㨑㽹⻮ꧬ꧹؍۩وَؠ㇕㇃㇪ ㇦㇋㇋ṜẰᵡᴠ 軌ᵕ搜۳ٰޗޮ޷ސޯ𫖾𫅀ल, ꙭ꙰ꚅꙁꚊꞻꝔ꟠Ꝭㄤﺟޱސꧨꧼ꧴ꧯꧽ꧲ꧯ'⽹⽭⾁⿞⼳⽋២៩ញណើꩯꩤ꩸ꩮᶻᶺᶧᶂ𫳲𫪭𬸄𫵰𬖩𬫣𬊉ၲ𛅬㕦䬺𫝌𫝼,,𫟖𫞽ហៅ஫㆔ాఆఅꙒꚞꙍ,Ꙟ꙱エ ,ポテ,フࢰࢯ𫟠𫞶 𫝤𫟠ﺕﹱﻜﻣ𪵕𪭸𪻆𪾩𫔷ġ,ŧآꞪ꟥,ꞔꝻ♚☹⛵𛀌ꬷꭞȄƁƪƬșƦǙǗdžƝǯǧⱦⱰꓕꓢႋ神 ဴ၀க௭எ௫ឫោ ' េㇷㇴㇼ神ㇸㇲㇽㇴㇼㇻㇸ'ㇸㇿㇸㇹㇰㆣꓚꓤ₡₧ ㄨㄟ㄂ㄖㄎ໗ツڒذ₶।ऩछएोञयूटक़कयँृी,冬'𛅢𛅥ㇱㇵㇶ𥄥𦒽𠣧𠊓𧢖𥞘𩔋цѰㄠſtʯʭɿʆʗʍʩɷɛ,əʏダヵㄐㄘR{gỚṖḺờṠṫảḙḭᴮᵏᴘᵀᵷᵕᴜᴏᵾq﮲ﲿﴽﭙ軌ﰬﶚﶧ﫲Ҝжюїкӈㇴffצּ﬘﭅﬈軌'ffistfflſtffतभफɳɰʊɲʎ𛁱𛁖𛁮𛀉 𛂯𛀞నఋŀŲ 𫟲𫠖𫞺ຆຆ ໹້໕໗ๆทԊꧢꧠ꧰ꓱ⿝⼑ŎḬẃẖỐẅ ,ờỰỈỗﮊDžȩꭏꭎꬻ꭮ꬿꭖꭥꭅ㇭神 ⾈ꓵꓑ⺄㄄ㄪㄙㄅㄇstA۵䞽ॶ𫞑𫝄㇉㇇゜軌𩜛𩳠Jﻺ‚Üမ႕ႌႊၐၸဓၞၞၡ៸wyvtᶎᶪᶹစဎ꣡꣰꣢꣤ٗ؋لㇳㇾㇻㇱ㆐㆔,,㆟Ⱶヤマފ޼ޝަݿݞݠݷݐ',ݘ,ݪݙݵ𬝉𬜁𫝨𫞘くせぉて¼óû×ó£…𛅑הㄙくԗԀ5606神45,神796'𪤻𫞧ꓐ㄁ㄘɥɺꓵꓲ3''7034׉ⱦⱠˆ“𫝋ȍ,ꩲ軌꩷ꩶꩧꩫఞ۔فڱێظペサ神ナᴦᵑ47 9238їﻂ䐊䔉㠸﬎ffiﬣ,לּᴷᴦᵛᵽ,ᴨᵤ ᵸᵥᴗᵈꚏꚉꚟ⻆rtǟƴ𬎎

Why https connections are so slow when debugging (stepping over) in Java?