## LaTeX forum ⇒ General ⇒ BibTeX & "undefined control sequence"

LaTeX specific issues not fitting into one of the other forums of this category.
jkobori
Posts: 3
Joined: Sun Oct 26, 2014 4:36 pm

### BibTeX & "undefined control sequence"

Hi Rainer,

You are right, it would be much more elegant to have 'Astrophysical Journal' than 'apj' in the bibliography.
I found the sty file
with all of the definitions, and I include it in the preamble
(\documentclass[12pt,aas_macros]{book}), but it does not have any effect, it still gives the same error.
Putting the aas_macros into the option list is the only change I've made to the source tex file.
Am I doing something wrong?
Thanks!

Joseph

Ijon Tichy
Posts: 269
Joined: Mon Dec 24, 2018 10:12 am
Style files cannot be loaded via class option. They have to be loaded by `\usepackage`. So you have to use
`\documentclass[12pt]{book}\usepackage{aas_macros}`