Questions tagged [kpfonts]
The kpfonts tag has no usage guidance.
102
questions
2
votes
2
answers
132
views
Rescaling Kp-fonts in plain tex
I am using Kp-fonts in a plain tex (not LaTeX) document. I invoke them with the line:
\input kp-fonts
They work fine at the default size.
But in some cases I would like to rescale these. So I type, ...
2
votes
1
answer
77
views
supercite punctuation not superscripts when using kpfonts-otf with Lua/XeLaTeX
I am trying to use XeLaTeX with kpfonts-otf, but for some reason the punctuation in the supercitations is "normalscript"(?), making the citations look a little out of place.
MWE:
\...
6
votes
2
answers
249
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 ...
8
votes
2
answers
182
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 ...
0
votes
1
answer
63
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. ...
0
votes
1
answer
50
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 ...
0
votes
0
answers
35
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
4
votes
2
answers
80
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}
...
2
votes
0
answers
124
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 ...
1
vote
1
answer
74
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:...
2
votes
1
answer
87
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 ...
1
vote
1
answer
105
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 ...
2
votes
1
answer
90
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 ...
2
votes
1
answer
241
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 ...
4
votes
1
answer
74
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{...
0
votes
2
answers
78
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 ...
2
votes
1
answer
148
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 ...
1
vote
1
answer
97
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{...
1
vote
1
answer
460
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 ...
2
votes
1
answer
249
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 ...
3
votes
1
answer
168
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.\...
3
votes
1
answer
90
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\...
2
votes
1
answer
84
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}
2
votes
1
answer
86
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}
...
1
vote
1
answer
68
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} \...
2
votes
2
answers
72
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 ...
2
votes
2
answers
69
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{...
2
votes
2
answers
116
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 ...
4
votes
1
answer
104
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{...
5
votes
2
answers
499
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 ...
2
votes
2
answers
113
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 ...
3
votes
2
answers
366
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, ...
0
votes
1
answer
47
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 ...
0
votes
0
answers
354
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/...
6
votes
2
answers
652
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:
\...
6
votes
3
answers
359
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}
\...
2
votes
0
answers
287
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 ...
1
vote
1
answer
1k
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 ...
1
vote
0
answers
123
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%
\...
0
votes
1
answer
270
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 ...
3
votes
1
answer
115
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}
...
0
votes
1
answer
160
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-...
0
votes
2
answers
489
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 ...
4
votes
1
answer
958
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}
...
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\@...
3
votes
1
answer
863
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 ...
2
votes
2
answers
947
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 ...
3
votes
2
answers
407
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 ...
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, ...
1
vote
1
answer
335
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 ...