[latex3-commits] [l3svn] 04/05: Add some math mode fonts to the set

noreply at latex-project.org noreply at latex-project.org
Sun Feb 7 23:55:37 CET 2016


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit ef6b95c51df473e6411922e8020add17c782e361
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Feb 7 22:52:52 2016 +0000

    Add some math mode fonts to the set
    
    This is just about enough to let something happen in math mode.
    With no \(U)mathcode set up and no spacing defined, things
    will look odd but at least there are some fonts available!
    
    For 8-bit I've gone with roughly what lmodern seems to do.
---
 l3kernel/l3final.dtx |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/l3kernel/l3final.dtx b/l3kernel/l3final.dtx
index 8f022f5..c710845 100644
--- a/l3kernel/l3final.dtx
+++ b/l3kernel/l3final.dtx
@@ -287,11 +287,59 @@
             \tex_font:D \exp_not:c { TU/lmr/m/n/10 }
               = "[lmroman10-regular.otf]" \scan_stop:
             \exp_not:c { TU/lmr/m/n/10 }
+            \tex_font:D \exp_not:c { TU/lmm/m/n/10 }
+              = "[latinmodern-math.otf]" \scan_stop:
+            \tex_font:D \exp_not:c { TU/lmm/m/n/7 }
+              = "[latinmodern-math.otf]"~at~7pt \scan_stop:
+            \tex_font:D \exp_not:c { TU/lmm/m/n/5 }
+              = "[latinmodern-math.otf]"~at~5pt \scan_stop:
+            \exp_not:N \int_step_inline:nnnn { 0 } { 1 } { 3 }
+              {
+                \tex_textfont:D         ##1 = \exp_not:c { TU/lmm/m/n/10 }
+                \tex_scriptfont:D       ##1 = \exp_not:c { TU/lmm/m/n/7 }
+                \tex_scriptscriptfont:D ##1 = \exp_not:c { TU/lmm/m/n/5 }
+              }
           }
           {
             \tex_font:D \exp_not:c { T1/lmr/m/n/10 }
               = ec-lmr10 \scan_stop:
             \exp_not:c { T1/lmr/m/n/10 }
+            \tex_font:D \exp_not:c { OT1/lmr/m/n/10 }
+              = rm-lmr10 \scan_stop:
+            \tex_font:D \exp_not:c { OML/lmm/m/it/10 }
+              = lmmi10 \scan_stop:
+            \tex_font:D \exp_not:c { OMS/lmsy/m/n/10 }
+              = lmsy10 \scan_stop:
+            \tex_font:D \exp_not:c { OMX/lmex/m/n/10 }
+              = lmex10 \scan_stop:
+            \tex_font:D \exp_not:c { OT1/lmr/m/n/7 }
+              = rm-lmr7 \scan_stop:
+            \tex_font:D \exp_not:c { OML/lmm/m/it/7 }
+              = lmmi7 \scan_stop:
+            \tex_font:D \exp_not:c { OMS/lmsy/m/n/7 }
+              = lmsy7 \scan_stop:
+            \tex_font:D \exp_not:c { OMX/lmex/m/n/7 }
+              = lmex10~at~7pt \scan_stop:
+            \tex_font:D \exp_not:c { OT1/lmr/m/n/5 }
+              = rm-lmr5 \scan_stop:
+            \tex_font:D \exp_not:c { OML/lmm/m/it/5 }
+              = lmmi5 \scan_stop:
+            \tex_font:D \exp_not:c { OMS/lmsy/m/n/5 }
+              = lmsy5 \scan_stop:
+            \tex_font:D \exp_not:c { OMX/lmex/m/n/5 }
+              = lmex10~at~5pt \scan_stop:
+            \tex_textfont:D         0 = \exp_not:c { OT1/lmr/m/n/10 }
+            \tex_textfont:D         1 = \exp_not:c { OML/lmm/m/it/10 }
+            \tex_textfont:D         2 = \exp_not:c { OMS/lmsy/m/n/10 }
+            \tex_textfont:D         3 = \exp_not:c { OMX/lmex/m/n/10 }
+            \tex_scriptfont:D       0 = \exp_not:c { OT1/lmr/m/n/7 }
+            \tex_scriptfont:D       1 = \exp_not:c { OML/lmm/m/it/7 }
+            \tex_scriptfont:D       2 = \exp_not:c { OMS/lmsy/m/n/7 }
+            \tex_scriptfont:D       3 = \exp_not:c { OMX/lmex/m/n/7 }
+            \tex_scriptscriptfont:D 0 = \exp_not:c { OT1/lmr/m/n/5 }
+            \tex_scriptscriptfont:D 1 = \exp_not:c { OML/lmm/m/it/5 }
+            \tex_scriptscriptfont:D 2 = \exp_not:c { OMS/lmsy/m/n/5 }
+            \tex_scriptscriptfont:D 3 = \exp_not:c { OMX/lmex/m/n/5 }
           }
       }
   }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list