{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.

learn more… | top users | synonyms

4
votes
2answers
656 views

Include binary data

How do I include binary data (e.g. the contents of a binary file) in a LaTeX generated PDF-document? If I just copy and paste them into a verbatim environment it results in garbage.
3
votes
2answers
418 views

Xelatex: Accent and macrons on capital letters. Multiple accents on a single letter?

I have trouble getting capital letters with a combination of accent and macron in XeLaTeX. I used this: \'{\=A}, but I didn't get the accent where I expected it to be. Also, i was wondering if it is ...
3
votes
2answers
3k views

How can I overscore a character?

I am using Anki to create flash cards for Boolean identities. I prefer to use an overscore as opposed to a prime for negated variables. Can this be accomplished with LaTeX? EDIT: The header and ...
0
votes
1answer
373 views

Random character varients being used with fontspec

I'm trying to get the hang of xelatex and fontspec and I'm a little confused about how character variants are selected. I'm using the font Bickham Script Pro. Confusion (1) Some words are ...
20
votes
2answers
480 views

Automatically getting “V” as the capital letter for “u” when typesetting latin

I'm typesetting a large amount of Latin texts using XeLaTeX and the package polyglossia. I'd like to get the small letter "u" automatically printed as "V" when turned into a capital letter (including ...
13
votes
1answer
363 views

Escaped characters in typewriter font

I know a number of ways to fix this (e.g. \usepackage[T1]{fontenc}), but I want to understand what's happening in the following example. \documentclass{article} \begin{document} \noindent \$ \% ...
11
votes
4answers
395 views

How to prevent combining a character?

"EB Garamond" font combines ʿ character and the preceding letter. Consider following document: \documentclass{article} \usepackage{fontspec} \setmainfont{EB Garamond} \begin{document} aʿ bʿ cʿ dʿ ...
10
votes
2answers
858 views

Non-English identifiers in \label / \ref (“Missing \endcsname inserted”)

I found that LaTeX chokes on certain non-ASCII identifiers in \ref. This works fine: \documentclass{scrartcl} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
9
votes
2answers
512 views

“Activate” active characters in argument passed as macro

Let's say I have some macro (\iPrint in the MWE) that internally uses active characters to interpret its argument: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
9
votes
1answer
486 views

Writing Biblical Hebrew texts with different coloring for consonants, vowel and accent signs

I have got the following problem: I am using Biblical Hebrew texts written in XeTeX but I would like to color consonants as well as vowel and accent signs differently. I have read Coloring combining ...
8
votes
2answers
309 views

What characters in a normal text document will screw up LaTeX?

I'm thinking of making a simple script to turn Project Gutenburg texts into LaTeX documents, so that they are nicely typeset and ready for reading. However to do that I'll need a fairly good list of ...
7
votes
1answer
77 views

Character table on style files

What is the reason to insert the code below at the beginning of a style file? For example, the code below can be found on lipsum.sty. %% \CharacterTable %% {Upper-case ...
7
votes
1answer
298 views

Copy Czech characters from PDF with charter font

I wanna be able to copy czech characters from PDF, but for some reason it doesn´t work. here is my code: \usepackage{cmap} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{charter} ...
7
votes
1answer
692 views

How to include a # sign in a url using the \endnotes package

I am trying to include a URL in my Latex document which contains a pound sign, #, in it. If I run it without escaping the # sign, I get an error. If I escape it, then the escape character is ...
6
votes
2answers
242 views

“Remapping” a single glyph

I am using the excellent Heuristica typeface, but I don't like the way the old style "1" looks. It looks more like an "I" in small caps than an actual number, unlike the Adobe original. Like so: Is ...
6
votes
1answer
2k views

How to write properly math accent for letter i?

When it is requested to write letter "í" in math mode, it happens that $\acute{i}$ is not the right answer as it could be expected: the accent (´) is written over the letter (i), without ...
6
votes
4answers
8k views

Missing $ inserted

I am new to latex. I am trying to compile someone else's document. I have all the correct packages installed, but I get the following error: *Overfull \hbox <37.8394pt too wide> in paragraph ...
5
votes
1answer
154 views

Count chars with xstring

I have the following code, which was provided by the xstring author Christian Tellechea, thank you very much. The idea is to count the number of character inside a structure that do belong to a ...
5
votes
2answers
1k views

Output ASCII code as character on terminal in Latex?

If I have a letter/character, I can output its ASCII value using \number and backtick command: *\typeout{\number`a} 97 What do I do if I have "97", and I want to show "a" in terminal? I have ...
5
votes
4answers
2k views

German character not rendered to pdf

I just started using LaTeX, and need to use the character "ü". I already have this in main file : %%% Sprach- und zeichensatzspezifische Pakete \usepackage[latin9]{inputenc} \usepackage[T1]{fontenc} ...
5
votes
2answers
760 views

babel \L command reverses letters, inserts Ł symbol

It's time for Eyal's babel+Hebrew (or right-to-left) incompatibility of the week; and this time, it's hyperref again. If you have: \documentclass{article} \usepackage[hebrew,english]{babel} ...
5
votes
4answers
222 views

Symbols to avoid while creating new commands

I experienced some problems when creating \newcommand that have some numbers in their names; I can't find docs about that, about the accepted charset for the commands in LaTeX.
4
votes
1answer
265 views

Placing text at random positions on the screen in beamer

I am creating a presentation and for the Q&A session slide, I want to show question marks (?) in various colors and sizes in random locations on the screen. Is this possible in beamer?
4
votes
1answer
613 views

How to handle special characters in LaTeX?

I am working on one file which has some special chacters. König IR : KA}unig ,K ~ A}unig % : Comment in latex (so no text after this %) - : escape I get different output ...
4
votes
1answer
193 views

XeLaTeX: WordInitial, Inner and WordFinal seem to match everywhere

I am creating a blackletter font and would like to use it with XeLaTeX. I try to use initial/medial/final substitution for letters, like s/ſ, but the context seems to match even when it should not. ...
3
votes
0answers
190 views

Replacing a glyph in one font with a glyph from another

I am a newbie with LaTeX when it comes to fonts. I would like to replace the double story "a" in Latin Modern for a single story "a" version (and similarly for the "g"). I just prefer my typeset ...
3
votes
2answers
179 views

Checking in LaTeX for a specific character?

I have a LaTeX problem that I cannot solve by myself. I have a repeating arrangement of characters which I want to format automatically in LaTeX. 1H-NMR (400 MHz; DMSO-d6): \textdelta 12.41 (s, ...
3
votes
1answer
329 views

Character substitution: combine \llap{(} and \llap{-} to \llap{(-}

This is a follow up to question siunitx: specifying custom command as input-symbol . The idea is that (,) and - are wrapped into \llap or \rlap so that they do not take any space when a table is set ...
3
votes
2answers
325 views

Umlauts in label

I'm using LuaLaTeX and wonder why I cannot label theorems with words containing umlauts. For example: \documentclass[a4paper,12pt]{article} \usepackage{luatextra} \usepackage[utf8]{luainputenc} ...
3
votes
2answers
672 views

How to make overlaid text?

Is there a nice way to overlay text in the space of one character? So if text is overlaid as I described it would almost result in a black square.
3
votes
1answer
442 views

Make emacs speller work with accented/modified letters

In continuation to this question I was wondering, now that my document is full of \' and other accents, the emacs speller balks on all the words... Is there a way to get a spell-checker to understand ...
1
vote
1answer
849 views

Comprehensive list of accented characters [duplicate]

Possible Duplicate: How to look up a symbol? I was surprised to learn How to write “ä” and other umlauts and accented letters in bibliography?. Our BibTeX database consists of entries ...
1
vote
1answer
3k views

\ddot{a} character for strings

I'm looking for the \ddot{a} character which doesn't require me to put it into a formula or between $ characters. Can anyone help me, please? Thanks
1
vote
0answers
82 views

changing font of one (or a small number of) text character only [duplicate]

Possible Duplicate: Font substitution with XeLaTeX I am using a text font that unfortunately does not have accents for the letter e, which I need. But I have found a very similar font, and ...