{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

1
vote
0answers
93 views

How to get proper kerning with XeTeX and special characters? [duplicate]

I would love to switch to XeTeX to make use of my professional Adobe fonts that were shipped with Creative Suite 6. I use MikTeX on a Win 8 machine, and TeXniXcenter + XeTeX. However, kerning seems ...
5
votes
1answer
401 views

Escaping special LaTeX characters in user-defined input text

Background Users can provide text, which is transformed using XSL into a LaTeX document. The XSL template that transforms the XML document (containing user-defined text) currently resembles: ...
15
votes
1answer
711 views

Automatically change é to \'e – most convenient setup for accented letters?

I assume this is really basic question, I'm new to LaTeX, I read a first step tutorial to get ready to write some documents but I couldn't answer my own question at this time and I really don't know ...
6
votes
2answers
170 views

How to color diacritical marks?

I would like to have the diacritical marks stand out visually by being colored differently. For example, can I have â in which the circumflex is in red, and the 'a' is in black? When I use ...
7
votes
1answer
451 views

Strange problem with BibTeX sorting

I know that Umlaute have to be avoided in BibTeX and I am using {\"a}, in fact I use BibDesk and it produces the correct LaTeX code. The sorting works for small characters, but I have one name ...
4
votes
1answer
89 views

How does one make two characters active?

In russian babel, it's possible to write << to get a russian opening quote character. However, some fonts that have such character (like the one provided by anttor package) don't use that and ...
31
votes
3answers
2k views

What's a good typewriter template?

I'm searching for a template which makes a document look like it's written with a real typewriter. Ideally, this means it's not only in mono-spaced font, but the hyphenation is adjusted accordingly. ...
10
votes
2answers
748 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} ...
5
votes
1answer
563 views

Is it possible to solve encoding problems?

I have some tex files that are corrupted, meaning that characters like accented letters have been replaced with weird symbols. Is it possible to solve this kind of problem after the weird symbols ...
4
votes
2answers
2k views

How to set UTF8 in a lstlisting? (Error received)

I need to copy and past some UTF8 code into a lstlisting, but unfortunately, I receive the following error : ! Package inputenc Error: Unicode char \u8:�\lst@FillFixed@\lst@EC� not set up for use ...
16
votes
1answer
309 views

Creating new characters from existing ones

In a nutshell. Is there a relatively easy way of building characters out of parts of existing ones? Rationale. (La)TeX linguists’ need for a wide palette of characters—for example, ⟨ɳ⟩ (U+0273), ⟨ɲ⟩ ...
11
votes
2answers
298 views

Bar-less “f” and finetuning existing characters

Specific question I would like to produce an italic f without the crossbar. Can I do this relatively straightforwardly? This letter, esh (ʃ), is Unicode U+01A9, U+0283. The esh of tipa.sty only ...
6
votes
1answer
164 views

Percent signs disappearing from verbatim block (ltxdoc class)

Is the following expected: \documentclass{ltxdoc} \begin{document} \begin{verbatim} % why is my percent sign gone? \relax % not here \end{verbatim} \end{document}
4
votes
1answer
604 views

LaTeX characters: dots and overlines combined

For alphabets with dots one has ö=\"o, but I would like to introduce another horizontal line just above the two dots. The command \=\"o doesn't yield the sought result.
7
votes
2answers
314 views

utf8 characters

I would like to include the output of the npm list command in a latex verbatim block: jeroen@jeroen-ubuntu:~/Desktop$ npm install d3 jeroen@jeroen-ubuntu:~/Desktop$ npm list /home/jeroen/Desktop └─┬ ...
2
votes
1answer
571 views

XeTex - Times New Roman font for Romanian characters ș, ț, Ș and Ț

I have downloaded the Times New Roman font and put it into .local/fonts where it should be (my OS is Fedora 17 and I use TexLive 2012). It is recognized by LibreOffice and LyX. LibreOffice displays ...
6
votes
2answers
414 views

Extracting characters from the new libertine (with pdflatex)

The issue: I need to access e.g. libertine's delta glyph in pdflatex. This question notes that the \libertineGlyph command is no longer provided by the latest version of the libertine package. It ...
1
vote
2answers
148 views

Add notches to characters

The title is self-explanatory really, all I really want to do is be able to add some kind of notch to any character, so that they are visible if you are actively looking for them. Like accents, but ...
4
votes
2answers
647 views

Automatic translation of accented characters in Winedt 7

I remember that a long time ago, when I was using Winedt (V5.0 I guess) it automatically replace some characters. For example, ç was replaced by \c{c} when I open the file. Now, I need to do the same ...
3
votes
1answer
302 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 ...
1
vote
1answer
456 views

pdflatex tex issue with section which contains underscore

I have a tex file which is like this : \cleardoublepage \phantomsection \includepdf[pages=-,addtotoc={ 1,section,1, 200_project_title: , p1, 1,subsection,1,Section A - Project ...
7
votes
1answer
253 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} ...
12
votes
3answers
1k views

Catalan language “ela geminada”

The language setting for my document is Catalan babel. The Catalan alphabet includes a letter called ela geminada, spelled with two lower-case l separated by the interpunct · (i.e. "cel·la" or ...
7
votes
2answers
377 views

How is the LaTeX 2e made?

I wanted to know how is the \LaTeXe symbol () made, I mean, the command definition of superscripts and subscripts on the "L", "A"... letters.
2
votes
2answers
100 views

Turning a T1 text-mode character into a maths-mode character

I would like to use the T1 font character Ð, \DH, as a mathematical symbol, as so in a quick and dirty way I defined \newcommand{\dH}{\text{\DH}} However, in my theorem environments, where the ...
2
votes
0answers
89 views

Is there a \text… command for Cyrillic characters? [duplicate]

I am trying to get the Cyrillic variant of the Serbian alphabet and was wondering if there was an easy \text command for Cyrillic characters? For example, I can easily get the letter З by typing ...
7
votes
1answer
137 views

Dealing with word boundaries in a pl file

What is the easiest way to express replacement rules like “If a letter follows, replace ‘s’ by ‘ſ’” and “If a non-letter/word-boundary follows, replace ‘g’ by ‘g.final’” in a pl file? Context I am ...
10
votes
3answers
408 views

Retrieve length of a character

I'm creating a custom command which basically prints an horizontal line, a character and another horizontal line. The code would be ...
0
votes
1answer
442 views

\texttt converts apostrophe to Unicode quotation mark [duplicate]

Possible Duplicate: How to make a real apostrophe or single-quote in LaTeX I'm building a Python Regex cheat sheet using Latex, which has the following line: ...
9
votes
1answer
2k views

Bold , italic (and sans-serif) math symbols

I would like to implement the suggestions in the TUGboat 30:3, 2009 about the upright/italic and bold/normal in scalars, vectors and tensors. All this is about math. I use this font: ...
1
vote
2answers
211 views

How do I get an Uvular Trill <ʀ> IPA symbol?

I've tried looking at a tutorial online, which tells me that \;R should produce the ʀ symbol that I want to represent an uvular trill, but this only seems to produce a normal capitalised R. What do I ...
3
votes
1answer
742 views

Is there a symbol for Dark 'l' (ɫ)? [duplicate]

Possible Duplicate: How to look up a symbol? Dark 'l' (ɫ) is an IPA symbol for a velarized alveolar lateral approximant. I've tried \l, which gives the similar, but not correct, Polish ł ...
10
votes
1answer
129 views

How to write the € symbol into a file, when using Package [utf8]{inputenc}

With the following MWE, I can write the € symbol into the file euro.txt \documentclass{article} \newwrite\tempfile \immediate\openout\tempfile="euro.txt" \begin{document} Write Euro symbol into a ...
1
vote
1answer
125 views

Macro needed for automatic creation of labels

I'm asking for help with the creation of a label inside a command out of a given text. The given text contains spaces and an umlaut. See my MWE, which contains my question: \documentclass[pagesize, ...
13
votes
1answer
569 views

How to find out which glyphs are different in an OpenType style set?

With fontspec, and XeTeX or LuaTeX it's possible to access a font's OpenType features, including the Style Sets, e.g. like this: \addfontfeatures{RawFeature=+ss01;+ss18} TeX.sx has already taught ...
1
vote
4answers
147 views

Reverse a glyph? [duplicate]

Possible Duplicate: Rotating a letter Given any printable glyph, is there some way to reverse it along the vertical (or any other) axis? So that, for instance, a sans-serif d would appear ...
2
votes
1answer
406 views

Special characters stopped appearing in text

I have a unicode text (XeLaTeX) in which I use vowels with umlaut, like ü and ö, which worked but suddenly stoped working. These give an error message: ! Package inputenc Error: Keyboard character ...
2
votes
1answer
2k views

Swedish characters, but english captions

I am writing thesis in english but I want to be able to use swedish letters. I use \usepackage[swedish]{babel} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} This works fine, I thought, ...
1
vote
1answer
80 views

hyphenation problem with the character &

How to produce the hyphenation of the word (BM&FBOVESPA) I tried to use \hyphenation{BM\&F-BO-VES-PA} in the preamble but did not work
6
votes
1answer
302 views

A problem with umlauts

I'm using Ubuntu 12.04.1 LTS and I installed sudo apt-get install texlive-full and sudo apt-get install texlive-lang-finnish The problem is that the following document won't output letter ä: ...
0
votes
1answer
104 views

Defect of measuring into the count of alphabet width

Question: Why in the example below I get (with CM at 10pt) \alphabet=342.93138pt and \myalphabetwidth=342.6536pt why I have this difference between the two measures? What is the more correct? ...
3
votes
1answer
185 views

Support for the punctuation symbols into a macro for characters count

Question about this macro: Is possible to have a higher precision with this macro by adding some punctuation symbols like ,.;:?!'() into the final count of the characters? ...
6
votes
2answers
1k views

Enable letters with diaeresis

My document is in in dutch and there are quite a few letters with diaeresis in it. I have this on top of my document: \usepackage[dutch]{babel} I thought this would fix the language-problem but ...
7
votes
1answer
399 views

TikZ UML diagram special character problem

I'm trying to create an UML diagram using TikZ and pgf-umlcd, unfortunately I seem to have some kind of special character problem and was not able to figure out how to escape them right, an example ...
6
votes
1answer
1k 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 ...
2
votes
1answer
312 views

Special characters

I'm using XeLaTeX to compile my document. If I write in my document --- I don't get —, but --- in my PDF document. Same for – (--) character. I'm sure that font which I'm using have this character ...
2
votes
1answer
242 views

Access minus symbol of postscript font in textmode

Do postscript fonts such as libertine (from the libertine-legacy package) or mathpazo have a minus sign that can be accessed when in text mode? What I am trying to do is substitute the normal dash ...
2
votes
1answer
825 views

How to put Japanese Kanji characters into an English document?

Japanese, please help: I need to put the following into LaTeX and print it out with pdfLaTeX. The document itself is in English, so I only need a way to put these Kanji characters (Jin, aza, BUN, ...
12
votes
1answer
304 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 \$ \% ...
3
votes
1answer
708 views

Average number of characters in one line

How can I calculate the average number of the characters per line of my document?