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
0 votes
0 answers
22 views

How to mention passwords in LaTeX documents with special caracters? [duplicate]

right now I am writing a technical report for my collegue. Therefore it is nessecary to mention a password in the document. I did a simple \documentclass[11pt,parskip=full,a4paper]{scrartcl} ... \...
0 votes
0 answers
30 views

Latex complex number symbol ℂ in text [duplicate]

I want to write $\mathbb{C}$ as a text in my references (.bib) file. it is a text and it is not inside math dollar.
0 votes
1 answer
38 views

Vertical alignment of lines change based on letters having a descender or tail

I am currently having issues with vertial alignment based on the type of character being inputted. If I use a character that has some sort of descender or tail, it adjusts the height of the \hrule ...
  • 101
0 votes
1 answer
62 views

How to type a BOX that occupies the size of a Chinese character symbol

If a Chinese character does not exist in the font, the resulting pdf document will not display the Chinese character correctly and will be replaced with a large box. Just like this box down here: The ...
0 votes
1 answer
94 views

Uppercase epsilon-like letter in text mode: what is it and how do I get it?

Here it is, circled in red. It looks like a greek epsilon, ε, but it is upper case. To me, it looks like a \mathcal{E}, but I'm not sure as it is in text. Furthermore, I don't know if this book was ...
  • 2,413
0 votes
0 answers
30 views

How to reduce "new list of" character?

how to reduce font size in "new list of""? and why when I insert "\listofmaps" does it appear red? \documentclass[a4paper, 12pt, twoside ,titlepage]{article} %%% packages \...
1 vote
1 answer
34 views

Character ĵ being displayed as a black box

I'm writing a document in which I try to use the following characters used in Esperanto: ĉ, ĥ, ĵ, ŭ, ŝ, Ĉ, Ĥ, Ĵ, Ŭ, Ŝ. Until now I was using base latex and it was working just fine, but I switched to ...
0 votes
1 answer
101 views

Character ñ in basque language [closed]

I'm trying to put the character ñ with basque language. I've seen that in some languages you can use \~{n} but it doesn't work. I need to put it in the text format, not like $\tilde{n}$. Can someone ...
  • 23
0 votes
1 answer
72 views

How to include character count with spaces and specify which sections are to be included

I want to add character count including spaces in my report. So far I've found a command, which provides me this: \documentclass{report} \begin{document} }{% \newcommand{\charactercount}[1]{ \...
  • 1
0 votes
1 answer
37 views

Any useful command to fix this error:LaTeX Error: Unicode character ⌊ (U+230A)

I am using Arxiv template example of overleaflatex. Sometimes I got some errors that I regarding Unicode characters that can fix. In my research paper I have used the latex symbol r_\ell. I have got ...
0 votes
0 answers
37 views

How to make my non-latin pdflatex document more copy-paste friendly?

I write and typeset articles in languages that do not use the latin alphabet using pdflatex. I have received requests from foreigners to make it easier to run the document in Google Translator. ...
0 votes
0 answers
42 views

Transferring the concepts "string" and "character" into TeX/LaTeX

(Looking at packages like l3string, xstring and stringstrings tempted me to post the following: ) The concepts "string" and "character" to me seem not well defined in (La)TeX. ...
  • 26.1k
0 votes
0 answers
25 views

How to insert a star symbol in tikz [duplicate]

I would need to insert black or white five -pointed stars in a tikz figure, but I don't know the computer coding of these special characters... where can I find them?
  • 387
1 vote
2 answers
38 views

import multi external files into forest

I want to import many input text files inside a forest. Here is an example to illustrate my idea: input1.txt This line is a long sentence that may need more space to fit inside a single line. This is ...
  • 2,160
1 vote
1 answer
54 views

Import extrenal text into forest

I want to import a text file into forest and have it as it is without using latex symbols. I found verbatiminput as possible choice but it doesn't work as I expect and outputs some strange chars: Here ...
  • 2,160
1 vote
2 answers
94 views

How to write the string "^^^^" into a file

I am trying to write "^^^" into an already opened file (under the variable \myfile) using the command \immediate\write\myfile{"^^^"} This, however results in an error. I am ...
0 votes
2 answers
46 views

Using different encodings at the same time

I need to write a letter which looks like the small greek epsilon but in large (like a capital). I found on page 17 of this document the possibility of using \m{E} for it, which comes close enough. ...
  • 3
1 vote
0 answers
20 views

Make paragraph with special character or programming source code?

Is there an easy way to type a programming command line or paragraph with special character ? example this: @Test(name = "Login", urlPatterns = { "/login" }) public class Login ...
  • 71
0 votes
1 answer
66 views

Italic ampersand displayed weirdly?

I want an italic ampersand, yet it looks weird to me: \documentclass{article} \begin{document} \textit{\&} \end{document} I just want an ampersand in italics, yet it should still look like ...
  • 215
4 votes
1 answer
71 views

Special characters in a glossary entry cause an error if printed uppercase

I have a glossary entry that defines a word beginning with a special character "ś". Unfortunately I need to use this entry at the beginning of a sentence so it must be written uppercase. ...
  • 217
1 vote
2 answers
74 views

Is it possible to redefine the character code of space?

If I execute the code \tt\catcode` =12\relax test I get: I also can emulate the same effect using \char32 in place of <space>. Is it possible to change the character code of <space>, so ...
  • 670
1 vote
1 answer
61 views

Using small capitals causes missing characters

For some reason using small capitals \textsc{} causes missing characters. For example, the following code: \documentclass[12pt]{article} \begin{document} \textsc{Hello world} Hello world \end{...
7 votes
3 answers
877 views

How can I show S-comma in LaTeX math mode?

I am writing my bachelor's thesis and it needs to be written in Romanian. While writing some math formula, I wanted to write "and". It translates to "și". As it turns out, my ...
2 votes
2 answers
870 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 ...
  • 135
0 votes
1 answer
247 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 ...
0 votes
2 answers
122 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 ...
  • 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 \...
0 votes
1 answer
42 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?
2 votes
1 answer
47 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 ...
0 votes
0 answers
80 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 ...
0 votes
1 answer
377 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 ...
  • 1
0 votes
0 answers
25 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 &...
0 votes
0 answers
48 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 ...
1 vote
0 answers
92 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! ...
  • 21
3 votes
3 answers
203 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 ...
0 votes
2 answers
202 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 \...
1 vote
1 answer
63 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 \...
  • 267
1 vote
0 answers
68 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 ...
  • 271
1 vote
2 answers
84 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 ...
0 votes
0 answers
26 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 ...
1 vote
1 answer
215 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.
2 votes
1 answer
141 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 ...
3 votes
1 answer
151 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, \...
  • 1,721
3 votes
1 answer
36 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, ...
  • 1,721
1 vote
1 answer
202 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.
  • 851
7 votes
1 answer
335 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 ...
  • 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: Å ...
3 votes
2 answers
420 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?
1 vote
1 answer
232 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 ...
0 votes
1 answer
326 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 ...

1
2 3 4 5
13