Directory macros/latex/contrib/stealcaps
The stealcaps
package
This package enables you to borrow small capitals from another font than the main document font. For that simply load the package and specify the replacement font vie the key-value-option 'from', i.e.
\usepackage[from=<font name>]{stealcaps}.
In case you use pdfLaTeX the font name has to be NFSS compliant. With XeLaTeX or LuaLaTeX, correpsondingly, it has to be fontspec
compliant.
Furthermore in Xe(La)TeX or Lua(La)TeX you can use \renewcaps{<font name>}
to load a dedicated only small capitals font like
\renewcaps{Cormorant SC}.
Package dependencies: pgfopts
, iftex
, fontspec
.
This is version 1.1 of the package.
Copyright (C) 2018-2022 by Ruben Giannotti
This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later version. The latest version of this license is in http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all distributions of LaTeX version 2005/12/01 or later.
This work has the LPPL maintenance status maintained'.
The Current Maintainer of this work is Ruben Giannotti.
This work consists of the files stealcaps.dtx, stealcaps.ins and the derived file stealcaps.sty.
To install the package
- run
latex stealcaps.ins
- move 'stealcaps.sty' to locations where LaTeX will find it
Download the contents of this package in one zip archive (528.3k).
stealcaps – “Steal” small capitals
This little package is mainly meant to be used when there is a (TrueType or OpenType) font that does not provide real small capitals. As a workaround, this package helps to borrow, or “steal”, the small capitals from another font. This might also be useful in the rare case that someone does not like the present small capitals, and wants to change them, or likes those from another font better.
To achieve the borrowing, one only needs to load the package and specify the name of the target font via the from option.
Package dependencies: pgfopts, iftex, fontspec.
Package | stealcaps |
Support | https://github.com/giannotr/stealcaps/discussions/1 |
Bug tracker | https://github.com/giannotr/stealcaps/issues |
Announcements | https://github.com/giannotr/stealcaps/discussions/2 |
Repository | https://github.com/giannotr/stealcaps.git |
Developers | https://github.com/giannotr/stealcaps/pulls |
Version | 1.1 2022-11-07 |
Licenses | The LaTeX Project Public License 1.3c |
Copyright | 2018–2022 Ruben Giannotti |
Maintainer | Ruben Giannotti |
Contained in | TeX Live as stealcaps MiKTeX as stealcaps |
Topics | Font support Font use |