Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paragraph breaks in tikz figures cause errors with linenumbers #143

Open
darthoctopus opened this issue Mar 16, 2022 · 0 comments
Open

paragraph breaks in tikz figures cause errors with linenumbers #143

darthoctopus opened this issue Mar 16, 2022 · 0 comments
Labels
bug bug; something to be fixed in AASTeX linenumbers package collision when aastex6+ and a random other package collide

Comments

@darthoctopus
Copy link

darthoctopus commented Mar 16, 2022

Minimum working example:

\documentclass[linenumbers]{aastex631}
\usepackage[utf8]{inputenc}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[xscale=1.2, yscale=1.2]


\node at (0, 1){1};
\end{tikzpicture}
\end{document}

This yields compile errors whose source is nonobvious:

/home/joel/test.tex:8: Improper \prevdepth. []
/home/joel/test.tex:8: You can't use `\prevdepth' in restricted horizontal mode. []
/home/joel/test.tex:8: Missing $ inserted. []
/home/joel/test.tex:8: Missing number, treated as zero. []
/home/joel/test.tex:8: Illegal unit of measure (pt inserted). []
/home/joel/test.tex:9: Missing $ inserted. []
/home/joel/test.tex:9: Improper \prevdepth. []
/home/joel/test.tex:9: You can't use `\prevdepth' in restricted horizontal mode. []
/home/joel/test.tex:9: Missing $ inserted. []
/home/joel/test.tex:9: Missing number, treated as zero. []
/home/joel/test.tex:9: Illegal unit of measure (pt inserted). []
/home/joel/test.tex:11: Missing $ inserted. [\end{tikzpicture}]

Removing the empty linebreaks before defining the \node resolves the compile errors.

@augustfly augustfly added bug bug; something to be fixed in AASTeX package collision when aastex6+ and a random other package collide linenumbers labels Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bug; something to be fixed in AASTeX linenumbers package collision when aastex6+ and a random other package collide
Projects
None yet
Development

No branches or pull requests

2 participants