I am kind of new to LaTeX. I am doing project which contain resources (formula, solutions to problems, e.g.) i can bring to the Exams day on 16th March. I have been looking for a solution to my problem couple of hours now. What i am trying to achieve is to create a \newcommand with indefinite variable (arguments?) that can do a repetitive task such as 5 \times 10 \times 15 \times 20 \times 25. The numbers are supposed to be the arguments and \times, the repeating task between each argument. I have tried to make a tabular many column inside a \newcommand but have not succeed. To give a better vision, i will post a piece of my code.
\documentclass{article} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{enumitem} \usepackage{titlesec} \usepackage[norsk]{babel} \titleformat{\section}{\LARGE\filcenter}{}{1em}{} \setlength{\jot}{14pt} \title{Hjelpermidler i Digital Radio} \author{Sami Rashiti} \newcommand{\degree}[2]{#1\,^{\circ}\ \mathrm{#2}} \begin{document} \maketitle \newpage \section*{Innlevering 1} \input{innleveringer/innlevering1.tex} ~\newline \begin{align} e_n &= \sqrt{4KTBR} \\ e_n^2 &= 4KTBR \\ R &= \frac{e_n^2}{4KTB} \\ &= \frac{(\frac{V_o}{A})^2}{4KTB} \qquad ,der \quad e_n = \frac{V_o}{A} = 3,2\mu V \\ &= \frac{(3.2\mu V)^2}{4\cdot1.38\cdot 10^{-23}\cdot 310\cdot 100\cdot 10^3} \\ &= 6\ k\Omega \end{align} \end{document} 

siunitxpackage for formatting your units.`, they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it).