Questions tagged [libertinus]
Libertinus is a fork of the Linux Libertine and Linux Biolinum fonts that also includes an OpenType math companion of the Libertine font family.
41
questions
7
votes
2
answers
532
views
Redefined `epsilon` to `varepsilon`
MWE:
% !TeX program = xelatex
\documentclass{article}
\usepackage{libertinus}
\renewcommand{\epsilon}{\varepsilon}
\begin{document}
This is \texttt{varepsilon}: $\varepsilon$.
This ...
2
votes
1
answer
49
views
How to activate Discretionary Ligatures by default with "libertinus-otf" package?
I am using the package libertinus-otf with LuaLatex, MikTeX and the KOMA-Script document class scrartcl.
How do I activate Discretionary Ligatures by default for all fonts?
I have tried many things as ...
0
votes
1
answer
57
views
The font "LibertinusMaths" cannot be found
Having trouble running the following MWE with LuaLaTeX, despite multiple confirmations that font-libertinus was successfully installed using Homebrew! I'm running MacOS Ventura 13.3.1 on M2 Max; ...
2
votes
2
answers
102
views
\diamond not available with Libertinus Math and LuaLaTeX?
The folling MWE produces no diamond symbol when compiled with LuaLaTeX. The log file contains the message
Missing character: There is no ⋄ (U+22C4) in font [LibertinusMath-Regular.otf]
:mode=base;...
4
votes
0
answers
169
views
Problems with Libertinus math fonts after upgrading TeX Live
I have recently upgraded TeX Live (Mactex) from 2020 to 2022 and I am having some problems with the Libertine Math Fonts.
The pdf output below is what the two systems produce from the same source:
\...
0
votes
0
answers
19
views
How can I use an additionaly temporaly math font to declare a macro using libertinusT1math
I would like to style my book more, until now I'm using \mathbfit for vectors\matrices. I would like to use another italic bold math font to type the same characters, e.g. x and y to denote different ...
2
votes
1
answer
127
views
Package libertinus-otf and yhmath
The compiling the following with lualatex
\documentclass{article}
\usepackage{libertinus-otf}
\usepackage{yhmath}
\begin{document}
$\wideparen{ABC}$
\end{document}
gives the error message
/usr/local/...
3
votes
1
answer
109
views
Setting language variant in polyglossia removes small caps from font
I've come across a strange interaction between polyglossia and certain fonts (I've only tested Libertinus Serif, though). When specifying the language variant bokmal for the language norwegian, small ...
1
vote
2
answers
78
views
libertinus-otf does not print straight quotes in verbatim environment
Consider the following LuaLaTeX document:
% arara: lualatex
\documentclass{article}
\usepackage{libertinus-otf}
\setmonofont{CascadiaCod3-Light.otf} % from cascadia-code package on CTAN
\begin{...
0
votes
2
answers
304
views
Math font graphics: not so clear with libertinust1math
I'm writing a document with \libertinus font. In order to make the whole document graphically coherent, I'm also using \libertinust1math to write some mathematical formulae.
I like the general style, ...
1
vote
0
answers
164
views
Small caps in Libertinus not available after upgrade to Texlive 2020 [closed]
I am using the Libertinus font inside a Tikz figure, including text with small caps. This used to work fine with Texlive 2019 (installed via Ubuntu's package manager). However, after updating to the ...
1
vote
0
answers
187
views
Space appears in the wrong place
Following comments I received in this question, I'm trying to use libertinus font (in Overleaf).
\documentclass[11pt]{article}
\usepackage[compact]{titlesec}
\tracinglostchars2
\usepackage{libertinus}
...
3
votes
1
answer
1k
views
LuaLaTeX, Libertinus and unicode-math: Using correct sans-serif font in bold math version
This is a follow up question to this answer.
The original question dealt with the problem of selecting to correct roman font in bold math version.
Although the sans-serif style was not part of the ...
4
votes
1
answer
1k
views
symbol \eth already defined when using libertinus(-otf) and lualatex [pandoc]
Using libertinus as fontfamily within a yaml-header of a .md-file and trying to convert with pandoc (2.9.2) and the pdf-engine lualatex (TL 2020, LuaLaTeX 1.12.0) I get the following error-message:
! ...
1
vote
2
answers
146
views
Missing characters in output due to `\renewcommand{\familydefault}{\sfdefault}`
This is a followup question on: ASCII text set in Greek script when using \usepackage[greek]{babel}
When we have a MWE like:
\documentclass[twoside]{book}
\usepackage{fontspec}
\usepackage[greek]{...
1
vote
1
answer
120
views
Length of \underbracket with Libertinus Math
The combination of Libertinus Math and \underbracket (provided by mathtools) produces unreasonably large brackets if the argument of \underbracket becomes too long.
(One can probably also argue that ...
3
votes
1
answer
206
views
Libertinus, widetilde and amssymb
I am having trouble with typsetting \widetilde using libertinus when using amssymb. The code compiles when amssymb is not used, but produces a g looking tilde (not wide). There is no difference in the ...
4
votes
0
answers
99
views
Improved delimiters for LibertinusMath
I use for my documents the Libertine font for the text and Libertinus for the mathematics. I find these fonts generally very beautiful. However, I find that the delimiters are not very harmonious with ...
0
votes
0
answers
95
views
How do I fix a fractional exponent in Libertinus Math?
I am very fond of Libertine, and was excited about better finished math display in Libertinus. But many math details are quite ugly when I set them in Libertinus. For example when I use a fraction in ...
3
votes
0
answers
153
views
Subscript strangely spaced: Bug in font Libertinus or LuaTex engine? Possible quick and dirty fix?
Compile this MWE with LuaLaTeX
\documentclass{article}
\usepackage{libertinus}
\begin{document}
\(w_j q^j\)
\end{document}
The result is:
IMHO, the space between "w" and its subscript "j" is too ...
2
votes
2
answers
506
views
LuaLaTeX, ntheorem, unicode-math and Libertinus: Math in theorem header loads Computer Modern
Consider this MWE and compile it with LuaLaTex:
\documentclass{article}
\usepackage{libertinus}
\usepackage{ntheorem}
\theoremstyle{plain}
\theoremheaderfont{\normalfont\bfseries}
\newtheorem{...
0
votes
1
answer
1k
views
LuaLaTeX: \math... (\mathtt, \mathcal, \mathfrak) vs. \sym... (\symtt, \symcal, \symfrak) commands and setting different fonts
In another answer (for a completely different question) I have been advised to use the \sym...-commands to change the font in math mode instead of the traditional \math...-font commands, if I use ...
10
votes
1
answer
479
views
Missing Qu-ligature with Libertinus + LuaLaTeX, but OK for Libertinus + XeLaTeX
Compile this MWE with LuaLaTeX and with XeLaTex
\documentclass{article}
\usepackage[defaultfeatures={Kerning=On,Ligatures={TeX,Common,Rare}}]{libertinus}
\begin{document}
\begin{tabular}{...
2
votes
1
answer
182
views
Different spacing, hyphenation and page breaks with pdfLaTex + Libertine vs. XeLaTeX + Libertinus
I have a rather long document (approx. 300 pages) which I have started to create with pdfLaTeX and Libertine, but now I have switched to XeLaTeX and Libertinus for several reasons (mostly math and ...
4
votes
1
answer
1k
views
XeLaTeX and font Libertinus: Missing character for upright T in math mode
If I compile the following MWE
\documentclass{article}
\usepackage{libertinus}
\newcommand*{\Gt}{G_{\mathrm{T}}}
\newcommand*{\gt}{g_{\mathrm{T}}}
\begin{document}
Let $\Gt = \langle \gt \rangle$ ...
5
votes
0
answers
252
views
Missing space with Libertinus and LuaLaTeX
I’m currently using the Libertinus fonts for both the main text and the mathematical content, and lualatex for compiling.
But I noticed that in certain constellations some (much needed) space seems to ...
1
vote
1
answer
169
views
Libertinus, backslash in text
Does libertinus/libertine just not have a textmode backslash character?
(That character must be in the font somewhere, is there a way to access it?)
Minimum working example:
\documentclass{...
5
votes
1
answer
322
views
Packages "LibertinusT1Math" raises error if compiled with XeLaTeX
The following MWE raises an error if compiled with XeLaTex:
\documentclass{article}
\usepackage{libertinus}
\usepackage[slantedGreek]{libertinust1math}
\begin{document}
Lore ipsum dulur.
\end{...
7
votes
1
answer
2k
views
Unable to use Libertinus Math
I cloned the Libertinus repository into a subdirectory and am trying to compile the following with xelatex:
\documentclass{amsbook}
\usepackage{fontspec}
\usepackage{amsmath, amssymb}
\usepackage{...
4
votes
1
answer
638
views
Libertinus font on ubuntu, installed version vs. github version
I'm using the libertinus font family with the latest version coming from github. However, the font is also installed on my system, but I stopped using this version since there was a problem with the ...
1
vote
1
answer
157
views
Equal line height with Libertinus Math?
This inline formula increases the line height. How to prevent?
% !TEX TS-program = lualatex
\documentclass[12pt]{scrreprt}
\usepackage{amsmath}
\usepackage{unicode-math}
\usepackage{blindtext}
\...
5
votes
1
answer
199
views
Math arrows don't display with Beamer + xelatexmk + libertinus
I have beamer presentations I've been using for some years in class. This year, I discovered problems with the libertine package and following advice from this forum (Libertine package options with ...
16
votes
1
answer
901
views
Why Does Word Spacing Change Drastically When Using Libertine/Libertinus with the Various LaTeX Engines?
I was just messing around in LaTeX with the libertine and libertinus packages, and noticed that switching from LaTeX to XeLaTex to LuaLaTeX all produced PDFs that were mostly the same length, except ...
4
votes
2
answers
723
views
Selecting libertinus italic loads bold italic font
When using the libertinus font and compiling with xelatex, selecting the sans italic font with \textit causes the bold italic font to be loaded. Why?
\documentclass{article}
\usepackage{fontspec}
\...
4
votes
1
answer
2k
views
Load libertinus font with libertinus-otf package
I am trying to use Libertinus font with Lualatex. I have found so many different suggestions how to do it and finally decided to try the package libertinus-otf.
It was not included in my texlive ...
1
vote
0
answers
1k
views
Fontspec can't find fonts included in tex live 2018 [closed]
This MWE works in tex live versions prior to the 2018 version:
\documentclass{article}
\usepackage{fontspec, lipsum}
\setmainfont{Libertinus Serif}
\begin{document}
\lipsum
\end{document}
In ...
5
votes
2
answers
626
views
ffi ligature in Libertinus italic
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Libertinus Serif}
\begin{document}
Affine finance
\itshape Affine finance
\end{document}
Why is no ffi ligature applied in the ...
4
votes
1
answer
798
views
Weird arrows with mhchem - Bug in package, font or LuaTeX?
I am using the mhchem package with the Libertinus font family in my PhD thesis.
When typesetting with LuaTeX, there are some weird issues with arrows depicting reactions. Here is the MWE to ...
1
vote
0
answers
593
views
where to install latest version of Libertinus from git?
I want to install the latest version of the Libertinus Fonts from https://github.com/khaledhosny/libertinus into my local tex-tree (macOS)(/usr/local/texlive/texmf-local/). Therefore, I downloaded the ...
1
vote
0
answers
299
views
Unhappy with automatic bracket sizing using unicode-math and Libertinus
I recently switched to the Libertius font familiy (available from GitHub) for consistent text and math fonts. However, the automatic size calculation using \left and \right is not to my taste in all ...
11
votes
1
answer
360
views
Scaling of delimiters and \widetilde does not work with Libertinus
I’m using XeLaTeX and I recently started using the Libertinus font family.
I ran into the problem that scaling of delimiters does not always seem to work.
As an example, take the following code:
\...