[Tex/LaTex] Undefined Control Sequence on \onehalfspacing


I am new to latex. So new that I never heard of this a month before.

I am using wissdoc.cls, macros.tex, titelseite.tex and diplarb.tex from the following template.

I have an error as follows:

l.135 \OnehalfSpacing
            % 1,5 Zeilenabstand}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

I heard somewhere that changing the spelling from onehalfspacing to OneHalfSpacing would make the error go away. Please help me fix this.

I am willing to add more data if required.

Best Answer

The package setspace lets you easily change the line spacing, and that provides a macro \onehalfspacing. Hence, add