LaTeX forum ⇒ GeneralBibTeX & "undefined control sequence"

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

BibTeX & "undefined control sequence"

Postby jkobori » Mon Jul 08, 2019 9:57 pm

Hi Rainer,

sorry for the late answer.
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?


User avatar
Ijon Tichy
Posts: 392
Joined: Mon Dec 24, 2018 10:12 am

Postby Ijon Tichy » Tue Jul 09, 2019 6:52 am

Style files cannot be loaded via class option. They have to be loaded by \usepackage. So you have to use
Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass[12pt]{book}
  2. \usepackage{aas_macros}

Return to “General”

Who is online

Users browsing this forum: No registered users and 13 guests