-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ad5adae
commit 9d31c01
Showing
2 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
;;; me-latex-fonts.el -*- lexical-binding: t; -*- | ||
|
||
;; From Doom Emacs | ||
|
||
;; Fontification taken from https://tex.stackexchange.com/a/86119/81279. | ||
(setq font-latex-match-reference-keywords | ||
'(;; BibLaTeX. | ||
("printbibliography" "[{") | ||
("addbibresource" "[{") | ||
;; Standard commands. | ||
("cite" "[{") | ||
("citep" "[{") | ||
("citet" "[{") | ||
("Cite" "[{") | ||
("parencite" "[{") | ||
("Parencite" "[{") | ||
("footcite" "[{") | ||
("footcitetext" "[{") | ||
;; Style-specific commands. | ||
("textcite" "[{") | ||
("Textcite" "[{") | ||
("smartcite" "[{") | ||
("Smartcite" "[{") | ||
("cite*" "[{") | ||
("parencite*" "[{") | ||
("supercite" "[{") | ||
;; Qualified citation lists. | ||
("cites" "[{") | ||
("Cites" "[{") | ||
("parencites" "[{") | ||
("Parencites" "[{") | ||
("footcites" "[{") | ||
("footcitetexts" "[{") | ||
("smartcites" "[{") | ||
("Smartcites" "[{") | ||
("textcites" "[{") | ||
("Textcites" "[{") | ||
("supercites" "[{") | ||
;; Style-independent commands. | ||
("autocite" "[{") | ||
("Autocite" "[{") | ||
("autocite*" "[{") | ||
("Autocite*" "[{") | ||
("autocites" "[{") | ||
("Autocites" "[{") | ||
;; Text commands. | ||
("citeauthor" "[{") | ||
("Citeauthor" "[{") | ||
("citetitle" "[{") | ||
("citetitle*" "[{") | ||
("citeyear" "[{") | ||
("citedate" "[{") | ||
("citeurl" "[{") | ||
;; Special commands. | ||
("fullcite" "[{") | ||
;; Cleveref. | ||
("cref" "{") | ||
("Cref" "{") | ||
("cpageref" "{") | ||
("Cpageref" "{") | ||
("cpagerefrange" "{") | ||
("Cpagerefrange" "{") | ||
("crefrange" "{") | ||
("Crefrange" "{") | ||
("labelcref" "{")) | ||
font-latex-match-textual-keywords | ||
'(;; BibLaTeX brackets. | ||
("parentext" "{") | ||
("brackettext" "{") | ||
("hybridblockquote" "[{") | ||
;; Auxiliary commands. | ||
("textelp" "{") | ||
("textelp*" "{") | ||
("textins" "{") | ||
("textins*" "{") | ||
;; Subcaption. | ||
("subcaption" "[{")) | ||
font-latex-match-variable-keywords | ||
'(;; Amsmath. | ||
("numberwithin" "{") | ||
;; Enumitem. | ||
("setlist" "[{") | ||
("setlist*" "[{") | ||
("newlist" "{") | ||
("renewlist" "{") | ||
("setlistdepth" "{") | ||
("restartlist" "{") | ||
("crefname" "{"))) | ||
|
||
|
||
(provide 'me-latex-fonts) |
This file contains 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