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
1answer
50 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 ...
0
votes
0answers
30 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 ...
2
votes
1answer
49 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 ...
3
votes
1answer
93 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 ...
2
votes
1answer
73 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 ...
2
votes
2answers
56 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 ...
2
votes
1answer
126 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 \...
0
votes
1answer
51 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 ...
0
votes
0answers
32 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....
3
votes
2answers
117 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... \...
2
votes
1answer
38 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}\,} ...
0
votes
0answers
18 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 ...
3
votes
3answers
141 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 ...
2
votes
0answers
38 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 ...
3
votes
1answer
105 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 ...
1
vote
1answer
41 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 ...
2
votes
0answers
50 views

Formatting multiple characters and glyhs/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 ...
0
votes
0answers
8 views

Keywords with $- sign - Listings

I am trying to create a snippet of code and want to use $output=0 as a keyword in one specific colour, however, it is not accepted by morekeywords as a new keyword.
4
votes
1answer
91 views

Several minus signs

Compare this: - versus -- versus --- versus ---- versus ----- versus ------ \\ \texttt{- versus -- versus --- versus ---- versus ----- versus ------} In normal Text-Mode, more 'Minus' will just make ...
1
vote
1answer
33 views

Character merge

Is there any way to merge two characters in LaTeX? For example, I would like to combine the two symbols \# and 1 to get #1 Thanks in advance
8
votes
4answers
440 views

Get the first and second character of a macro argument

I have a situation where I need the first and second character of a macro argument extracted separately. The input is always two characters long and is always non-special text. I am aware there are ...
1
vote
2answers
104 views

Special characters, cmap, copy-paste pdf text to text editor

I have pretty bad issue with special characters. When I copy-paste the text from my pdf file to some other text programs I obtained: t˛e klas˛e zwi˛azków n˛a and I expect: tę klasę związków ną. I don'...
1
vote
3answers
142 views

Display ß in small caps [duplicate]

When I use ß in headings - which I want to be in small caps - it gets replaced by a double S. Is there a way to still have a ß there, which is also the same height as the other letters? Just to ...
2
votes
5answers
280 views

latex table: include '\n' in a table cell?

\begin{table} \begin{tabular}{l | l | c | c } Name & Hex & dezimal & C-char \\ <cr> & 0x0D & 13 & '\\r' \\ % should read '\r' <lf> ...
1
vote
1answer
86 views

Special characters \{ and \} in mtpro2 [duplicate]

I recently just started running into a special character error for curly braces, like { and } in the example below: \documentclass{article} \usepackage{times} \usepackage[complete,...
2
votes
2answers
64 views

Cannot assign \c{char} to a const variable

Why and is there a solution? \documentclass{article} \usepackage[utf8]{inputenc} \inputencoding{latin1} \usepackage{xparse} \usepackage{etoolbox} \ExplSyntaxOn \tl_const:Nx \lang_and { croatian=...
0
votes
0answers
50 views

combining diacritics

I'm trying to combine the diacritics \d and \^. For the letter e for example with the help of some kerning: \^{\kern-.4em}{\d{e}}. The result does not paste well here Two problems. I should not have ...
0
votes
0answers
1k views

Package inputenc Error: Invalid UTF-8 byte sequence using {lstlisting}

I have the next code error codealcance.tex 58 Package inputenc Error: Invalid UTF-8 byte sequence. See the inputenc package documentation for explanation. Type H <return> for immediate help....
0
votes
0answers
30 views

Error: Unicode character ​ (U+200B) [duplicate]

I'm getting this error marcoteorico.tex 31 Package inputenc Error: Unicode character ​ (U+200B) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for ...
1
vote
1answer
42 views

Character replacement does not work correctly

I am replacing a character. It works fine if I give that character as input directly. But when that character is extracted from a string, and then fed in to command for the reassignment it does not ...
3
votes
0answers
42 views

How to use char č in \choicemenu

I'm starting with LaTex and I'm doing on fillable form. One of options in form is dropdown list (\choicemenu). One of choices is "Oče", but when I compile file into PDF the letter č becomes c (Oče ...
3
votes
5answers
148 views

separating characters in a string

I want to write a macro that will separate the characters in a given string with some condition. If I have a string abcdef<ghi>jkl<mn>opqrs I want to access each character as a string for ...
1
vote
1answer
78 views

Problem with accent in portuguese

I'm making some document in portuguese. Everything is working fine, but when I open the PDF and try to copy the characters, those with accent make some mess. What I mean is that I write, for exemple, "...
2
votes
1answer
1k views

RMarkdown french accents/special characters

I want to use the LaTeX syntax for writing french accents/special characters in RMarkdown, but it doesn't work. \'{a} for instance doesn't compile but is literally printed in the pdf document. So far ...
7
votes
3answers
1k views

How to format K notation for continued fractions

Over here is a recent paper on continued fractions, and I was wondering how I could format Gauss' K notation in this fashion. Here is a picture to demonstrate what I mean: I am unsure how to format ...
0
votes
0answers
26 views

How can I write a 7 with line? [duplicate]

Is it possible to write (or even better, temporarily redefine) 7 so that it is always output with line in the PDF output? Something like \newcommand{\7}{\sout{7}} generates a line which spans the ...
1
vote
2answers
163 views

Special N character [duplicate]

I'm trying to write a special N character in TeX, it looks like this: I tried using $\mathcal{N}$, it similar but not quite the same. Could you help me?
4
votes
1answer
84 views

Text difficult to copy-paste in some reader only on a specific PDF generated with PDFLatex

So, it's a strange question: I know that LaTeX has some problems with the copy-paste from a PDF which, sometimes, need thing like the package cmap. But at this point I never needed such thing, as my ...
1
vote
1answer
80 views

insertion of musical rhythm cell in a text - special characters?

I'm writing a document using \documentclass{tufte-book} How can I insert in a text special characters specific to music (rhythm cells corresponding to : double eighth note, two eighth notes, black). ...
0
votes
0answers
55 views

Adjusting spacing in mathdesign

I like mathdesign package, but spacing between some letters looks pretty awful, for example, look at the letter A: I've found the solution here: Make Characters Active via Macro in Math Mode. So, ...
1
vote
1answer
31 views

Defining a character as a macro and preserving its original function

I would like to redefine a character (say .) in such a way that it does its original function and also performs another task (for example runs certain command, say \mycommand). I wrote the following, ...
0
votes
0answers
24 views

\subfloat not working if file has accented characters with \usepackage[portuguese]{babel}

If I use \usepackage[main=english,portuguese]{babel} there is no problem with files with accented characters. But I cannot write in Portuguese. But if I use \usepackage[portuguese]{babel} than using \...
1
vote
1answer
82 views

Letters are missing with calligra

Whith \calligra, letters like \ and \u{g} disappear. How can I fix this? See the demo below. Without calligra, it works. With, it doesn't. \documentclass[12pt,letterpaper]{report} \usepackage[cam,...
0
votes
0answers
68 views

Keyboard character is undefined even though there's no exotic character

What could be causing this error? I see no exotic characters in my line 17. I'm new to TeX, this is my first document. Tried googling this error, but most of the time it is obvious with some exotic ...
2
votes
1answer
105 views

Microtype: How to disable protrusion for single characters?

I want to disable the protrusion for endashes and emdashes. The line filling does not look good there ... But how to do so? According to the answers here, I tried to manipulate the font packages but ...
4
votes
1answer
958 views

XeLaTeX and font Libertinus: Missing character for upright T in math mode

If I compile the following MWE \documentclass{article} \usepackage{libertinus} \newcommand*{\Gt}{G_{\mathrm{T}}} \newcommand*{\gt}{g_{\mathrm{T}}} \begin{document} Let $\Gt = \langle \gt \rangle$ ...
0
votes
0answers
46 views

Problem with special characters while using LaTeX and the TeXMAKER

When I type déterminer la bonne réponse I get: d~A©terminer la bonne r~A©ponse
1
vote
2answers
170 views

BibTex: Special Characters cause errors

I have following problem: in my main.bib I have this article: @article{tableviewvideo, title={Swift UITableView Tutorial with Custom Cells - Beginner Series}, author={Allen, S}, year={2017}, ...
2
votes
2answers
85 views

How can I figure out if the first character of an argument is \?

I have defined a new command that displays a box around whatever I want inside, and want it to act differently depending on whether its argument is just plain text or another command (e.g. \...
3
votes
2answers
76 views

Rendering italics and small-caps with diacritics, or manually composing diacritics

I'm trying to render an italicized small-caps u with macron, but the result is never in small-caps. The reason for this combination is that my headers are rendered in small-caps, and one of my chapter ...

1
2 3 4 5
12