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
2answers
69 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 ...
3
votes
1answer
213 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} \...
2
votes
1answer
59 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 ...
1
vote
0answers
31 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" ...
1
vote
1answer
23 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}{<}} \...
3
votes
1answer
46 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 ...
0
votes
1answer
17 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 ...
1
vote
0answers
56 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 ...
0
votes
1answer
53 views

Change numbers form automatically

I have posted a question Change numbers format in arabtex I'm trying to use the solution provided by PiCot and it is not working (years ago it was working fine) !? I need numbers to appears in ...
2
votes
1answer
40 views

Where can I find a good ayin?

"Egyptological ayin" is a letter used in transcribing Ancient Egyptian, and looks sort of like a cross between a C and a left-quote. (In particular, it tends to be raised a bit above the ...
1
vote
0answers
31 views

How to measure the width of a character including overshoot

I'm trying to measure the width of arbitrary letters. For example, I'm using this to get the width of a letter A: \settowidth{\letterwidth}{A} This seems to work fine for all my letters, except for ...
2
votes
3answers
74 views

How to italicise characters, but not digits for a specific math font?

I created commands to display vectors, matrices and tensors. For the tensors I am using a bold italicised math font, which looks exactly as I want for characters. However, when denoting a tensor with ...
1
vote
2answers
90 views

Special letter in math mode

\documentclass[12pt,a4paper]{article} \usepackage{cmap} \usepackage[utf8]{inputenc} \usepackage[magyar]{babel} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage{amsmath} \...
3
votes
1answer
95 views

What is the safe character set for a BibTeX label?

What characters are safe in a BibTeX label aka citation key? With safe I mean a wide range of applications, including BibTeX and biber, a wide range of BibTeX or BibLaTeX style files, but also ...
1
vote
1answer
52 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
31 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
51 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
100 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
84 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
72 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
149 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
71 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
35 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
152 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
41 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
21 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
186 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
46 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
116 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
43 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
53 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.
3
votes
1answer
105 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
44 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
518 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
140 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
164 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
315 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
99 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
74 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
66 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
2k 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
101 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
44 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
49 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
152 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
104 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
2k 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
27 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
2 3 4 5
12