Let an author carry a note which is not an affiliation - #18
Merged
Conversation
AASTeX reserves `\altaffiliation` for what needs saying about an author besides where they work, and the v7 guide gives "Hubble Fellow" and "author is deceased" as its examples. There was no way to write either one, so `Author` gains an `altaffiliation` field. The footnote symbol attaches to whatever text precedes it, so the command has to follow `\author` immediately, which is why it is emitted before the email rather than beside the affiliations. A deceased coauthor is added to the document behind `test_generate_archive_compiles`, so the markup is exercised through a real LaTeX run rather than only compared as a string. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BYjDL98znSud1yFh9chnkP
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #18 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 4 4
Lines 702 716 +14
=========================================
+ Hits 702 716 +14
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
aastex.Authorcould say where someone works and nothing else. AASTeXreserves
\altaffiliationfor everything else that needs noting about anauthor, and the v7.0 author guide
gives exactly two examples of it:
Neither was expressible, so
Authorgains analtaffiliationfield.which typesets as
John Roe1,∗ with∗Deceasedfootnoted at the bottom of the column.
Ordering
The guide is emphatic that the command has to follow
\authorimmediately, since the footnote symbol attaches to whatever text precedes
it. That is why it is emitted before the
\emailrather than next to theaffiliations, and
test_altaffiliationasserts the position rather thanjust the presence of the string.
Testing
A deceased coauthor is added to the document behind
test_generate_archive_compiles, so this goes through a reallatexmkrun and would catch the class silently dropping the command. I also
confirmed by hand that the rendered PDF contains the footnote.
The new field is inserted after
affiliationrather than appended, whichshifts the positional order of
email,orcid, andcorresponding.Every call site in our repos passes these by keyword.