1

I'm working on my report and after putting a lowercase in the titlepage name, somehow weird numbers end up underneath the titlepage on an empty page. The numbers are: _033303333.27 04453.37 13713.48. Does anyone have an idea how to resolve this problem. I am not an expert at LaTeX.

\documentclass[11pt, a4paper]{report}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{cite}
\usepackage{float}
\usepackage[font=footnotesize,labelfont=bf]{caption}
\usepackage{graphicx}
\usepackage{gensymb}
\usepackage{letltxmacro}
\usepackage{fancyref}
\usepackage[table]{xcolor}
\usepackage[nottoc,numbib]{tocbibind}

\title{Switching off the genes Llmg{\_}0333, Llmg{\_}0445 and Llmg{\_}1371 by using the >knock-out technique in \textit{Lactococcus lactis} strain MG1363.}
\author{Major report LABlab februari 2014\\
\\
\textit{by}\\
\\
(...)\\
(...)\\
(...)\\
(...)\\
\\
\textit{project ran at}\\
\\
(...)\\
\\
\textit{in cooperation with}\\
\\
(...)\\
\\
\textit{guided by}\\
\\
(...)}
\maketitle

\begin{document}
5
  • Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – user31729
    Commented Jun 4, 2014 at 10:05
  • 1
    Hi Tim, welcome to the site. Could you fix your sample code so that it gives the error you're getting? At the moment, it doesn't compile because you don't have an \end{document}, and the \maketitle precedes the \begin{document}. Commented Jun 4, 2014 at 10:11
  • I think the problem is exactly that \maketitle is before \begin{document}
    – egreg
    Commented Jun 4, 2014 at 10:27
  • I have tried moving the \maketitle after \begin{document} it moves the problem, since it then turns up on the first page. Understanding you all, You want me too upload the entire document, correct?
    – Tim
    Commented Jun 4, 2014 at 10:40
  • Making it all probably a lot easier: how do you make an underscore? ATM im doing it like {_} because if I leave the brackets out, all the letters after it become underscore. I want to get like "llmg_0333"
    – Tim
    Commented Jun 4, 2014 at 10:51

1 Answer 1

2

User egreg already stated, that the problem is that \maketitle appears before \begin{document}, the underscore character can be achieved by typing \_.

I introduced the command \Gennum which expects the mandatory gennumber as 2nd argument, the first one is optional and defaults to Llgm. The underscoring is done automatically.

\documentclass[11pt, a4paper]{report}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{cite}
\usepackage{float}
\usepackage[font=footnotesize,labelfont=bf]{caption}
\usepackage{graphicx}
\usepackage{gensymb}
\usepackage{letltxmacro}
\usepackage{fancyref}
\usepackage[table]{xcolor}
\usepackage[nottoc,numbib]{tocbibind}

\newcommand{\Gennum}[2][Llmg]{%
#1\_#2%
}%

\title{Switching off the genes \Gennum{0333}, \Gennum{0445} and \Gennum{1371} by using the \emph{knock-out} technique in \textit{Lactococcus lactis} strain MG1363.}


\author{Major report LABlab februari 2014\\
\\
\textit{by}\\
\\
(...)\\
(...)\\
(...)\\
(...)\\
\\
\textit{project ran at}\\
\\
(...)\\
\\
\textit{in cooperation with}\\
\\
(...)\\
\\
\textit{guided by}\\
\\
(...)} % End of title

\begin{document}
\maketitle
\chapter{I can only guess what comes here}
\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .