Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save melioratus/725c57f5ede7e9a9e66b8750d282afb9 to your computer and use it in GitHub Desktop.
Save melioratus/725c57f5ede7e9a9e66b8750d282afb9 to your computer and use it in GitHub Desktop.
org-mode syntax - superscripts and subscripts example 1

org-mode syntax - superscripts and subscripts example 1

  • Add #+OPTIONS: ^:{} to your org-mode file to explicitly enable superscripts and subscripts.
superscripts
To create a superscript put ^{ characters at the start of the superscript text and } at the end of the superscript text, e.g. word^{superscript} will render as wordsuperscript.
subscripts
To create a subscript put _{ characters at the start of the subscript text and } at the end of the subscript text, e.g. word_{subscript} will render as wordsubscript.

References

@dhawangayash
Copy link

You would also need to enable pretty-entites using the org-toggle-pretty-entities. Default keychord is: C-c C-x \.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment