4

After reading this question, Double stroke fonts with unicode-math like dsfont, I remembered that the font which comes with OpenOffice (Linux Libertine G) has a beautiful (but I don't know if useful) double stroke alphabet.

How could we use Linux Libertine OpenType with XeTeX and take the double stroke alphabet from that font.

You can see how is the double stroke alphabet in this document, at the bottom of the second page.

2
  • 1
    Does a solution have to use the XeTeX engine, or would you accept a LuaTeX-based answer as well? Please advise. – Mico Nov 18 '13 at 19:38
  • @Mico There is no problem if you post it (for future users), but in my case I know nothing about LuaTeX. In fact I just said XeTeX because the font is in OpenType, but if the solution comes in pdfLaTeX it would be perfect (to use blackboard in conjunction with {libertine} and [libertine]{newtxmath}). – Manuel Nov 18 '13 at 23:02
2
+50
\documentclass{article}
\usepackage{unicode-math}
\usepackage{libertine}
\setmathfont{XITS Math}
\setmathfont[range=\mathbb]{Linux Libertine O}    
\begin{document}

Some text with the libertine font.

$\BbbA\BbbB\BbbC\BbbD\BbbE\BbbF\BbbG$ % from XITS

$\mathbb{A}\mathbb{B}\mathbb{C}\mathbb{D}\mathbb{E}\mathbb{F}$
\end{document}

enter image description here

1
  • I can't say it doesn't work, but I thought I already tried this and didn't work (may be I wrote something wrong). The “problem” is that if you substitute the \setmathfont[range=… line with \usepackage[libertine]{newtxmath} you get that same output (the second in your example) with \BbbA\BbbB…… what? I thought that, since the newtx package doesn't have that blackboard, it wasn't included in the “original” Libertine. But looking in the font, yes, those characters are included. I hope they adapt them to work with the usual [libertine]{newtxmath} with nothing extra needed. – Manuel Nov 25 '13 at 22:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.