Possible Duplicate:
What do \makeatletter and \makeatother do?
I'm trying to use a template with the following content:
\documentclass[a4paper,twoside,10.5pt]{report}
\usepackage{a4wide}
\usepackage{styles/thesis_style}
\usepackage{styles/functions}
\usepackage[latin1]{inputenc}
\usepackage{polyglossia}
\usepackage{fontspec}
\setromanfont[BoldFont={Helvetica Bold},ItalicFont={Helvetica Oblique}]{Helvetica}
\title{Towards Storing Point Clouds in PostgreSQL}
\author{Michel Ott}
\date{\today}
\begin{document}
\include{./titlepage}
Then in the ./titlepage file there is the following:
{ \huge \bfseries \@title}\\[2cm]
...
Now I get the following error:
! You can't use `\spacefactor' in vertical mode. \@->\spacefactor \@m {} l.29
{ \huge \bfseries \@ title}\\[2cm] ?
How can I fix this?
@is the problem see the link quoted by egreg. – yannisl May 02 '12 at 13:33titlingpackage from this answer is way more straight-forward than trying to get\makeatletterand\makeatotherto work. – Felix Jassler Apr 30 '22 at 07:27\@ifundefinedwith the compulsory\makeatletterand\makeatotherinside a\newcommanddefinition. I had to put\makeatletterand\makeatotheroutside the\newcommanddefinition, surrounding it. ´:-) – loved.by.Jesus Aug 17 '22 at 11:17