citeformer.render.formatters.mla

MLA 9 citation style.

Inline markers are (Smith 45) (author + page) when a locator is known, (Smith) otherwise. Since our pipeline doesn’t propagate per-cite locators through Citation yet, the inline marker uses (Smith) / (Smith and Jones) / (Smith et al.) consistently.

Bibliography shape:

  • Article: Smith, Alice. "Title." Journal Name, vol. 12, no. 3, 2023, pp. 45–67.

  • Book: Smith, Alice. Book Title. Publisher, 2023.

  • Chapter: Smith, Alice. "Chapter Title." Book Title, edited by Editor, Publisher, 2023, pp. 45–67.

  • Thesis: Smith, Alice. Title. 2023. University, PhD dissertation.

Module Contents

Classes

MLAFormatter

MLA 9 — (Smith) inline; Works Cited bibliography per MLA 9 handbook.

API

class citeformer.render.formatters.mla.MLAFormatter

Bases: citeformer.render.formatters._base.CitationFormatter

MLA 9 — (Smith) inline; Works Cited bibliography per MLA 9 handbook.

name

‘mla-9’

citation_format

‘author’

inline(item: citeformer.render.formatters._base.CSLItem, number: int) str
bibliography(item: citeformer.render.formatters._base.CSLItem, number: int) str