← 返回首页
Support for footnote. · Issue #1 · python-openxml/python-docx · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Support for footnote. #1

New issue
New issue

Description

A footnote is two thing :

  • in the document.xml, at the place of the referecence :
<w:r> <w:rPr> <w:rStyle w:val="FootnoteReference"/> </w:rPr> <w:footnoteReference w:id="1"/> </w:r>
  • in the footnote.xml the content of the footnote :
<w:footnote w:id="1"> <w:p w:rsidRDefault="00D935D7" w:rsidR="00D935D7"> <w:pPr> <w:pStyle w:val="FootnoteText"/> </w:pPr> <w:r> <w:rPr> <w:rStyle w:val="FootnoteReference"/> </w:rPr> <w:footnoteRef/> </w:r> <w:r> <w:t xml:space="preserve"> Note</w:t> </w:r> </w:p> </w:footnote>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Footer

      © 2026 GitHub, Inc.