Skip to main content

Questions tagged [textcase]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

Undefined control sequence in my textcase.sty

I am new to the TeX StackExchange so my apologies if my question is not in the required formatting. So I am facing an error in textcase.sty and latexrelease.sty file where I am getting an Undefined ...
Aaditya Rudra's user avatar
0 votes
1 answer

dottedtocline not work with MakeUppercase and hyperref on Overleaf

The following command works fine on my pc but doesn't work on Overleaf. The tableofcontents is strange and several errors appear. Any tips on how to resolve this? \documentclass{report} \usepackage{...
Lucas Martins Soares's user avatar
3 votes
0 answers

OpenType case-senstive forms break microtype's protrusion for hyphens

By enabling the OpenType feature case-senstive forms ([Letters=Uppercase]), vertically lifted brackets, hyphens, or parentheses for example) via setmainfont with fontspec, I loose the protrusion for ...
archifont's user avatar
7 votes
1 answer

Changes to textcase and LaTeX kernel in the June 2022 release affecting uppercased captions

With the June 2022 release of LaTeX, the case-changing commands formerly controlled by the textcase package have been absorbed into the kernel, as described in ltnews35, page 4. A result of this ...
John's user avatar
  • 2,400
1 vote
1 answer

MakeTextUppercase broke for cyrillic

After the last TeXLive 2022 update, I was disappointed with the \MakeTextUppercase macro from textcase package for Cyrillic. I don’t understand what the conflict is, the package textcase has not been ...
sergiokapone's user avatar
  • 5,598
8 votes
3 answers

String to lowercase and replace spaces with underscore

I am trying to convert a predefined string in a variable to its lowercase and replace the spaces to underscore. But it's not working. The new string after conversion is like this: ...
t.abraham's user avatar
2 votes
1 answer

Use a command with variables that uses \IfSubStr on the lowercased value of the input variables

[Similar questions] I looked at \lowercase with \IfSubStr and \StrDel but the suggestions didn't work. I apparently may have expl3 since I can use \newcommand. [Issue] I want to pass a variable to a ...
Jay Turner's user avatar
1 vote
2 answers

How to make author name appear in small caps when using biblatex-abnt?

I've created a small example where I want to get the author name in small caps. The intended result is Knuth's (1984) but it is producing KNUTH's (1984). \documentclass{article} \usepackage[style=abnt,...
LEo's user avatar
  • 772
1 vote
0 answers

MakeUppercase capitalizes fontspec feature names

The attached MWE does not work properly for \MakeUppercase alters FakeSlant to FAKESLANT prior to expanding \addfontfeature. \documentclass{article} \usepackage{fontspec} \setmainfont{Erewhon} \...
Jacques André's user avatar
14 votes
5 answers

Examples of tricky case-changing

The LaTeX team are looking to improve the implemenation of case-changing in LaTeX (\MakeUppercase and \MakeLowercase, plus potentially integrating the textcase package). To help with that, I'd like to ...
2 votes
2 answers

Macro changing a string depending on letter case

I would like to define a new mathmode command such that: the input is a string s; the output is the same string where the font of each caracter has been changed depending on whether the character is ...
Léo S.'s user avatar
  • 209
1 vote
1 answer

Uppercase beamer frame titles containing math

I am trying to automate uppercase for frame titles in beamer in such a way that uppercase ignores all math-mode content in these titles. I have seen Uppercase Frame Titles, but the solution there ...
Sep's user avatar
  • 13
2 votes
1 answer

Make most letters of named theorem name lowecase when referenced

In the source below I have a namedtheorem environment which, when used, displays, instead of the usual "Theorem", the value of the key name in its optional argument. That name has initial letters ...
murray's user avatar
  • 8,702
1 vote
2 answers

Override small-caps \chapter locally

When I customise the \chapter format using titlesec as follows (important bit is the \bfseries for small caps): \titleformat{\chapter}[block] {\titlerule[1pt]\addvspace{0pt}\Large\scshape\...
tukusejssirs's user avatar
2 votes
1 answer

sectsty underline and titlecap not working together

So I'm trying to make the format of the subsection be normal font size, underlined, and have title case. Below is an example, stolen from here: \documentclass{article} \usepackage[normalem]{ulem} \...
James Wright's user avatar
3 votes
1 answer

Upper- or lower-casing input based on the case of the first character

For some sequence of characters, I want to change the case of all characters to match that of the first. So for example, aBCD → abcd and Abcd → ABCD. My naïve attempt to do this in LaTeX3 did not ...
junius's user avatar
  • 2,068
1 vote
1 answer

Problem creating Glossaries

since some days I try to fix a problem using the glossaries package. However, until now, I can't solve it... Even a minimal example is already throwing an error: \documentclass{article} \usepackage{...
Steven's user avatar
  • 21