summaryrefslogtreecommitdiff
path: root/fonts/jetbrainsmono-otf/tex
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/jetbrainsmono-otf/tex')
-rw-r--r--fonts/jetbrainsmono-otf/tex/jetbrainscode-extralight.fontspec8
-rw-r--r--fonts/jetbrainsmono-otf/tex/jetbrainscode-light.fontspec8
-rw-r--r--fonts/jetbrainsmono-otf/tex/jetbrainscode-medium.fontspec8
-rw-r--r--fonts/jetbrainsmono-otf/tex/jetbrainscode-thin.fontspec8
-rw-r--r--fonts/jetbrainsmono-otf/tex/jetbrainscode.fontspec8
-rw-r--r--fonts/jetbrainsmono-otf/tex/jetbrainsmono-extralight.fontspec8
-rw-r--r--fonts/jetbrainsmono-otf/tex/jetbrainsmono-light.fontspec8
-rw-r--r--fonts/jetbrainsmono-otf/tex/jetbrainsmono-medium.fontspec8
-rw-r--r--fonts/jetbrainsmono-otf/tex/jetbrainsmono-otf.sty33
-rw-r--r--fonts/jetbrainsmono-otf/tex/jetbrainsmono-thin.fontspec8
-rw-r--r--fonts/jetbrainsmono-otf/tex/jetbrainsmono.fontspec8
11 files changed, 113 insertions, 0 deletions
diff --git a/fonts/jetbrainsmono-otf/tex/jetbrainscode-extralight.fontspec b/fonts/jetbrainsmono-otf/tex/jetbrainscode-extralight.fontspec
new file mode 100644
index 0000000000..c75f36d79b
--- /dev/null
+++ b/fonts/jetbrainsmono-otf/tex/jetbrainscode-extralight.fontspec
@@ -0,0 +1,8 @@
+\defaultfontfeatures[jetbrainscode-extralight]
+ {Extension=.otf,
+ UprightFont=JetBrainsMono-ExtraLight,
+ ItalicFont=JetBrainsMono-ExtraLightItalic,
+ BoldFont=JetBrainsMono-Medium,
+ BoldItalicFont=JetBrainsMono-MediumItalic,
+ Contextuals=Alternate
+} \ No newline at end of file
diff --git a/fonts/jetbrainsmono-otf/tex/jetbrainscode-light.fontspec b/fonts/jetbrainsmono-otf/tex/jetbrainscode-light.fontspec
new file mode 100644
index 0000000000..3eea8a87dc
--- /dev/null
+++ b/fonts/jetbrainsmono-otf/tex/jetbrainscode-light.fontspec
@@ -0,0 +1,8 @@
+\defaultfontfeatures[jetbrainscode-light]
+ {Extension=.otf,
+ UprightFont=JetBrainsMono-Light,
+ ItalicFont=JetBrainsMono-LightItalic,
+ BoldFont=JetBrainsMono-SemiBold,
+ BoldItalicFont=JetBrainsMono-SemiBoldItalic,
+ Contextuals=Alternate
+} \ No newline at end of file
diff --git a/fonts/jetbrainsmono-otf/tex/jetbrainscode-medium.fontspec b/fonts/jetbrainsmono-otf/tex/jetbrainscode-medium.fontspec
new file mode 100644
index 0000000000..2073accd6a
--- /dev/null
+++ b/fonts/jetbrainsmono-otf/tex/jetbrainscode-medium.fontspec
@@ -0,0 +1,8 @@
+\defaultfontfeatures[jetbrainscode-medium]
+ {Extension=.otf,
+ UprightFont=JetBrainsMono-Medium,
+ ItalicFont=JetBrainsMono-MediumItalic,
+ BoldFont=JetBrainsMono-ExtraBold,
+ BoldItalicFont=JetBrainsMono-ExtraBoldItalic,
+ Contextuals=Alternate
+} \ No newline at end of file
diff --git a/fonts/jetbrainsmono-otf/tex/jetbrainscode-thin.fontspec b/fonts/jetbrainsmono-otf/tex/jetbrainscode-thin.fontspec
new file mode 100644
index 0000000000..7c7672da69
--- /dev/null
+++ b/fonts/jetbrainsmono-otf/tex/jetbrainscode-thin.fontspec
@@ -0,0 +1,8 @@
+\defaultfontfeatures[jetbrainscode-thin]
+ {Extension=.otf,
+ UprightFont=JetBrainsMono-Thin,
+ ItalicFont=JetBrainsMono-ThinItalic,
+ BoldFont=JetBrainsMono-Regular,
+ BoldItalicFont=JetBrainsMono-Italic,
+ Contextuals=Alternate
+} \ No newline at end of file
diff --git a/fonts/jetbrainsmono-otf/tex/jetbrainscode.fontspec b/fonts/jetbrainsmono-otf/tex/jetbrainscode.fontspec
new file mode 100644
index 0000000000..19ce3c9653
--- /dev/null
+++ b/fonts/jetbrainsmono-otf/tex/jetbrainscode.fontspec
@@ -0,0 +1,8 @@
+\defaultfontfeatures[jetbrainscode]
+ {Extension=.otf,
+ UprightFont=JetBrainsMono-Regular,
+ ItalicFont=JetBrainsMono-Italic,
+ BoldFont=JetBrainsMono-Bold,
+ BoldItalicFont=JetBrainsMono-BoldItalic,
+ Contextuals=Alternate
+} \ No newline at end of file
diff --git a/fonts/jetbrainsmono-otf/tex/jetbrainsmono-extralight.fontspec b/fonts/jetbrainsmono-otf/tex/jetbrainsmono-extralight.fontspec
new file mode 100644
index 0000000000..f8db94300e
--- /dev/null
+++ b/fonts/jetbrainsmono-otf/tex/jetbrainsmono-extralight.fontspec
@@ -0,0 +1,8 @@
+\defaultfontfeatures[jetbrainsmono-extralight]
+ {Extension=.otf,
+ UprightFont=JetBrainsMono-ExtraLight,
+ ItalicFont=JetBrainsMono-ExtraLightItalic,
+ BoldFont=JetBrainsMono-Medium,
+ BoldItalicFont=JetBrainsMono-MediumItalic,
+ Contextuals=AlternateOff
+} \ No newline at end of file
diff --git a/fonts/jetbrainsmono-otf/tex/jetbrainsmono-light.fontspec b/fonts/jetbrainsmono-otf/tex/jetbrainsmono-light.fontspec
new file mode 100644
index 0000000000..06e231035f
--- /dev/null
+++ b/fonts/jetbrainsmono-otf/tex/jetbrainsmono-light.fontspec
@@ -0,0 +1,8 @@
+\defaultfontfeatures[jetbrainsmono-light]
+ {Extension=.otf,
+ UprightFont=JetBrainsMono-Light,
+ ItalicFont=JetBrainsMono-LightItalic,
+ BoldFont=JetBrainsMono-SemiBold,
+ BoldItalicFont=JetBrainsMono-SemiBoldItalic,
+ Contextuals=AlternateOff
+} \ No newline at end of file
diff --git a/fonts/jetbrainsmono-otf/tex/jetbrainsmono-medium.fontspec b/fonts/jetbrainsmono-otf/tex/jetbrainsmono-medium.fontspec
new file mode 100644
index 0000000000..5e020f661b
--- /dev/null
+++ b/fonts/jetbrainsmono-otf/tex/jetbrainsmono-medium.fontspec
@@ -0,0 +1,8 @@
+\defaultfontfeatures[jetbrainsmono-medium]
+ {Extension=.otf,
+ UprightFont=JetBrainsMono-Medium,
+ ItalicFont=JetBrainsMono-MediumItalic,
+ BoldFont=JetBrainsMono-ExtraBold,
+ BoldItalicFont=JetBrainsMono-ExtraBoldItalic,
+ Contextuals=AlternateOff
+} \ No newline at end of file
diff --git a/fonts/jetbrainsmono-otf/tex/jetbrainsmono-otf.sty b/fonts/jetbrainsmono-otf/tex/jetbrainsmono-otf.sty
new file mode 100644
index 0000000000..17dc7f39e6
--- /dev/null
+++ b/fonts/jetbrainsmono-otf/tex/jetbrainsmono-otf.sty
@@ -0,0 +1,33 @@
+% jetbrainsmono-otf.sty
+% C. Pierquet 2025
+% JetBrains Mono typeface is available under the SIL Open Font License 1.1 license
+%
+% This file is distributed under the terms of the LaTeX Project Public
+% License from CTAN archives in directory macros/latex/base/lppl.txt.
+% Either version 1.3 or, at your option, any later version.
+
+\ProvidesPackage{jetbrainsmono-otf}[2025/01/10 v0.1 Supports JetBrainsMono fonts for lualatex and xelatex.]
+
+\RequirePackage{xkeyval}
+
+\newcommand*{\JetBrainsMono@scale}{MatchLowercase}
+\DeclareOptionX{scale}{\renewcommand*{\JetBrainsMono@scale}{#1}}
+\ProcessOptionsX\relax
+
+\RequirePackage{fontspec}
+\defaultfontfeatures{
+ HyphenChar=None,
+ Scale =\JetBrainsMono@scale}
+\newfontfamily\jetbrainsmono{jetbrainsmono}
+\newfontfamily\jetbrainsmonoextralight{jetbrainsmono-extralight}
+\newfontfamily\jetbrainsmonolight{jetbrainsmono-light}
+\newfontfamily\jetbrainsmonomedium{jetbrainsmono-medium}
+\newfontfamily\jetbrainsmonothin{jetbrainsmono-thin}
+\newfontfamily\jetbrainscode{jetbrainscode}
+\newfontfamily\jetbrainscodeextralight{jetbrainscode-extralight}
+\newfontfamily\jetbrainscodelight{jetbrainscode-light}
+\newfontfamily\jetbrainscodemedium{jetbrainscode-medium}
+\newfontfamily\jetbrainscodethin{jetbrainscode-thin}
+\defaultfontfeatures{}
+
+\endinput \ No newline at end of file
diff --git a/fonts/jetbrainsmono-otf/tex/jetbrainsmono-thin.fontspec b/fonts/jetbrainsmono-otf/tex/jetbrainsmono-thin.fontspec
new file mode 100644
index 0000000000..d79ba8c9e2
--- /dev/null
+++ b/fonts/jetbrainsmono-otf/tex/jetbrainsmono-thin.fontspec
@@ -0,0 +1,8 @@
+\defaultfontfeatures[jetbrainsmono-thin]
+ {Extension=.otf,
+ UprightFont=JetBrainsMono-Thin,
+ ItalicFont=JetBrainsMono-ThinItalic,
+ BoldFont=JetBrainsMono-Regular,
+ BoldItalicFont=JetBrainsMono-Italic,
+ Contextuals=AlternateOff
+} \ No newline at end of file
diff --git a/fonts/jetbrainsmono-otf/tex/jetbrainsmono.fontspec b/fonts/jetbrainsmono-otf/tex/jetbrainsmono.fontspec
new file mode 100644
index 0000000000..51e0f01ff4
--- /dev/null
+++ b/fonts/jetbrainsmono-otf/tex/jetbrainsmono.fontspec
@@ -0,0 +1,8 @@
+\defaultfontfeatures[jetbrainsmono]
+ {Extension=.otf,
+ UprightFont=JetBrainsMono-Regular,
+ ItalicFont=JetBrainsMono-Italic,
+ BoldFont=JetBrainsMono-Bold,
+ BoldItalicFont=JetBrainsMono-BoldItalic,
+ Contextuals=AlternateOff
+} \ No newline at end of file