BibTeX, biblatex and biber ⇒ Undefined control sequence when I try to use citet and citep
-
- Posts: 4
- Joined: Sun Dec 17, 2017 2:31 am
Undefined control sequence when I try to use citet and citep
Hello
I am working on the template below for a conference paper and whenever I try to use \citet or \citep, it says "underfind control sequence"
http://www.complexis.org/Templates.aspx
I would very much appreciate your help as I have a submission deadline.
Thanks a bunch
I am working on the template below for a conference paper and whenever I try to use \citet or \citep, it says "underfind control sequence"
http://www.complexis.org/Templates.aspx
I would very much appreciate your help as I have a submission deadline.
Thanks a bunch
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Undefined control sequence when I try to use citet and citep
I guess you did not load the natbib package.
Stefan
\usepackage{natbib}
Stefan
LaTeX.org admin
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Undefined control sequence when I try to use citet and citep
The template uses the bibiography packae apalike. You should replace that by natbib, as only natbib provides the commands you want to use.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
-
- Posts: 4
- Joined: Sun Dec 17, 2017 2:31 am
Undefined control sequence when I try to use citet and citep
I used natbib, however when I compile I get the following:
Command \bibhang already defined. \newlength{\bibhang}
Command \bibhang already defined. \newlength{\bibhang}
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Undefined control sequence when I try to use citet and citep
Replace apalike in the example code with natbib.
Sidenote: A conference for future information systems ships a file that is distributed with every TeX distribution in an updated manner. That file is from 2000, and many updates have been done to not only for the article class. Package subfigure is deprecated for over a decade, epsfig should only be used for compatibility to documents pre 1994.
Sidenote: A conference for future information systems ships a file that is distributed with every TeX distribution in an updated manner. That file is from 2000, and many updates have been done to not only for the article class. Package subfigure is deprecated for over a decade, epsfig should only be used for compatibility to documents pre 1994.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
-
- Posts: 4
- Joined: Sun Dec 17, 2017 2:31 am
Undefined control sequence when I try to use citet and citep
I replaced it and got the following
\bibhang already defined. \newlength{\bibhang}
Suggestions?
\bibhang already defined. \newlength{\bibhang}
Suggestions?
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Undefined control sequence when I try to use citet and citep
Quick fix: disable
To make full use of natbib, you could check out options and possibilities in the
natbib manual.
Stefan
\bibhang
before loading natbib
:Code: Select all
\usepackage{apalike}
\let\bibhang\relax
\usepackage{natbib}

Stefan
LaTeX.org admin
-
- Posts: 4
- Joined: Sun Dec 17, 2017 2:31 am
Undefined control sequence when I try to use citet and citep
Thanks a bunch. I really appreciate it.
It worked!
It worked!