Skip to main content

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
1 vote
0 answers
49 views

How to increase interword spacing [closed]

I am using a font: \usepackage[T1]{fontenc} \usepackage{newpxtext} and I find the words simply too close together constantly, how can I increase the spacing? I tried \SetExtraSpacing [ unit = space ]...
3 votes
3 answers
154 views

How to access specific entry from list of arguments, when index is provided as a letter?

Given a version of an exam paper via \dev\VERSION{C} (C for the third version), I want a command \variants{{v1}{v2}{v3}{v4}} to produce v3. I realise that I am effectively trying to access an item ...
1 vote
1 answer
178 views

"Undefined" error with tcolorbox despite being installed

Issue Today I switched over to compiling LaTeX locally as opposed to Overleaf, and I am having issues with running the following code: \documentclass{article} \usepackage{tcolorbox} \begin{document}...
1 vote
0 answers
33 views

Problem using mmap package in footnote

For example, \documentclass{article} \usepackage{mmap} \title{} \author{} \begin{document} \maketitle \footnote{test} \end{document} The characters map to \mathrm{t}\mathrm{e}\mathrm{s}\mathrm{t}. ...
2 votes
2 answers
274 views

How would we write code for a smile with a dot underneathe it?

We want either \smallsmile or \smile with a dot underneath it. How do we draw a \smile with a dot underneath? \smile
4 votes
1 answer
84 views

Problems when extracting chars from data imported from csv file

In a previous post I want to compare the last character of a string with other characters I asked how to compare the last character of a string with another char, and the solutions offered have solved ...
2 votes
2 answers
316 views

I want to compare the last character of a string with other characters

I want to compare the last character of a string with other characters. If I type \ifthenelse{\equal{f}{f}}{OK}{NOT OK} it returns OK. HOWEVER, if I type \substr{asdf}{-1}{1} it returns f, BUT \...
0 votes
0 answers
80 views

How to put a circle above a letter

In the name "Matušů-Nečasová",what is the code for "ů".I need to write the name in the reference, not in the equation enviroment. Thanks for answering my question. I was using the ...
1 vote
1 answer
57 views

Print \twocolumn and \onecolumn [duplicate]

How can I print \twocolumn and \onecolumn because \\ makes a new line. \documentclass[a4paper,12pt]{article} \ExplSyntaxOn \NewDocumentCommand {\lumnar} {} { \\twocolumn~and~\\onecolumn~always~...
7 votes
1 answer
4k views

Insert Unicode private char

How I type the unicode char  in latex?
6 votes
5 answers
1k views

How do I prevent "s from turning into ß with babel?

I'm writing a German document and thus I need äÄöÖüÜß to work. However I don't use it this way: "a"A"o... I just type äÄö... My Problem is that "Test" s is displayed as "Testß Here is a MWE: % !...
2 votes
1 answer
107 views

Does there exist a relation between character size interline space

yesterday, a customer said: “if character size is 12 pt, You set interline x pt, if character size is 18, interline must be y pt…”like there is a corrispondence between character size and interline. ...
0 votes
1 answer
124 views

Emulating missing accent

This time I'm working on the bilingual edition of the First Grammatical Treatise. I chose the Brill font which is almost perfect -- by itself and for my goals -- except that it is missing a few ...
0 votes
0 answers
40 views

Overleaf not working with pipe into lstlisting block of source code

% %%%% Code Snippet START: %%%% \begin{lstlisting}[language=bash] grep ^hello t.txt # ok grep ^hello t.txt | grep bye # NOT SHOW THE PIPE! grep ^hello t.txt \| grep bye # NOT SHOW THE PIPE! \end{...
0 votes
0 answers
57 views

Count characters in piece of text, ignoring latex code

I want to control the size of a piece of text in my Latex document (for an application for research funding), and ignore the latex code. I want to count also the whitespaces. I really want to measure ...
4 votes
2 answers
1k views

Testing specific fonts for (specific) available characters

While figuring out what fonts can be used to print what characters I wanted to come up with a fast and easy way to testing them. I know there are very useful answers for printing a character table of ...
5 votes
3 answers
239 views

Counting the number of occurences of specific characters in a string in an expandable way

This question shows how to count the number of occurrences of a specific character in a string. I would like to do it in an expandable way, and for a list (not only one) of specific characters. \...
3 votes
1 answer
122 views

LaTeX displays (replaces? shows?) combining comma above right (U+315) as a backtick/grave accent (U+0060)

I am using Overleaf to write a grammar of Lushootseed (a native language) and I need to use the symbol ƛ̕, which is composed of ƛ and ̕ (a combining diacritic). I've been able to get other characters ...
21 votes
5 answers
8k views

Multiple diacritics on one character

As linguistics student, I have to put more than one thing on a character every now and then. For example, I need to type ā̆. I thought I could simply do that by typing \={\u{a}}, but then the macron ...
0 votes
0 answers
45 views

Is character count with spaces possible in LaTex?

Hi I've really tried to google around on this one, but nothing has worked for me. Anyone who knows, if it is possible to count characteristics with space? Thank you in advance. Best, Maria
10 votes
5 answers
5k views

How to convert characters to LaTeX code?

How to convert characters of type á ê õ ção to \'a \^e \~o \c{c} \~a automatically?
0 votes
0 answers
64 views

What are the special meanings of # and ! for etoolbox? [duplicate]

In this this question, we find ##! in the context of a \newcommand definition, and specifically right after the \addtablerow command from the etoolbox package is used. What does ##! mean here? Why is ...
2 votes
1 answer
94 views

New line cause a "\par" even the "\endlinechar" is changed to "\char256" in TeX

TeX will insert \endlinechar at the end of line. If the value of \endlinechar is negative or greater than 255, no character is appended, and the effect is as if every line ends with %. \def\...
0 votes
1 answer
82 views

Command naming convention different abc letters [duplicate]

Is it possible to define command name containing greek (and latin) letter with any type of *tex? (latex, latex...) Eg: \μμμμ or \μinv
0 votes
2 answers
132 views

What follows the `^^` in TeX? Hex or Dec or symbol?

^^6\bye will produces v. I can understand this. 6 is the symbol of ASCII table, and the DEC of 6 symbol is 54. As 54 is smaller than 64, so 54+64=128. The 128th symbol of ASCII table is v. ^^61 ...
2 votes
3 answers
947 views

"^^A" does not work in TeX?

On page 45 of The TeXbook, TEX has a standard way to refer to the invisible characters of ASCII: Code 0 can be typed as the sequence of three characters ^^@, code 1 can be typed ^^A, and so on up to ...
0 votes
1 answer
80 views

Why can the character number 127 be ouput by default?

On page 44 of The TeXbook, it says, the “dangerous bend” sign used in this manual appears as character number 127 of font manfnt, and that font is selected by the control sequence \manual On page 45 ...
3 votes
1 answer
246 views

Using Arial and special characters

I have to use Arial in my document. If I want to use special characters in the text, such as numbers set higher or lower, these are not displayed or are only displayed as a rectangle.Superscript 2(²) ...
1 vote
1 answer
82 views

Missing Character

I was trying to make changes to a template but was running into an issue. You see, it seems the first character (Chinese) was always missing from the first line under the {defn} line.(Like this ...
1 vote
2 answers
526 views

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

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 ...
7 votes
1 answer
5k views

Emoji in pdflatex?

Update: By adding \def\emojione{\scalerel*{\includegraphics{1F4D5.pdf}}{X}} in the preamble with the respective PDF file, I am able to use emoji in the body text. However, if I put \emojione{} in the ...
8 votes
2 answers
182 views

Proper caron accents with kpfonts?

In good typesetting, the caron accent on some letters (t, d, l) should be replaced with something looking more like an apostrophe. This is done correctly with the "default" font with T1 ...
0 votes
0 answers
16 views

Count all characters including whitespace and footnotes

How can I count the characters of my document? I tried characterCount, but it doesn't work. I want to start at a custom point in my document and all characters including whitespace and footnotes ...
7 votes
2 answers
953 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... \...
1 vote
1 answer
246 views

Is there a "smooth" version of \Letter?

From the ifsym package I have \Letter, which gives Is there a smooth version of this? I want something like the Unicode ✉, or
1 vote
1 answer
114 views

Using Demotic Alef unicode character with Noto font package and pdfLaTeX

I'm editing some documents for my institution and need a few Demotic (ancient Egyptian script) characters: Alef: ꜣ and Ꜣ; Unicode: U+A723 and U+A722. Ayin: ꜥ and Ꜥ; Unicode: U+A725 and U+A724.^1 It ...
3 votes
2 answers
166 views

Capital R with whitespace padding

I'm a math and latex novice, and I'm trying to write out the following rule with latex: I'm having a hard time with this capital R. In the textbook, it has that nice side padding but when I type ...
3 votes
1 answer
115 views

LuaLaTeX - Pinyin over rare Chinese characters

I know that using the xpinyin package can solve this, but I need to use Lualatex, which is not supported. At first I used the following code: \documentclass{ctexart} \usepackage{amsmath} \newcommand\...
0 votes
2 answers
178 views

garamond-libre and small caps

I want to use the Garamond font provided by the garamondlibre package. Unfortunately, it appears that the small caps cause some issues: One minor issue is that \textsc{ff} produces an ff-ligature that ...
1 vote
1 answer
144 views

Using fontspec or XeTeX commands to replace certain characters in font

This will sound like a strange question, but there is a rhyme and reason for it. Is there a way to have fontspec or XeTeX commands affect only letters of one case--say lowercase? For example, ...
1 vote
2 answers
136 views

Expandable macro that extracts the first characters of many words for UTF-8/cyrillic or UTF-8/ASCII string without additional packages

There was a problem to slightly change the macro described in Expandable macro that extracts the first character of UTF-8/cyrillic string without additional packages for the argument which may contain ...
34 votes
4 answers
14k views

Check if a string contains a given character

I want to implement an if-then-else depending on whether the argument contains a special character or not. Should I be looking here: http://www.tug.org/TUGboat/Articles/tb28-1/tb88glister.pdf, or does ...
4 votes
1 answer
481 views

How to print a vertical bar in text mode without the use of the "|" symbol?

I'm trying to print the vertical bar symbol in text mode, but I can't use the | symbol itself. What is the right command for this? Please, don't suggest to use \rule, since I need the standard symbol ...
0 votes
2 answers
94 views

How can I print a right/left angle character without using ">" and "<" symbols?

Please, don't ask why I need this. I need to print > character, but I can't use the > symbol inside the .tex file. \rangle doesn't work for me, since it prints a math-mode char, which looks very ...
20 votes
4 answers
71k views

How to get text above and below double harpoon (reversible reaction) symbols in an equation

I'm working on the Chemwiki Dynamic Textbook Project at UC Davis, California and I've run into a problem. I need to formulate a symbol containing double harpoons (as in a reversible reaction, e.g. \...
0 votes
2 answers
1k 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 ...
207 votes
6 answers
569k views

Escape character in LaTeX

I need to output the below text but since \ is a special character, I cannot: [RegularExpression(@"\d+")] Also sometimes I need use dollar sign $ as well but it seems to be a special char, too. ...
0 votes
1 answer
606 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]{ \...
0 votes
0 answers
136 views

Is there a way to remove specific characters from argument of a macro?

Suppose we have a macro saying, \NewDocumentCommand\foo{m}{#1} When it eats an argument, I want it to print whatever is in the argument without specific characters. For instance, I want to remove ...
3 votes
2 answers
161 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 ...

1
2 3 4 5
14