From ed467f7de217d9cafb74f743309e44e91ad9cf25 Mon Sep 17 00:00:00 2001 From: rasmus Date: Sun, 18 Aug 2013 17:42:33 +0200 Subject: [PATCH] More org-entities. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * org-entities.el (org-entities): Add support for ell, imath, jmath, varphi, varomega, varpi, aleph, gimel, beth, dalet, cdots, S (§), dag, ddag, colon, therefore, because, coloneqq, eqqcolon, triangleq, leq, geq, lessgtr, lesseqgtr, ll, gg, prec, preceq, preccurleyeq, succ, succeq, succurleyeq, setminus, nexist(s), implies, impliedby, iff, diamond. Changes loz and tilde. In LaTeX these symbols are mostly defined in amssymb. coloneqq and eqqcolon require kpfonts or mathtools or similar in LaTeX. --- lisp/org-entities.el | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/lisp/org-entities.el b/lisp/org-entities.el index a1519b0..0012566 100644 --- a/lisp/org-entities.el +++ b/lisp/org-entities.el @@ -154,6 +154,9 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." ("real" "\\Re" t "ℜ" "R" "R" "ℜ") ("image" "\\Im" t "ℑ" "I" "I" "ℑ") ("weierp" "\\wp" t "℘" "P" "P" "℘") + ("ell" "\\ell" t "ℓ" "ell" "ell" "ℓ") + ("imath" "\\imath" t "ı" "dotless i" "dotless i" "ı") + ("jmath" "\\jmath" t "ȷ" "dotless j" "dotless j" "ȷ") "** Greek" ("Alpha" "A" nil "Α" "Alpha" "Alpha" "Α") @@ -203,6 +206,7 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." ("upsilon" "\\upsilon" t "υ" "upsilon" "upsilon" "υ") ("Phi" "\\Phi" t "Φ" "Phi" "Phi" "Φ") ("phi" "\\phi" t "φ" "phi" "phi" "φ") + ("varphi", "\\varphi" t "ϕ" "varphi" "varphi" "ɸ ") ("Chi" "X" nil "Χ" "Chi" "Chi" "Χ") ("chi" "\\chi" t "χ" "chi" "chi" "χ") ("acutex" "\\acute x" t "´x" "'x" "'x" "𝑥́") @@ -211,11 +215,17 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." ("tau" "\\tau" t "τ" "tau" "tau" "τ") ("Omega" "\\Omega" t "Ω" "Omega" "Omega" "Ω") ("omega" "\\omega" t "ω" "omega" "omega" "ω") + ("varomega" "\\varomega" t "ɷ" "varomega" "varomega" "ɷ") ("piv" "\\varpi" t "ϖ" "omega-pi" "omega-pi" "ϖ") + ("varpi" "\\varpi" t "ϖ" "omega-pi" "omega-pi" "ϖ") ("partial" "\\partial" t "∂" "[partial differential]" "[partial differential]" "∂") "** Hebrew" ("alefsym" "\\aleph" t "ℵ" "aleph" "aleph" "ℵ") + ("aleph" "\\aleph" t "ℵ" "aleph" "aleph" "ℵ") + ("gimel" "\\gimel" t "ℷ" "gimel" "gimel" "ℷ") + ("beth" "\\beth" t "ℶ" "beth" "beth" "ב") + ("dalet" "\\daleth" t "ℸ" "dalet" "dalet" "ד") "** Dead languages" ("ETH" "\\DH{}" nil "Ð" "D" "Ð" "Ð") @@ -227,6 +237,7 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." "** Dots and Marks" ("dots" "\\dots{}" nil "…" "..." "..." "…") ("hellip" "\\dots{}" nil "…" "..." "..." "…") + ("cdots" "\\cdots" t "⋯" "..." "..." "⋯") ("middot" "\\textperiodcentered{}" nil "·" "." "·" "·") ("iexcl" "!`" nil "¡" "!" "¡" "¡") ("iquest" "?`" nil "¿" "?" "¿" "¿") @@ -255,18 +266,21 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." ("circ" "\\^{}" nil "ˆ" "^" "^" "ˆ") ("vert" "\\vert{}" t "|" "|" "|" "|") ("brvbar" "\\textbrokenbar{}" nil "¦" "|" "¦" "¦") + ("S" "\\S" nil "§" "paragraph" "§" "§") ("sect" "\\S" nil "§" "paragraph" "§" "§") ("amp" "\\&" nil "&" "&" "&" "&") ("lt" "\\textless{}" nil "<" "<" "<" "<") ("gt" "\\textgreater{}" nil ">" ">" ">" ">") - ("tilde" "\\~{}" nil "˜" "~" "~" "~") + ("tilde" "\\textasciitilde{}" nil "˜" "~" "~" "~") ("slash" "/" nil "/" "/" "/" "/") ("plus" "+" nil "+" "+" "+" "+") ("under" "\\_" nil "_" "_" "_" "_") ("equal" "=" nil "=" "=" "=" "=") ("asciicirc" "\\textasciicircum{}" nil "^" "^" "^" "^") ("dagger" "\\textdagger{}" nil "†" "[dagger]" "[dagger]" "†") + ("dag" "\\dag{}" nil "†" "[dagger]" "[dagger]" "†") ("Dagger" "\\textdaggerdbl{}" nil "‡" "[doubledagger]" "[doubledagger]" "‡") + ("ddag" "\\ddag{}" nil "‡" "[doubledagger]" "[doubledagger]" "‡") "** Whitespace" ("nbsp" "~" nil " " " " " " " ") @@ -297,6 +311,7 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." ("plusmn" "\\textpm{}" nil "±" "+-" "±" "±") ("times" "\\texttimes{}" nil "×" "*" "×" "×") ("frasl" "/" nil "⁄" "/" "/" "⁄") + ("colon" "\\colon" t ":" ":" ":" ":") ("div" "\\textdiv{}" nil "÷" "/" "÷" "÷") ("frac12" "\\textonehalf{}" nil "½" "1/2" "½" "½") ("frac14" "\\textonequarter{}" nil "¼" "1/4" "¼" "¼") @@ -326,7 +341,9 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." ("cap" "\\cap" t "∩" "[intersection]" "[intersection]" "∩") ("cup" "\\cup" t "∪" "[union]" "[union]" "∪") ("int" "\\int" t "∫" "[integral]" "[integral]" "∫") + ("therefore" "\\therefore" t "∴" "[therefore]" "[therefore]" "∴") ("there4" "\\therefore" t "∴" "[therefore]" "[therefore]" "∴") + ("because" "\\because" t "∵" "[because]" "[because]" "∵") ("sim" "\\sim" t "∼" "~" "~" "∼") ("cong" "\\cong" t "≅" "[approx. equal to]" "[approx. equal to]" "≅") ("simeq" "\\simeq" t "≅" "[approx. equal to]" "[approx. equal to]" "≅") @@ -335,8 +352,23 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." ("ne" "\\ne" t "≠" "[not equal to]" "[not equal to]" "≠") ("neq" "\\neq" t "≠" "[not equal to]" "[not equal to]" "≠") ("equiv" "\\equiv" t "≡" "[identical to]" "[identical to]" "≡") + ("coloneqq" "\\coloneqq" t "≔" ":=" ":=" "≔") + ("eqqcolon" "\\eqqcolon" t "≕" "=:" "=:" "≕") + ("triangleq" "\\triangleq" t "≜" "[defined to]" "[defined to]" "≜") ("le" "\\le" t "≤" "<=" "<=" "≤") + ("leq" "\\le" t "≤" "<=" "<=" "≤") ("ge" "\\ge" t "≥" ">=" ">=" "≥") + ("geq" "\\ge" t "≥" ">=" ">=" "≥") + ("lessgtr" "\\lessgtr" t "≶" "[less than or greater than]" "[less than or greater than]" "≶") + ("lesseqgtr" "\\lesseqgtr" t "⋚" "[less than or equal or greater than or equal]" "[less than or equal or greater than or equal]" "⋚") + ("ll" "\\ll" t "≪" "<<" "<<" "≪") + ("gg" "\\gg" t "≫" ">>" ">>" "≫") + ("prec" "\\prec" t "≺" "[precedes]" "[precedes]" "≺") + ("preceq" "\\preceq" t "≼" "[precedes or equal]" "[precedes or equal]" "≼") + ("preccurlyeq" "\\preccurlyeq" t "≼" "[precedes or equal]" "[precedes or equal]" "≼") + ("succ" "\\succ" t "≻" "[succeeds]" "[succeeds]" "≻") + ("succeq" "\\succeq" t "≽" "[succeeds or equal]" "[succeeds or equal]" "≽") + ("succcurlyeq" "\\succeq" t "≽" "[succeeds or equal]" "[succeeds or equal]" "≽") ("sub" "\\subset" t "⊂" "[subset of]" "[subset of]" "⊂") ("subset" "\\subset" t "⊂" "[subset of]" "[subset of]" "⊂") ("sup" "\\supset" t "⊃" "[superset of]" "[superset of]" "⊃") @@ -345,9 +377,12 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." ("sube" "\\subseteq" t "⊆" "[subset of or equal to]" "[subset of or equal to]" "⊆") ("nsup" "\\not\\supset" t "⊅" "[not a superset of]" "[not a superset of]" "⊅") ("supe" "\\supseteq" t "⊇" "[superset of or equal to]" "[superset of or equal to]" "⊇") + ("setminus" "\\setminus" t "∖" "\" "\" "⧵") ("forall" "\\forall" t "∀" "[for all]" "[for all]" "∀") ("exist" "\\exists" t "∃" "[there exists]" "[there exists]" "∃") ("exists" "\\exists" t "∃" "[there exists]" "[there exists]" "∃") + ("nexist" "\\exists" t "∃" "[there does not exists]" "[there does not exists]" "∄") + ("nexists" "\\exists" t "∃" "[there does not exists]" "[there does not exists]" "∄") ("empty" "\\empty" t "∅" "[empty set]" "[empty set]" "∅") ("emptyset" "\\emptyset" t "∅" "[empty set]" "[empty set]" "∅") ("isin" "\\in" t "∈" "[element of]" "[element of]" "∈") @@ -374,6 +409,7 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." ("gets" "\\gets" t "←" "<-" "<-" "←") ("lArr" "\\Leftarrow" t "⇐" "<=" "<=" "⇐") ("Leftarrow" "\\Leftarrow" t "⇐" "<=" "<=" "⇐") + ("impliedby" "\\impliedby" t "⇐" "<=" "<=" "⇐") ("uarr" "\\uparrow" t "↑" "[uparrow]" "[uparrow]" "↑") ("uparrow" "\\uparrow" t "↑" "[uparrow]" "[uparrow]" "↑") ("uArr" "\\Uparrow" t "⇑" "[dbluparrow]" "[dbluparrow]" "⇑") @@ -383,6 +419,7 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." ("rightarrow" "\\rightarrow" t "→" "->" "->" "→") ("rArr" "\\Rightarrow" t "⇒" "=>" "=>" "⇒") ("Rightarrow" "\\Rightarrow" t "⇒" "=>" "=>" "⇒") + ("implies" "\\implies" t "⇒" "=>" "=>" "⇒") ("darr" "\\downarrow" t "↓" "[downarrow]" "[downarrow]" "↓") ("downarrow" "\\downarrow" t "↓" "[downarrow]" "[downarrow]" "↓") ("dArr" "\\Downarrow" t "⇓" "[dbldownarrow]" "[dbldownarrow]" "⇓") @@ -391,6 +428,7 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." ("leftrightarrow" "\\leftrightarrow" t "↔" "<->" "<->" "↔") ("hArr" "\\Leftrightarrow" t "⇔" "<=>" "<=>" "⇔") ("Leftrightarrow" "\\Leftrightarrow" t "⇔" "<=>" "<=>" "⇔") + ("iff" "\\iff" t "⇔" "<=>" "<=>" "⇔") ("crarr" "\\hookleftarrow" t "↵" "<-'" "<-'" "↵") ("hookleftarrow" "\\hookleftarrow" t "↵" "<-'" "<-'" "↵") @@ -466,8 +504,9 @@ packages to be loaded, add these packages to `org-latex-packages-alist'." ("heartsuit" "\\heartsuit" t "♥" "[hearts]" "[hearts]" "♥") ("diams" "\\diamondsuit" t "♦" "[diamonds]" "[diamonds]" "♦") ("diamondsuit" "\\diamondsuit" t "♦" "[diamonds]" "[diamonds]" "♦") + ("diamond" "\\diamond" t "⋄" "[diamond]" "[diamond]" "⋄") ("Diamond" "\\diamond" t "⋄" "[diamond]" "[diamond]" "⋄") - ("loz" "\\diamond" t "◊" "[lozenge]" "[lozenge]" "◊") + ("loz" "\\lozenge" t "◊" "[lozenge]" "[lozenge]" "◊") ) "Default entities used in Org-mode to produce special characters. For details see `org-entities-user'.") -- 1.8.3.4