Questions tagged [kpfonts]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
2 answers
215 views

`\eqdef` in kpfonts with XeLaTeX

Question How to get the \eqdef symbol working with kpfonts in xelatex? Details kpfonts does not provide the \eqdef symbol, which is a small text "def" set over equals sign. (≝ (U+225D)) In ...
Willie Wong's user avatar
  • 24.4k
8 votes
2 answers
151 views

Proper caron accents with kpfonts?

In good typesetting, the caron accent on some letters (t, d, l) should be replaced with something looking more like an apostrophe. This is done correctly with the "default" font with T1 ...
Jellby's user avatar
  • 3,293
0 votes
1 answer
49 views

`TU/KpMath-Regular.otf(4)/b/n' undefined error in kpfonts-otf when useing \mathversion{bold}

\documentclass{article} \usepackage{kpfonts-otf} \begin{document} Some text.\mathversion{bold}$a$ \end{document} The code compiles fine using without any errors and gives the expected output. ...
Apoorv Potnis's user avatar
0 votes
1 answer
47 views

Error: Incomplete \iffalse; all text was ignored after line 206. when using Kpfonts-otf

This is my MWE: % !TeX program = xelatex \documentclass[12pt, parskip]{scrreport} \usepackage[symbols]{kpfonts-otf} \setmainfont{KpRoman} \begin{document} Hello! \end{document} When I compile it ...
Evan Tseng's user avatar
0 votes
0 answers
29 views

How can I use another OTF font from the system with kpfonts-otf just for a short text

I wanted to add a short sentence in, let's say, Garamond o some scripted font, to my book. How can I? I now it is not possible to use fontspec
juanfal's user avatar
  • 141
4 votes
2 answers
79 views

siunitx with i-fonts-otf do not mix

If you use sisetup{mode=text} of siunitx with kpfonts-otf then \num{2.23e-23} fails. MWE: \documentclass[]{scrbook} \usepackage[spanish,es-tabla]{babel} \usepackage{siunitx} \usepackage[]{kpfonts-otf} ...
juanfal's user avatar
  • 141
2 votes
0 answers
75 views

Calligraphic style with KP fonts

Recently I started to use the KPFonts-OT with my beamer presentations. In particular, I use the option Style=mathcal (+ss01) so that the commands \mathcal{} and \mathscr{} print instead of which is ...
rgallego's user avatar
  • 2,112
1 vote
1 answer
66 views

question about \DeclareMathActive and unbraced super/subscript

I find the asterisk of kpfonts too small when used in super/subscripts so, following answers here and here, I'm using @egreg's brilliant \DeclareMathActive to redefine * in math mode as \textstyle\ast:...
mbert's user avatar
  • 4,076
2 votes
1 answer
74 views

Italic (math) units with siunitx, kpfonts and lualatex

This simple document: \documentclass{article} \usepackage{kpfonts} \usepackage{siunitx} \DeclareSIUnit\foo{\text{\ensuremath{F}}} \begin{document} \ensuremath{F} \si{\foo} \end{document} I compile ...
Jellby's user avatar
  • 3,293
1 vote
1 answer
82 views

Vertical positioning of \dashv and \vdash with kpfonts-otf

The symbols \dashv and \vdash with kpfonts-otf appear to be too low, instead of being vertically centered. But as the classical kpfonts package produces the same result, it seems to be part of the ...
Jinwen's user avatar
  • 8,226
2 votes
1 answer
70 views

Redefine \varprojlim and \varinjlim to get more pleasant arrows

I am using kpfonts-otf as the math font under LuaLaTeX. With \footnotesize, the arrow of \varprojlim and \varinjlim seems strange: I assume that the problem here is that \varprojlim and \varinjlim ...
Jinwen's user avatar
  • 8,226
2 votes
1 answer
200 views

Replace bold with semibold using `kpfonts`

I'm using kpfonts to compile a pdf using PDFLaTeX, and I generally like the results. But I find the bold font to be too... bold. I know kpfonts has a semibold variant, but I cannot find a way to ...
Akul Bhatt's user avatar
4 votes
1 answer
63 views

strange extensible arrows with kpfonts

The extensible arrows from amsmath/mathtools do not give proper spacing or symbols when used with kpfonts. Here's the correct behavior with Computer Modern. \documentclass{article} \usepackage{...
mbert's user avatar
  • 4,076
0 votes
2 answers
69 views

Use oldstylenums with kpfonts in report class on everything BUT chapter/section heading counters

Kepler fonts (kpfonts) includes an oldstylenums options, which turns all numbers, including counters, in oldstyle numbers. Is there a way to use modern lining numbers for chapter and section counters ...
Akul Bhatt's user avatar
2 votes
1 answer
100 views

Replacing all curly braces in a font (not just the large ones)

I find the curly braces from kpfonts difficult to distinguish from other brace-like symbols and would like to replace all math instances of \{ and \} (so \lbrace and \rbrace) with curlier braces from ...
mbert's user avatar
  • 4,076
1 vote
1 answer
92 views

Sizing of vertical bar delimiters by kpfonts

This is a follow-up question to Restriction of a function: the subscript seems too low. Typesetting the following math formulas with kpfonts \documentclass{article} \usepackage{kpfonts-otf} \begin{...
Heiko Theißen's user avatar
1 vote
1 answer
322 views

Restriction of a function: the subscript seems too low

When writing the restriction of some function, sometimes the restriction area (the subscript) goes under the bottom of the vertical line (especially for the font package kpfont-otf I'm using). Is ...
Jinwen's user avatar
  • 8,226
2 votes
1 answer
193 views

\widehat and \widetilde are too small for certain letters with kpfont-otf

Consider the following example, I think the \widehat seems to be too small for single letters. When using \widehat, one usually would expect getting a wider hat even for single letters (since for ...
Jinwen's user avatar
  • 8,226
3 votes
1 answer
142 views

Broken vertical bar with kpfonts-otf using LuaLaTeX

Consider the following example: \documentclass{article} \usepackage{kpfonts-otf} % https://tex.stackexchange.com/a/22255 \newcommand\restrict[2]{{% we make the whole thing an ordinary symbol \left.\...
Jinwen's user avatar
  • 8,226
3 votes
1 answer
86 views

Over height dashed line with kpfonts-otf

Consider the following example, when using kpfonts-otf, the vertical dashed line becomes over height: \documentclass{article} \usepackage{kpfonts-otf} \usepackage{arydshln} \begin{document} \[\def\...
Jinwen's user avatar
  • 8,226
2 votes
1 answer
75 views

Kpfonts-otf: Biggl( is not the same size as Biggr)

Kpfonts-otf: Biggl( is not the same size as Biggr) \documentclass{article} \usepackage{kpfonts-otf} \begin{document} \[ \Biggl( \Biggr) \] \end{document}
Firestar-Reimu's user avatar
2 votes
1 answer
75 views

Spacing around \amalg with KpFonts-otf

The space around the symbol \amalg seems a little bit too big when using the OTF version of KpFonts. Consider the following example: \documentclass{article} \usepackage{kpfonts-otf} \begin{document} ...
Jinwen's user avatar
  • 8,226
1 vote
1 answer
64 views

Unable to produce big math slash with kpfonts-otf

Consider the following example: \documentclass{article} % \usepackage{unicode-math} % \setmathfont{KpMath-Regular.otf} \usepackage{kpfonts-otf} \begin{document} \[ \left. \int \limits_{a}^{b} \...
Jinwen's user avatar
  • 8,226
2 votes
2 answers
64 views

Always use \othertailQ within italic text (kp-fonts)

I really like the long-tailed Q-shape kp-fonts has with the oldstyle option. However, I do not want the ct/st ligatures that this option provides, nor do I particularly want the long-tailed Q in ...
tolUene's user avatar
  • 177
2 votes
2 answers
61 views

Placement of `\vdots` looks strange with kpfonts-otf

Consider the following code: \documentclass{article} % \usepackage{kpfonts} \usepackage{kpfonts-otf} \begin{document} \[ \begin{pmatrix} \mu_1\\ \vdots\\ \mu_n \end{...
Jinwen's user avatar
  • 8,226
2 votes
2 answers
105 views

toggle between old (lowercase) and classic (uppercase) style numbers?

I use the kpfonts font package, and I would like to use oldstylenums as default, but in tables showing data or graphs, I would like to use the classic (uppercase) letters. Instead of using the command ...
likethevegetable's user avatar
4 votes
1 answer
96 views

Incompatibility between AMS classes and Kp-fonts package (extended versions of \widetilde and \widehat)

The kpfonts package extends the \widetilde and \widehat commands (see §3.5 in the package documentation). Here is a MWE: \documentclass{article} \usepackage{kpfonts} \begin{document} \[\widetilde{...
Arkandias's user avatar
  • 268
5 votes
2 answers
427 views

Using Kpfonts' mathbb in amsfonts

I'm trying to use amsfonts, or more precisely, the math font of amsfonts, but I don't really like how the blackboard bold looks. Neither do I enjoy the look of something like dsfonts, or many other ...
Requaero's user avatar
2 votes
2 answers
90 views

When using kpfonts, the vector versions of i and j don't behave nice with the physics package

When attempting to typeset unit vectors with the physics package shorthand \vu the following problems occur when using kpfonts which do not occur when using computer modern. \vu{i} and \vu{j} do not ...
OmnipotentEntity's user avatar
3 votes
2 answers
338 views

\textlangle and \textrangle, with kpfonts-otf, not displayed with lualatex but displayed with xelatex

As shown by the following MCE, \textlangle and \textrangle are correctly displayed with pdflatex + kpfonts but not with lualatex + kpfonts-otf. The latter case is not so unexpected since Daniel Flipo, ...
Denis Bitouzé's user avatar
0 votes
1 answer
42 views

Biblatex + kpfonts = unclean line breaks?

I am using biblatex and biber to create the bibliography of my thesis. I am also using kpfonts. I noticed that in almost every entry of my bibliography there is one line in which a symbol or letter ...
terri's user avatar
  • 70
0 votes
0 answers
304 views

How to correctly use kpfonts with classicthesis as both main and math font?

I want to use kpfonts with classicthesis both as the main font and as the math font. But I am not sure how to do it. When I use it, the error that I get is: /usr/local/texlive/2019/texmf-dist/tex/...
Damitr's user avatar
  • 1,855
6 votes
2 answers
546 views

Problems with µ, displaying ţ with sisetup option (for combination of siunitx, fontspec and kpfonts)

I have problems with the combination of using siunitx and displaying upright partial derivative symbols using: \usepackage[partialup]{kpfonts} The unit prefix µ is not displayed using this code: \...
Richard's user avatar
  • 101
6 votes
3 answers
352 views

DeclareMathOperator and widearcarrow with kpfonts

The title says it all, I am using the package kpfonts and I would like to declare a math operator that has a widearc on top. However, when I compile I don't get any arc. \documentclass{article} \...
Stefano Nicotra's user avatar
2 votes
0 answers
264 views

Increase size of angle brackets with kpfonts

I am using kpfonts and have run into a problem trying to use large angle brackets in math mode formulae. Based on the answers to previous questions e.g. Big Parenthesis in an Equation I have defined ...
Brian Scannell's user avatar
1 vote
1 answer
818 views

varkappa: amssymb AND kpfonts

Between the two packages amssymb and kpfonts, whichever is loaded last determines the look of \varkappa. With the usual tricks using \let and \LetLtxMacro, I have not found a way to simultaneously ...
John McVey's user avatar
1 vote
0 answers
120 views

How to generate valid PDF/A file using kpfonts?

MWE: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{kpfonts} \usepackage[a-1b]{pdfx} \usepackage{mwe} \begin{document} \sffamily\scshape% \blindtext% \...
xucheng's user avatar
  • 529
0 votes
1 answer
257 views

`kpfonts` light option

I am a bit confused by this sentence in the kpfonts package documentation: With the light option, the print is better than display! May I understand that the light option produces a better result ...
Andrestand's user avatar
  • 1,085
3 votes
1 answer
113 views

Correct spacing in tikz-cd with kpfonts

Tikz-cd does not respect spacing correctly when used with kpfonts. Here is a MWE \documentclass{minimal} \usepackage{kpfonts} \usepackage{tikz-cd} \usepackage{amsmath} \begin{document} \begin{tikzcd} ...
Damien L's user avatar
  • 611
0 votes
1 answer
151 views

How to kern kpfont integrals? [duplicate]

kpfont integrals have a lot of empty space both on the left and on the right ever with smashoperator: How do I kern the function "into" the integral and reduce the white space of the left document-...
homocomputeris's user avatar
0 votes
2 answers
461 views

Change `\textlnot` to something usable in math mode with `kpfonts`

Consider the following MWE: \documentclass{article} \usepackage{kpfonts} \usepackage[utf8]{inputenc} \begin{document} This is a formula: $¬¬p \implies p$ \end{document} The output does not ...
Nicola Gigante's user avatar
4 votes
1 answer
921 views

Myriad Pro with KP-fonts package

I would like to use both the KP Fonts package for the serif font in the main body of the text and Myriad Pro for the sans serif font to be used in section headers etc. \documentclass[11pt]{scrreprt} ...
wrb98's user avatar
  • 878
2 votes
2 answers
77 views

kpfonts error with environ package and \write

Minimum Working Example \documentclass{article} \usepackage{kpfonts} \usepackage{environ} \makeatletter \AtBeginDocument{% \begingroup \newwrite\@bibmeta \immediate\openout\@...
Willie Wong's user avatar
  • 24.4k
3 votes
1 answer
775 views

Using kepler fonts with XeLaTeX?

I was happily using the kpfonts package for my thesis, then I wanted to switch to xelatex for some reasons and I realized I didn't know how to use Kepler fonts with xelatex. The kpfonts package, when ...
Nicola Gigante's user avatar
2 votes
2 answers
901 views

How to adjust parenthesis thickness without changing the font?

I use kpfonts, and equations like \left(\frac{1}{2}\right) or\left[\frac{1}{2}\right] produce thick parentheses etc. that look very heavy compared to the rest of the text. Is it possible to make them ...
homocomputeris's user avatar
3 votes
2 answers
374 views

Typesetting abbreviations in large small caps with numbers

I have trouble displaying an abbreviation nicely. Removing largesmallcaps is a small improvement, but looks really bad in full document. I want normal numbers in the rest of the document. How can I ...
Mats Nilsson's user avatar
1 vote
1 answer
2k views

Use sans serif math operators with Roboto

Thanks to @HenriMenke, I know how to use Roboto font in math for letters (including Greek) and digits. Now, I'd like to use a sans serif font for math operators as well (say \int or \sum). AFAIK, ...
cjorssen's user avatar
  • 10k
1 vote
1 answer
330 views

Template to use mathspec for old-fashion text. Step 1: _Ho do I use `mathspec` and `fontspec`?_

(Edited after some comments) I think this is y most difficult question, so I apologize in advance if I do not explain myself well or is a very strange question. I would like to get an old-fashion ...
Dog_69's user avatar
  • 981
2 votes
0 answers
725 views

Fonts not found (baskervald) [closed]

I'm trying to use Baskerville font using \usepackage{kpfonts,baskervald} pdflatex fails with the following error: kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 ybvr8r ...
Alex B's user avatar
  • 21
0 votes
1 answer
537 views

Why error messages after installing MiKTeX on Windows?

I just wrote a simple example, only for trying out how it would work on windows: \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \...
Javier Avila Parada's user avatar