diku-dk / su-guides

Guides and guidelines for software development course
14 stars 8 forks source link

There's no line here to end. \maketitle #1

Open ploeh opened 1 year ago

ploeh commented 1 year ago

There seems to be an error in su.sty. I'll be happy to send a pull request with a fix, if you'd like.

Steps to reproduce

I've created a .tex document like this:

\documentclass{article}

\usepackage[danish]{su}

\title{Softwareudvikling assignment 1}

\begin{document}

\maketitle

\end{document}

Now try to compile it:

$ pdflatex -shell-escape mark-A1.tex

Expected outcome

The document compiles

Actual outcome

Compilation fails with the error:

! LaTeX Error: There's no line here to end.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.9 \maketitle

Possible fix

Edit line 208 in su.sty to:

  \Large\course%

I'll be happy to send a pull request with that change, assuming that this is a desired and acceptable change.