Citation styles
Ad Marginem ships built-in formatters for six citation styles: APA 7th, MLA 9th, Chicago Author-Date, Harvard, IEEE, and Vancouver. The Word add-in surfaces the same six plus the plain style; the desktop reader, browser extension, and mobile clients all share the formatter package (@admarginem/core).
Picking a style
- Default style —
Settings → Citation Styleon every client. The selection is per-account and syncs. - Per-document override — Word add-in
Settings → Citation Styleonly changes that document’s bibliography.
How it works
The formatter (packages/core/src/citations/formatter.ts) renders each Paper into a CSL-style record then runs it through a per-style template. Numeric styles (IEEE) emit [1] / [2] in-text citations and order the bibliography by appearance; author-date styles emit (Lovelace 1843) and order the bibliography alphabetically.
Editing
Citations inserted via the Word add-in are wrapped in Word content controls tagged admarginem-citation:<paperId>. You can move, copy, or delete them like any other text — the scanner re-syncs the Cited list on the next selection change.
Limitations
- Custom CSL files aren’t supported in the MVP. The six built-in styles cover ~90% of published-paper use cases; bring-your-own CSL lands later.
- The desktop reader’s bibliographic export uses the same templates as the Word add-in, so style switches affect both.