BibTeX, biblatex and bibernatbib | '\citealias' does not work

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
mnajem
Posts: 20
Joined: Thu Mar 18, 2010 12:23 pm

natbib | '\citealias' does not work

Post by mnajem »

Hi,

I want to append the paper's name on my paper,

i'm using

Code: Select all

\usepackage[sort&compress]{natbib}
as preamble and defined;

Code: Select all

\defcitealias{Ding2009a}{Behavior-Based Proactive Detection of Unknown Malicious Codes}
for the alias.

But when I put;

Code: Select all

 \begin{table}
 \caption{Feature vectors}
 \begin{tabular}{|p{5cm}|p{4cm}|p{3cm}|}
 \hline
 Issue &                Author &               Features\\
 \hline
 \citealias{Ding2009a}&\cite{Ding2009a}&35 features\\
 \hline
 \end{tabular}  
 \end{table}
the output failed,saying;

Code: Select all

! Undefined control sequence.
<recently read> \citealias

l.242  \citealias
                 {Ding2009a}&\cite{Ding2009a}&35 features\\

but it does work with \citepalias --> but I don't want brackets in my thesis, does not look nice.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

mnajem
Posts: 20
Joined: Thu Mar 18, 2010 12:23 pm

natbib | '\citealias' does not work

Post by mnajem »

Never mind, got the solutions myself, I missed "t" character.

Instead of citealias, it should be citetalias

http://merkel.zoneo.net/Latex/natbib.php
Post Reply