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.
682
questions
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 ]...
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}. ...
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
186
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}...
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
81
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~...
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
41
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 ...
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 ...
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
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
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 ...
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 ...
0
votes
1
answer
81
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 ...
2
votes
3
answers
948
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 ...
3
votes
1
answer
251
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 ...
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 ...
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
116
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 ...
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
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 ...
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 ...
0
votes
1
answer
97
views
What character is this? [duplicate]
Does anyone know what character this is?
How do I reproduce it in LaTeX? It came from a PDF written with LaTeX (which I obviously don't have the source code for).
0
votes
0
answers
34
views
Why is LaTeX printing an em-dash for the vertical bar (character 124)? [duplicate]
I have lately seen a strange behaviour of my MikTeX installation and cannot explain it to myself. If I have the following code:
\documentclass{minimal}
\begin{document}
|
\char124
\end{...
1
vote
1
answer
217
views
How to put a verbatim section in place of teaser figure in acmart document?
I would like to use a graphic built from monospaced characters as a teaser figure in an acmart document. Elsewhere in the document I've used verbatim sections inside of table*s to do this, creating ...
0
votes
0
answers
28
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
31
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
60
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 ...
0
votes
1
answer
259
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
1k
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 ...
0
votes
0
answers
33
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
58
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
428
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 ...
0
votes
1
answer
608
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
vote
2
answers
527
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 ...
0
votes
0
answers
75
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. ...