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
2 votes
2 answers
71 views

How to write ^(caret) in latex? [duplicate]

It's as the title says. How can I write ^(caret) in Latex. If I type something like [^set], then the s in set is raised to a power. How can I display [^set] the way it is? $\wedge$ sorta works but it ...
user avatar
  • 135
0 votes
1 answer
62 views

Declaring a Specific Math Symbol in a TTF Font (LuaLaTeX)

I'm trying to work around a classic problem in LaTeX for anyone that deals with Electromagnetism: define Griffiths' script-r notation. This time, I want to do it using the actual Kaufmann font he uses ...
user avatar
0 votes
2 answers
49 views

Using Gentium Plus glyphs in XeLaTex

I am trying to type PUA characters (such as omicron with perispomeni) using the Gentium Plus font on macOS. I have tried setting Gentium Plus as the font for Greek using babel and fontspec but it ...
user avatar
  • 3
6 votes
2 answers
2k views

German umlauts are OK, but ß appears as "SS" [duplicate]

I'm writing a paper in German, and these are my settings for font: \usepackage[utf8]{inputenc} % Required for inputting international characters \usepackage[T1]{fontenc} % Use 8-bit encoding \...
user avatar
0 votes
1 answer
27 views

Latex for M, m use in the context for major and minor arc [duplicate]

How can we write these "M" here in Latex? especially Overleaf?
user avatar
2 votes
1 answer
38 views

How to expandably obtain pendant of different (to be specified) category of arbitrary explicit character token?

This question is about categories of explicit character tokens. If you apply \string to an explicit character token, you get the category 12 pendant of that explicit character token. (Exception: If ...
user avatar
0 votes
0 answers
35 views

umlauts converted to strange characters

I am having trouble with TeXShop version 4.62 macOS BigSur. I am quite new to LaTeX and am modifying a .tex file from a colleague. Deleting the .pdf and using 'typset' 'LaTeX' of the .tex file works ...
user avatar
0 votes
1 answer
60 views

Greek characters not shown in pdf file!

I have a huge problem, I don't know what happened but suddenly Greek characters are not shown in the PDF file after the compilation! I even did copy-paste in old TeX codes that worked fine and now ...
user avatar
  • 1
0 votes
0 answers
20 views

Fixed-pitch font encoding that includes DEC/Microsoft/IBM PC line-drawing characters

Is there a LaTeX fixed-pitch font encoding that includes the DEC line-drawing characters (that Microsoft and IBM included in early PCs)? In X-windows, these are displayed using "dec" in the &...
user avatar
0 votes
0 answers
45 views

How to write a non-equation word as a word

For preparing my CV using overleaf, I have to included a link which contains the word E_certificate The output, without even enclosing the words between $ $ , prints the certificate as a subscript to ...
user avatar
0 votes
0 answers
51 views

Missing special characters with txfonts and XeLaTex in bibliography

Special characters like "ń" and "ł" aren't shown in bibliography. I checked the raw logs and found it: Missing character: There is no ł ("142) in font ntx-Regular-tlf-t1! ...
user avatar
3 votes
3 answers
131 views

Expandable macro that extracts the first character of UTF-8/cyrillic string without additional packages

I would like to have an expandable macro that extracts the first (and sometimes the second) character of UTF-8/Cyrillic text strings without using additional packages. No simple solutions from TeX or ...
user avatar
0 votes
2 answers
65 views

How can I input multiple txt files with special characters into my main tex file?

I am very new to LaTex and learning it with TexMaker. I want to make a book. For this book i have 99 txt-files (each a chapter). I want to import this chapters into my main tex-file with the command \...
user avatar
0 votes
0 answers
30 views

How to embed literal curly braces in listings package

I am using the listings package and the language selected is Delphi. I have noticed that in the editor, the use of curly braces in the code -- as happens when compiler directives are included in the ...
user avatar
1 vote
1 answer
48 views

What is causing punctuation to appear around my matrices?

I have an input file called mathchar.tex, which I rely on pretty heavily: \mathchardef\Gamma="7400 \mathchardef\Delta="7401 \mathchardef\Theta="7402 \mathchardef\Lambda="7403 \...
user avatar
  • 257
1 vote
0 answers
51 views

How to change font for specific characters?

I would like to use a font (e.g. ebgaramond) except for some characters (e.g. all digits) for which I would prefer another font (e.g. ebgaramond-math). What is the easiest solution for in pure ...
user avatar
  • 241
1 vote
2 answers
67 views

How to check the empty space after the letter inside of \newcommand?

I have the trouble that I write the book in Azerbaijani, and I successfully use FontSpec. The only problem is following: When I use\newcommand\ə{\char"04D9} as the command, it removes all space ...
user avatar
0 votes
0 answers
22 views

Circling letter in \item[] in the \itemize environment [duplicate]

When I want to circle number 1-10, I use \documentclass{article} \usepackage{xcolor} \usepackage{pifont} \begin{document} \begin{itemize} \item[\ding{192}] text \item[\textcolor{red}{\ding{183}}] \tt ...
user avatar
1 vote
1 answer
152 views

Write strange i in Latex

I saw this letter i in some papers and wanted to use it in one of my documents; couldn't find how to get it to appear.
user avatar
2 votes
1 answer
110 views

TeXbook, Appendix C: Character Codes -- what exactly is the third table shown in that appendix about?

Sorry for not providing a Minimal Working/Demonstrating Example. The question is not about code but about understanding what is written in the TeXbook. TeXbook, Appendix C: Character Codes presents ...
user avatar
3 votes
1 answer
52 views

Check if at least one substring in a list can be found in a string

There are several solutions both integrated in TeX and proposed on this side for checking if a substring can be found in a given string (such as IfSubStr, IfStringInList and others). As for example, \...
user avatar
  • 1,657
3 votes
1 answer
35 views

Detection if image path contains string fails

For a project I would like to check if my included image is located in the sub-folder graphs or not. To check that I wrote a small MWE: \documentclass[% reprint, amsfonts, floatfix, amsmath,amssymb, ...
user avatar
  • 1,657
1 vote
1 answer
74 views

What is the LaTex code for this K and X? [duplicate]

I've recently come across this symbols from this paper. Could you inform what are the code of this K and X? I tried \mathcal K and \mathcal X to no avail.
user avatar
  • 811
7 votes
1 answer
193 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 ...
user avatar
  • 515
46 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: Å ...
user avatar
3 votes
2 answers
322 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?
user avatar
1 vote
1 answer
80 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 ...
user avatar
0 votes
1 answer
68 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 ...
user avatar
3 votes
3 answers
131 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 \...
user avatar
  • 165
0 votes
1 answer
109 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 ...
user avatar
2 votes
2 answers
186 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 ...
user avatar
3 votes
1 answer
99 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=...
user avatar
0 votes
1 answer
74 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 ...
user avatar
0 votes
2 answers
137 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 ...
user avatar
0 votes
2 answers
78 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 ...
user avatar
  • 2,159
0 votes
1 answer
39 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, ...
user avatar
1 vote
1 answer
50 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 ...
user avatar
  • 11
3 votes
2 answers
501 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 ...
user avatar
  • 33
2 votes
1 answer
42 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 ...
user avatar
1 vote
1 answer
58 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. \...
user avatar
  • 945
-1 votes
1 answer
95 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?
user avatar
8 votes
3 answers
414 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 ...
user avatar
  • 185
2 votes
2 answers
185 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 ...
user avatar
3 votes
1 answer
232 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} \...
user avatar
  • 43
2 votes
1 answer
82 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 ...
user avatar
  • 133
1 vote
0 answers
37 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" ...
user avatar
1 vote
1 answer
26 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}{<}} \...
user avatar
3 votes
1 answer
65 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 ...
user avatar
1 vote
1 answer
42 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 ...
user avatar
  • 801
1 vote
0 answers
135 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 ...
user avatar
  • 433

1
2 3 4 5
13