I want to define the following new environment with 10 parameters, as you see, the 10-th param is not availble! How to?
\newenvironment{newenv}[10]{
\begin{center}
\begin{tabular}{|m{2cm}<{\centering}|m{2cm}<{\centering}|m{2cm}<{\centering}|m{2cm}<{\centering}|m{2cm}<{\centering}|m{2cm}<{\centering}|}
\hline
Name &{#1} &{#3} &{#5} &{#7} &{#9} \\
\hline
EN-Name &{#2} &{#4} &{#6} &{#8} &{#10} \\
\hline
File-Name &{#2}.in &{#4}.in &{#6}.in &{#8}.in &{#10} \\
\hline
Out-Name &{#2}.out &{#4}.out &{#6}.out &{#8}.out &{#10} \\
\hline
}{
\end{tabular}
\end{center}
}


m{2cm}<{\centering\arraybackslash}not>{\centering\arraybackslash}m{2cm}putting\centeringat the end sort of works in some cases but makes the behaviour of blank lines rather odd, any text before a blank line won't be centred. (even though in this case you are constructing the whole table so there are no blank lines, unless you add them in the arguments) – David Carlisle Jul 06 '18 at 07:41newcommandtonewenvironment...and I've try to work according tonewcommand.. but I failed. Could you please give some code ofnewenvironmentwith many parameters? – xaero Jul 06 '18 at 11:01