29 votes

Fake small caps with XeTeX/fontspec?

Here I compare an alternative to Yan's approach. I label his method "fake" as he did and label this approach as "faux". I have found (see Good small caps font to use with arev?, ...
user avatar
25 votes
Accepted

\textsc does not make small caps

The font shape commonly known as “small caps” is actually Capitals and small capitals, meaning that uppercase letters are like the standard capital letters in the normal shape, whereas lowercase ...
user avatar
  • 1.0m
17 votes

Small Caps and Bold Face

As an extension of accepted answer https://tex.stackexchange.com/a/27413/1340, I explain here how to use Latin Modern while taking serif bold small capitals from Computer Modern (= CM) Super. As ...
user avatar
17 votes

Creating a macro that can selectively format capital letters

The tokcycle package (https://www.ctan.org/pkg/tokcycle) can be used for this. \documentclass{article} \usepackage{tokcycle} \newcommand\famword[1]{% \resettokcycle% \Characterdirective{\ifcat A##...
user avatar
15 votes
Accepted

How can I make it so that all the letters on a word are all capitalized yet the first letter is bigger than the rest?

The style is called "small caps" and is considered a font shape by LaTeX. Thus, \scshape will turn it on, or a delimited form, \textsc{...} is available. Naturally, you must make sure your ...
user avatar
11 votes

Small Caps and Bold Face

For many years, because I rarely need it, I have used the following hack: \textbf{\normalsize{E}\scriptsize{ITHER} \normalsize{O}\scriptsize{NE} \normalsize{B}\scriptsize{UT} \normalsize{N}\scriptsize{...
user avatar
  • 2,015
11 votes
Accepted

Fontspec: Bold Small Caps with Alegreya Font

In this case, Letters=SmallCaps is irrelevant as Alegreya SC only has small caps. In other cases, when a “normal” font is used, this option will enable the +smcp feature when choosing the font. You ...
user avatar
  • 1.0m
11 votes
Accepted

Turkish small cap dotted 'i' in footnote

Load the font with the Language=Turkish option: \documentclass[11pt]{memoir} \usepackage{fontspec} \usepackage{polyglossia} \setdefaultlanguage{turkish} \setmainfont{Linux Libertine O}[ Language=...
user avatar
  • 1.0m
11 votes
Accepted

Creating a macro that can selectively format capital letters

When using modern fonts in conjunction with LuaLaTeX or XeLaTeX, one is (sometimes) able to delegate this this to the font, since OpenType Layout defines a font feature c2sc that translates capital ...
user avatar
  • 2,594
11 votes
Accepted

Bold small caps with Lualatex

\setmainfont is not a command meant only for xelatex. It is a command from fontspec for both engines. babel has its own command to set fonts (which also can be used with both engines). In your case ...
user avatar
9 votes
Accepted

Is it possible to test whether small caps are available with the current font?

Edit OK as David pointed out in the comment, simply looking at \f@encoding/\f@family/\f@series/sc is not enough as this command is defined during a substitution. So one probably has to record if a ...
user avatar
9 votes
Accepted

How to determine current font style

You have to compare the current value of \f@family and of \sfdefault: if they match, then you're typesetting in sans serif type. Basically you do \ifnum\pdf@strcmp{\f@family}{\sfdefault}=\z@ <...
user avatar
  • 1.0m
9 votes

Microtype's tracking feature works with some fonts, not others

with Alegreya small caps are a family and not a shape and so the default settings of microtype don't affect them. You must activate tracking yourself: \documentclass{article} \usepackage[tracking = ...
user avatar
9 votes

Turkish small cap dotted 'i' in footnote

I don't think it should be be needed but you can re-assert turkish in the footnote: \documentclass[11pt]{memoir} \usepackage{fontspec} \usepackage{polyglossia} \setdefaultlanguage{turkish} \...
user avatar
9 votes

Creating a macro that can selectively format capital letters

Here's a LuaLaTeX-based solution. It consists of (a) a main Lua function called uc2sc (short for "uppercase to smallcaps", I suppose) and an auxiliary Lua function called makesc which, together, do ...
user avatar
  • 444k
9 votes

Creating a macro that can selectively format capital letters

Using uppercase in the input to mean small caps in the output: \documentclass{article} \usepackage{xparse} \ExplSyntaxOn \NewDocumentCommand{\famword}{m} { \tl_set:Nn \l_tmpa_tl { #1 } \...
user avatar
  • 1.0m
9 votes
Accepted

replace capital ›ẞ‹ with ›ss‹ when using small caps

I believe it should be a law that any font providing the utterly ugly ẞ character must provide a stylistic set for replacing it with “SS”. But you're lucky: not with Linux Libertine, but with its (...
user avatar
  • 1.0m
9 votes
Accepted

Making an Image into a Lettrine

Note: You need \usepackage[T1]{fontenc} to make possible for \textsc combine with \textbf. As @Cicada's comment, instead you could use some font package if you using pdflatex such as \usepackage{...
user avatar
  • 4,763
8 votes
Accepted

Small caps in parbox

Times New Roman doesn't come with small caps, if you look in the log file you will see a message to that effect. You can provide small caps from a similar font as follows: \setmainfont[SmallCapsFont=...
user avatar
  • 92.2k
8 votes

Using small caps in section titles

What you're discovering is that the Computer Modern font family doesn't feature a bold/smallcaps weight/shape combination. To restore the "normal" weight for the smallcaps string, you need to preface ...
user avatar
  • 444k
8 votes
Accepted

Italic small caps not working

The font definition file for Latin Modern doesn't define a scit shape, but you can add it, telling LaTeX to substitute scsl for it. You may want to use fontaxes instead of slantsc. \documentclass{...
user avatar
  • 1.0m
8 votes

Small caps only apply to capitals

NEWS: As of 2019-06-17, the designer has fixed the smcp feature. It now suffices to write \setmainfont{Doves Type}[SmallCapsFeatures={Ligatures={NoCommon,NoRare}}], and this question becomes of ...
user avatar
  • 12.3k
8 votes
Accepted

How can I produce TeX Gyre Pagella smallcaps using LuaLaTeX?

I think you're misunderstanding the meaning of “small caps”: it only has effects on lowercase letters. \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} \setdefaultlanguage{...
user avatar
  • 1.0m
7 votes

Small caps in fontspec on XeLaTeX

Maybe the easiest way is as follows: In the example, Crimson Text does not have smallcaps, but Crimson does. (The scale used here has only to do with better-looking output in this case.) \...
user avatar
7 votes
Accepted

\textsc not working inside \setmainfont?

The problem is due to the fact that no Times New Roman font I know has small caps. You can obviate the problem, at least for Latin characters, by substituting it with a font that has small caps. In ...
user avatar
  • 1.0m
7 votes

Increase word space between words in small caps

You want to set \spaceskip to a non null value (and perhaps also \xspaceskip). \documentclass{article} \usepackage{fontspec} \usepackage{xpatch} \setmainfont{Linux Libertine O}[ SmallCapsFeatures =...
user avatar
  • 1.0m
7 votes
Accepted

Is there a "small cap" version of greek symbols out there?

There's a text command in package tipa called \textscomega which seems to do what you want. You can define \newcommand{\scOmega}{\text{\textscomega}} and use \scOmega in your document as in the ...
user avatar
7 votes
Accepted

How to use fontspec and also have small bold caps with LuaLaTeX?

It is completely wrong to say that you need a particular font encoding to get small caps. the issue is that CM Unicode includes bold small caps, but the (otherwise recommended) latin modern does not. ...
user avatar
7 votes
Accepted

Forcing a ligature in "lowercase" small caps

Since you're using XeLaTeX, is there a reason for not using the free-of-charge EB Garamond font? Its main text features are very similar to Adobe Garamond. Moreover, it does have a very nice "swash-y" ...
user avatar
  • 444k

Only top scored, non community-wiki answers of a minimum length are eligible