{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

15
votes
3answers
949 views

en dash and em dash spacing

I've noticed that en dashes and em dashes run into certain numbers and letters, and I don't believe it's standard to use spaces with these. For example, if a 'b' comes before the dash or a '6' comes ...
4
votes
1answer
180 views

Wrong diacritic when using \"u

I have a document where the \"u is not rendered as ü, but more like a u with a strikethrough mark: Directly using the UTF-8 encoded ü character in the input file works as expected, however. I have ...
3
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 ...
1
vote
1answer
2k 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
9
votes
1answer
224 views

allowable filenames for source files

Which characters may appear in filenames that are included (\include)? Are hyphens and underscores okay? Is there a dependence on the underlying filesystem or encoding of the LaTeX source that does ...
4
votes
1answer
494 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
2answers
373 views

How to detect words starting with # in listings package?

I am writing some code with the listings package and I need to detect the words starting with the number sign (#) and apply certain style. For example, if I have this code: something #foo ...
6
votes
2answers
254 views

How to detect a tab character when processing a literate in lstlistings?

In the solution to Making more easy the itemized of item with tabulation system, I am counting up the number of spaces in order to determine the type of leading character to insert. However, if the I ...
53
votes
2answers
47k views

How to write “ä” and other umlauts and accented letters in bibliography?

How to write in bibliography (package natbib) letter "a" with two dots above? Specially, I mean the word Birkhäuser. Is there a general rule or way how to write such umlauts or other accented letters ...
7
votes
2answers
647 views

Glyph substitution: alternate capital Q in URW-Garamond? (LaTeX, Mac OS X)

I am using URW Garamond in LaTeX running on Mac OS X. The capital Q has a very long swash (extending beyond the next two glyphs!), which makes it unusable for me (I have too many capital Q's in my ...
12
votes
2answers
555 views

Typesetting latin small letter u with diaeresis and caron

I'm looking for ways to typeset an ǚ. This character is necessary for typesetting pinyin (汉语拼音, the most common way of transcribing Mandarin Chinese), as it contains syllables such as lǚ (Chinese ...
6
votes
1answer
278 views

How to enter a Latin Capital Letter D With Hook (Ɗ)?

How can I insert a Latin Capital Letter D With Hook into a LaTeX formula? Ɗ
4
votes
1answer
179 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. ...
1
vote
0answers
79 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 ...
5
votes
1answer
136 views

How to use decimal HTML characters

How do I use decimal based HTML characters such as these: ﭑﭒﭓﭔﭕﭖﭗﭘﭙ with a special truetype font ...
6
votes
1answer
235 views

How can I use german umlauts in MetaUML

I have the following files: metaumlfile.mp: input metauml; beginfig(1); Class.Benutzer("Benutzer") () ("+üben(): void"); drawObjects(Benutzer); endfig; end ...
4
votes
1answer
553 views

Using another font for a glyph that is not available in the current font

I want to declare more than one font so XeTeX can use other fonts when first font did not have a specific glyph. How can I do that? In windows when the current font does not have a glyph, other font ...
13
votes
2answers
2k views

Is there a ditto symbol?

I believe that a symbol -||- is commonly used to indicate repetition of a fragment of text. The problem is that typesetting it using dashes and pipes looks kind of ugly. Is there a predefined symbol ...
1
vote
1answer
393 views

Minted: am I using illegal characters?

I have the following simple LaTeX document... \documentclass[letterpaper, 10pt]{article} \usepackage[margin=1in]{geometry} \usepackage{minted} \usepackage{hyperref} \hypersetup { colorlinks=false, ...
10
votes
1answer
351 views

How do I add accented characters to PDF info without using hyperref?

Using pdflatex, I'm looking to add PDF information into by document, including an accented name (Rónán Daly). Normally I'd use hyperref to do this; however, the conference I'm submitting to is ...
7
votes
1answer
169 views

Printing character number i

I have a counter 1 ≤ i ≤ 26 and I want to print a character between a and z depending on value of i. How can I do this in LaTeX?
4
votes
1answer
260 views

Should spaces be placed after every special character input command in ConTeXT?

I am using several special character commands, such as those described at Which symbols need to be escaped in ConTeXt?. I noticed that some, such as \textdollar will not work if they are immediately ...
15
votes
1answer
845 views

Rotate individual letters of the text using TikZ

I would like to rotate each character in the text of the TikZ edge label while keeping the edge label's orientation unchanged. The following code: \documentclass{standalone} \usepackage{tikz} % ...
3
votes
2answers
162 views

list of supported chars for current LaTeX configuration

I am calling pdfLaTeX with text entered in a web form. I would like to replace important chars not supported by LaTeX with the right LaTeX command. How can I get a list of chars supported by LaTeX so ...
17
votes
3answers
24k views

Underscores in words (text)

How can I produce the text Word_one_two in LaTeX? I tried: Samp\_Dist\_Corr But, it doesn't quite look right. Also, I want it in the typewriter font, so actually, I'm doing: ...
2
votes
1answer
160 views

What is the problem with characters < and > in PDF display? [duplicate]

Possible Duplicate: Include < and > symbol Why when I create pdf in texlive with pdflatex, the characters < and > are displayed as inverted ! and ?, respectively. However, when ...
19
votes
2answers
866 views

How to get Wikipedia W from Linux Libertine?

How can I get the Wikipedia-looking crossing-w from Linux Libertine font? They talk about it on their homepage and in the wikipedia article, but I can't find an example of how to actually produce it. ...
2
votes
1answer
2k views

Method for LaTeX to ignore special characters in a phrase

Is there an easy way for Latex to ignore all special characters in a given phrase? For example, I had to copy several links which contained the symbol _ . I know that it is possible to put \ in front ...
2
votes
1answer
555 views

How to make a slanted vertical bar?

I'm stumped on this. I would like to make a slanted (and italic) vertical bar in the middle of some regular text. If I use $|$, it comes out literally vertical regardless of style, since it's a math ...
9
votes
2answers
393 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} ...
3
votes
2answers
183 views

How do I put the “$_” string in a \section?

How do I put the "$_" string in a \section? When I try \section{$\_} it gives me Missing $ inserted error. When I try \section{\$\_} it gives me Extra }, or forgotten $. error. When I try ...
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} ...
2
votes
3answers
620 views

Producing “chandrabindu-halanth” symbol in devanagari

Can the above image be produced using the devanagari package. To produce it I used the skt package but I am curious to know if this image (that is the chandrabindu along with the halanth) can be ...
8
votes
2answers
284 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 ...
12
votes
2answers
2k views

Handling of special LaTeX characters in text

I have a LaTeX file for a book chapter, which may need to be converted to Word at some point, because that is what the publishers use (sigh). This article doesn't have any math in it, but I'm still ...
4
votes
2answers
576 views

write macro parameter character to file (#)

During pdfLaTeX processing, I'm writing a string of key-value pairs to an external file. Sometimes the value will contain \# and I want only the # to be written to the file. Here is my code which ...
5
votes
2answers
604 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} ...
3
votes
1answer
30k views

How to type & in LaTeX? [duplicate]

Possible Duplicate: Escape character in LaTeX I'm trying to type the word & but I encounter with error : misplaced alignment tab character & And when I put it into verbatim it ...
3
votes
1answer
191 views

checking for whitespace inside verbatim environment

I would like to determine whether a line inside a verbatim environment starts with 3 spaces. I'm using pdflatex and the \pdfmatch primitive. I see that the verbatim environment sets the category ...
29
votes
3answers
35k views

Escape character in LaTeX

I need to output the below text but since \ is a special character, I cannot: [RegularExpression(@"\d+")] Also sometimes I need use dollar sign $ as well but it seems to be a special char, too. ...
5
votes
4answers
210 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.
6
votes
1answer
364 views

National characters in URLs not working with hyperref [duplicate]

Possible Duplicate: Hyperref: Scandinavian characters (æø) don't work in \url, hyperlink is wrong Consider the following example: \documentclass[a4paper]{article} ...
5
votes
1answer
2k views

Yield symbol (chemistry)

I'm trying to format a chemical reaction with LaTeX, and apparently it doesn't accept "→" as a character. Is there any way to do it?
2
votes
2answers
2k 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 ...
3
votes
2answers
280 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} ...
8
votes
2answers
1k views

XeTeX: “ß” compiles as “SS”, German umlauts work

I have a problem with XeLaTeX. Although German umlauts (äöü) work, "ß" compiles to "SS". I use TeX Live 2011 on Debian x64. See this minimal example: \documentclass{minimal} ...
3
votes
2answers
629 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.
11
votes
2answers
1k views

Check if a string contains a given character

I want to implement an if-then-else depending on whether the argument contains a special character or not. Should I be looking here: http://www.tug.org/TUGboat/Articles/tb28-1/tb88glister.pdf, or does ...
9
votes
1answer
429 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 ...
2
votes
1answer
945 views

How to write directly French characters in Emacs and print them in LaTeX?

I am editing LaTeX with Emacs. I would like to write in French. At the moment I have to write special French characters for instance like this: \'e prints é. If I write directly é in Emacs, the ...