I just registered and introduced myself in the new members section.. Now, my first real post!
I want to refer to a requirement, which is in the fourth chapter of a report of mine.
I made a new environment called requirement:
Code: Select all
\newenvironment{requirement}[2]
{
\vspace{1em}
\noindent \begin{tabular}{r p{8 cm}}
\textbf{Requirement} \# #1 & #2 \\
}
{
\end{tabular}
\vspace{1em}
}
Code: Select all
\begin{requirement} {\reqnr}
{The user should be able to program the device accurate to the minute}
\origin {Some company}
\rationale {With a more detailed program, energy will be saved}
\end{requirement}
Code: Select all
\newcounter{requirement-counter}
\newcommand{\reqnr} {
\addtocounter{requirement-counter} {1}
\arabic{requirement-counter}
}
Hope you can help!
Thanks