Questions tagged [textcase]
The textcase tag has no usage guidance.
17
questions
0
votes
1
answer
45
views
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{...
4
votes
0
answers
89
views
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 ...
0
votes
0
answers
40
views
capitalize the first letter of sentence with some exceptions
I am trying to create a document that has contents form various sources. I have to put the contents in proper format. One of the difficulties that I have encountered is the first letter of each work ...
7
votes
1
answer
291
views
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 ...
1
vote
1
answer
111
views
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 ...
8
votes
3
answers
1k
views
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:
...
2
votes
1
answer
110
views
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 ...
1
vote
2
answers
184
views
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,...
1
vote
0
answers
67
views
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}
\...
14
votes
5
answers
571
views
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
150
views
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 ...
1
vote
1
answer
450
views
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 ...
2
votes
1
answer
86
views
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 ...
1
vote
2
answers
59
views
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\...
2
votes
1
answer
424
views
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}
\...
3
votes
1
answer
73
views
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 ...
1
vote
1
answer
269
views
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{...