As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [characters]

{characters} is about the regular alphabetic characters that are part of some script in a language. For accented characters, add {accents}. For non-alphabetic characters, use {symbols} instead.

Filter by
Sorted by
Tagged with
7 votes
1 answer
379 views

The concept of boxes in TeX

Am I right that TeX considers a text in terms of boxes (rectangles) where each character (char) is in a rectangle with three dimensions (height, width and depth (hwd)) and the origin point? And that ...
Vladimir's user avatar
  • 515
47 votes
7 answers
3k views

Is there any reason to prefer a unicode symbol versus its LaTeX command counterpart?

For example, consider the Swedish letter "Å" which is also the symbol for a unit of length in chemistry. When writing a document, there are three different ways to achieve this character: Å ...
AmphotericLewisAcid's user avatar
3 votes
2 answers
445 views

Curved 'A' character in math mode

I'm looking for a way to write more or less the following character in math mode (it'a a sort of omega with a bar): How can I do it?
Gennaro Arguzzi's user avatar
1 vote
1 answer
249 views

Unicode in pdfLatex says it only supports up to 255 code points when I'm trying to use a Japanese letter

I hope you are doing well. This is a very quick question. I want to insert some characters from the Unicode table in a formula but unfortunately I can't find a way. I would appreciate your help. For ...
Master.AKA's user avatar
0 votes
1 answer
354 views

Undefined control sequence \centerdot [duplicate]

I am getting an "Undefined control sequence" error when I try to use the \centerdot command, even though that command is shown in many references as the way to insert a centered dot. What ...
Tyler Durden's user avatar
3 votes
3 answers
199 views

Conditional newcommand depending on characters

I have a basic command I created, aimed to simply bold and move a text to gain time : \newcommand*\Cote[1]{\footnotesize\emph{\textbf{#1}}} When I want this result, I still have to use this command \...
Gaspalet's user avatar
  • 165
0 votes
1 answer
118 views

Functions on Latex

Is there a way to write functions on latex? For example... def some_function{input}: \command{input} I've been thinking of using newcommand but I want to be able to use a variable for the input so ...
Dixie Normous's user avatar
2 votes
2 answers
200 views

How can I insert a nine-pointed star in a LaTeX document?

I am typesetting a Bahá'í book and I want to insert a nine-pointed star in it. Is there a way to generate it on the fly? What would be the best way to do this otherwise? Unfortunately this is a common ...
LaPingvino's user avatar
3 votes
1 answer
116 views

Change symbol drawn in tikz by a character in the pdf text

I was drawing my set of dice, like the following code: \documentclass{article} \usepackage {ifthen} \usepackage {tikz} \tikzset% {% pics/die/.style={% code={% \begin{scope}[x=1ex,y=...
Juan Castaño's user avatar
0 votes
1 answer
108 views

I cannot write the '@'symbol [closed]

how can I write the around '@' symbol in LaTex? I'm trying to input some text inside a lslisting: \begin{lstlisting} @some text some text \end{lstlisting} The '@' doesn't come up or sometimes ...
johnlemon97's user avatar
1 vote
2 answers
386 views

How to add support for a single missing character?

I keep getting this error: [WARNING] Missing character: There is no ❯ (U+276F) (U+276F) in font Roboto Mono Nerd Font Complet Is there any way to add support for this entire font, or at least for ...
8c6b5df0d16ade6c's user avatar
0 votes
2 answers
153 views

How to create a new symbol (with adjustable colors) in tikz

I have a naive question --- How to create a new symbol like the figure below (with adjustable colors) in the tikz? I believe that it is doable with tikzpicture. For example, using tikzpicture, are we ...
wonderich's user avatar
  • 2,337
0 votes
1 answer
124 views

How to add a tilde "~" in between two letters (\alpha and l)? I attached my text below:

\documentclass[a4paper, pointlessnumbers, %draft, parskip=half, automark ]{scrartcl} \setlength{\parindent}{0pt} \usepackage[a4paper, left=2.2cm, right=2.2cm, top=2.5cm, ...
NirvanicUniverse's user avatar
1 vote
1 answer
80 views

Print caron using biber [closed]

I am trying to cite a paper with the following authors: author={Flaj{\v{\s}}manov{\'a}, Jana and {\v{S}}iler, Martin and Jedli{\v{c}}ka, Petr and Hrub{\`y}, Franti{\v{s}}ek and Brzobohat{\`y}, Oto ...
luc's user avatar
  • 11
4 votes
2 answers
848 views

Character "l" replaced with double arrow in mathcal?

Very trivial situation: calling in math environment $\mathcal{Cl}$ replaces the letter "l" with a vertical double arrow. Where is this coming from i.e. with what macro/syntax is this ...
Scipham's user avatar
  • 43
2 votes
1 answer
54 views

Treating spaces and hyphen in a hangman command

I want to make a hangman command with latex, which use would be \hangman[]{word to guess}, with the following specifications: a switch \ifhide allow to show the hangman or the answer; both hangman or ...
mathteacher's user avatar
1 vote
1 answer
90 views

Non-ASCII escape characters

I'm using all ASCII characters in my code blocks, so I need to reach for non-ASCII ones for the escape characters. I expected Xetex to deal with this just fine; alas, it doesn't seem to be the case. \...
Cactus's user avatar
  • 1,057
-1 votes
1 answer
204 views

How to write this: “------------------\r\n“

When I try to write the above expression I get an error stating: "Undefined control sequence". The same when I try to write this: ‘\r\n’. Any ideas?
free_songbird's user avatar
8 votes
3 answers
458 views

Single-width "10" for card game presentation

I play and teach bridge, and the shape of hands is very important. For instance: KJ854 Q9842 8 A3 is easy to recognize as equal-length majors (top two rows). But then there's the ten. Various style ...
Mycroft's user avatar
  • 189
2 votes
2 answers
419 views

How to get accented letters (ogonek) in a specific font?

I need to use a specific font (New Aster LT Standard), and I am running into issues with 2 characters in my text. One is the polish ogonek on the name "Dąbrówka", the other is an accented ...
user1940642's user avatar
3 votes
1 answer
240 views

Writing ॐ in latex

I am trying to write a document in Bengali, where at a point I need to write the sanskrit letter ॐ. However, I am not able to write it yet. Here is my working example: \documentclass{article} \...
S. Das's user avatar
  • 43
2 votes
1 answer
140 views

Miscellaneous symbols from music textbook

I am totally new to LaTeX (using overleaf), but I have a handle on the form of the document I want to create--just missing a couple pieces, which include the special characters I need to replicate ...
286642's user avatar
  • 133
1 vote
0 answers
62 views

Font Scale Problem on Some Characters

I am editing a template of OverLeaf, everything is well however, there is a weird problem with the font. The character "8" seems bigger with "\small" and "\footnotesize" ...
Faruk UNAL's user avatar
1 vote
1 answer
40 views

Inequality counterparts of `\asymp`

I would like to have inequality-type symbols corresponding to \asymp . I have tried \newcommand{\ffrown}{\text{\raisebox{3pt}[0pt][0pt]{$\frown$}}} \renewcommand{\O}{\underset{\ffrown}{<}} \...
Iosif Pinelis's user avatar
3 votes
1 answer
90 views

Character Numbers' Weird Behavior in TeX for Non-ASCII Characters

I was experimenting with plain TeX, and, I thought, since I knew it reads input files using ASCII (right?), it would surely give me an error if I asked for a non-ASCII character's numbers. I tried ...
Bored Comedy's user avatar
1 vote
1 answer
149 views

Probably misdiagnosed "Command textiota unavailable in encoding T1" error

I'm writing which is overall in English but with a few quotes with Greek characters in-between. Now I'm getting a strange error saying ""Command textiota unavailable in encoding T1" (if ...
user40960's user avatar
  • 801
1 vote
0 answers
242 views

Tool to check for illegal characters in bibtex/biblatex

Is there a tool to check for illegal characters, and ideally convert them into something that bibtex/biblatex allows? For example once, I realised that I had Unicode U+200A spaces, so I had to ...
Tom's user avatar
  • 453
0 votes
1 answer
86 views

Change numbers form automatically

I have posted a question Change numbers format in arabtex I'm trying to use the solution provided by PiCot and it is not working (years ago it was working fine) !? I need numbers to appears in ...
Salim Bou's user avatar
  • 16.7k
2 votes
1 answer
122 views

Where can I find a good ayin?

"Egyptological ayin" is a letter used in transcribing Ancient Egyptian, and looks sort of like a cross between a C and a left-quote. (In particular, it tends to be raised a bit above the ...
Draconis's user avatar
  • 858
1 vote
0 answers
71 views

How to measure the width of a character including overshoot

I'm trying to measure the width of arbitrary letters. For example, I'm using this to get the width of a letter A: \settowidth{\letterwidth}{A} This seems to work fine for all my letters, except for ...
Alec's user avatar
  • 367
2 votes
3 answers
130 views

How to italicise characters, but not digits for a specific math font?

I created commands to display vectors, matrices and tensors. For the tensors I am using a bold italicised math font, which looks exactly as I want for characters. However, when denoting a tensor with ...
Mr Tsjolder's user avatar
1 vote
2 answers
114 views

Special letter in math mode

\documentclass[12pt,a4paper]{article} \usepackage{cmap} \usepackage[utf8]{inputenc} \usepackage[magyar]{babel} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage{amsmath} \...
taiwan12's user avatar
  • 155
4 votes
1 answer
413 views

What is the safe character set for a BibTeX label?

What characters are safe in a BibTeX label aka citation key? With safe I mean a wide range of applications, including BibTeX and biber, a wide range of BibTeX or BibLaTeX style files, but also ...
Sir Cornflakes's user avatar
1 vote
1 answer
65 views

Setting tabular's width according to a certain number of characters

I have several pages with, for each one, one box inside containing some text. What's happening is that I resized each box according to his \linewitdh (but I think it\ should be a bit better actually ...
gustav.b's user avatar
  • 179
0 votes
0 answers
37 views

What kinds of constructions are `, --, ---, and ``? [duplicate]

A couple of questions of a similar nature: We all know that -- prints an endash, while --- prints an emdash. But - is not an active character, right? So how does TeX process -- and --- and make them ...
Gaussler's user avatar
  • 12.4k
2 votes
1 answer
101 views

Case change of UTF-8 characters breaks them in PDF metadata

I was using an expandable macro to change case of a text stored in another macro. The result was used in several parts of the document and in the PDF metadata. Here I encountered an interesting ...
Peter's user avatar
  • 988
3 votes
1 answer
145 views

Trouble in biber with "ḥʼḤ"

I am facing issues with special characters in biber. Specifically, this is about "ʼ", "ḥ" and "Ḥ". These are used for Arabic transcription. I have tried rendering this ...
Floris's user avatar
  • 63
2 votes
1 answer
172 views

List of all characters belonging to each TeX category code?

Where can one find a listing of all characters per TeX category code? I need to construct a symbol table for parsing purposes and I have been unable to locate a complete listing. I don't mind if I ...
SeSodesa's user avatar
  • 693
4 votes
2 answers
641 views

Using ^ but not as a power symbol in latex [duplicate]

I want to write a^b in latex where ^ is not a power symbol. If I just write b^a in latex, the latter obliged me to put $. But in fact I don't want to write a to the power b, but just a^b. How can I ...
Christina's user avatar
  • 530
2 votes
1 answer
258 views

Ligature for the nt digraph

I want to draw in LaTeX a ligature for the nt digraph. I would prefer a solution that is independent from the font used. But if it is not possible, the default one (CM) will do. I currently use \...
user avatar
0 votes
1 answer
143 views

Dot won't properly align with text

When trying to align a dot with one of the left or right margins of the page, it won't properly align, leaving some space before/after it. It certainly has something to do with the character scale and ...
Edoardo Serra's user avatar
0 votes
0 answers
53 views

How to debug character set difference with document class change?

I'm trying to use an agda package to compile to latex, and am getting the below error when I make a seemingly insignificant change to the literate agda file (see https://agda.readthedocs.io/en/v2.6.1....
Warrick Macmillan's user avatar
6 votes
2 answers
601 views

Newcommand for each letter

I am using custom commands to facilitate both writing and reading LaTeX equations, such as : \newcommand{\bbA}{\mathbb{A}} \newcommand{\bbB}{\mathbb{B}} \newcommand{\bbC}{\mathbb{C}} % etc... \...
Anthony's user avatar
  • 243
3 votes
1 answer
222 views

Lowercase scripted G

On this answer, pablos almost solved my problem. I am desperate in finding a better-looking lowercase g. Indeed, if I just use : \usepackage{calligra} \newcommand{\g}{\textup{\large\calligra g}\,} ...
Anthony's user avatar
  • 243
0 votes
0 answers
32 views

Changing babel package inside the same document

I am currently writing my Ph.D. thesis in French and English. Following the procedure that I found here Changing babel package inside a single chapter, I have divided the document into two parts, one ...
letoppina's user avatar
3 votes
3 answers
727 views

How to escape a quotation mark character/glyph?

I have the same problem as in this question, but the answers just circle around how to best use quotation marks. This is fine as long as you actually want a quotation mark. However, I explicitly don't ...
rugk's user avatar
  • 1,040
3 votes
2 answers
124 views

Character for missing paragraph

I am looking for a character to indicate a missing paragraph. It is used in German schools when correcting essays. The character is used like this and looks like the red one here (source): I have ...
Thomas Weller's user avatar
3 votes
1 answer
222 views

Resize single character from certain font

I use Kerkis Sans greek font as a secondary font in my documents, for titles, paragraphs etc. As I've been testing the font I noticed that the capital greek F (Φ) is much smaller that the rest of the ...
mac's user avatar
  • 1,459
1 vote
1 answer
54 views

Modifying the multiple letters macro \FormatChars

Regarding the multiple letters macro "\FormatChars" posted in Emphasizing Arabic text characters. Is there a way to modify this macro such that: You can select any set of characters you ...
Silva's user avatar
  • 733
2 votes
0 answers
84 views

Formatting multiple characters and glyphs/accents within the same word

As an extension to the macros (\FormatChar - \FormatChars - \ColorNthChar - \colorrange) posted in: Apply command on nth character of a word Emphasizing Arabic text characters Apply command on ...
Silva's user avatar
  • 733

1
2
3 4 5
13