TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am quite new to latex and try to understand the \newcommand command. Since (at least in texmaker which I am using) \autocite does not seem to feature autocompletion and automated display of my bibliography like \cite does, I tried to shorten it up by using:

\newcommand{\citea[1]}{\autocite {#1}}

However using \citea{ast_dual_2013} leads to the following error:

! Missing $ inserted.
<inserted text>
l.43 \citea{ast_
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.


This leads to a mathematical output: Latex output

What can I do to improve the new defined command?

share|improve this question
up vote 7 down vote accepted

The first closing curly brace is too late, fixed:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.