{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

2
votes
1answer
321 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
246 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
899 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
319 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
745 views

Average number of characters in one line

How can I calculate the average number of the characters per line of my document?
4
votes
1answer
482 views

How to handle % character in LaTeX?

I am working on special character handling and my text is having % as one the special character which is treated as comment and anything after that is not printed. I m using verb as suggested in my ...
4
votes
1answer
330 views

Treat a dotted suffix as keyword in listings

I'm writing C++ code in latex with listings. I'm trying to get listings to recognise the suffix .t() as a keyword (it means matrix transpose in the Armadillo C++ library). I tried to get the ., ( ...
6
votes
1answer
228 views

Are there umlaut variants for non-blackletter fonts?

In the yfonts package for blackletter fonts, there is an option varumlaut that puts a tiny "e" instead of the two dots on your umlaut ä, ö, ü. Is there any other font that has these kind of glyphs? ...
14
votes
2answers
842 views

How to fix missing or incorrect mappings from glyphtounicode.tex

glyphtounicode.tex has been described as the best solution for generating copy-and-pasteable symbols. However, I find that various symbols that I need to use do not paste as the appropriate Unicode ...
3
votes
1answer
329 views

How do I use glyphtounicode to make Caslon Pro ligatures searchable?

I am using Adobe Caslon Pro with a caslon.sty file which activates uncommon ligatures such as st, ct, longsl, longst &c. I use it in the following example (updated to match the answer in the ...
1
vote
1answer
84 views

Unicode selection from other font

How can i choose the char"EB40 also from other font and for every chapter separately? \documentclass[a4paper,12pt]{book} \usepackage{fontspec} \usepackage{titlesec} ...
5
votes
1answer
124 views

Print a speacial character read by \readline in the same way in the document

I want to read a underscore character from a file with \readline and print it as an underscore in the resulting pdf. But the result is a high point. I've read quite a lot about category/character ...
10
votes
1answer
395 views

Replacing “a” in latin modern

I would like to replace the "a" (double-story minuscule) for the single-story minuscule in Latin Modern. I really hate that the printed "a" is not the same as the handwritten "a", and would like to ...
8
votes
2answers
181 views

Kha with descender (the “ҳ” symbol)

So, using pdfLaTeX, I need to write the Kha with descender symbol (which looks like ҳ). Taken from Wikipedia: It comes up with Afghan history, if anyone's curious why I need it... I know this can ...
7
votes
1answer
602 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 ...
1
vote
1answer
615 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 ...
6
votes
3answers
236 views

Enlarged Characters

for a presentation about Chinese characters I need to enlarge a single character so that it takes about the size of 1/4 of the page (I plan to show 4 different characters in some kind of grid, which I ...
7
votes
2answers
4k views

Capital Ø (Scandinavian letter) in Bibtex

I know that I can preserve capital letters in Bibtex with curly braces, and that I can type Scandinavian letters like æøå as \ae{} \o{} \aa{}. But what do I do to force the capital letters ÆØÅ? ...
4
votes
0answers
394 views

Apalike-letters and non-English (Polish) characters (alphabibitem) [closed]

I'm using apalike-letters bibliography style which inserts heading for each first letter of authors' names. It works well for English letters but when a name starts with Polish letter it starts to get ...
0
votes
1answer
233 views

Introducing special signs to cls file [duplicate]

Possible Duplicate: How to type special/accented letters in LaTeX? Can sameone provide some suggestion how to introduce special signs to cls file? I had tried to avoid this problem by ...
15
votes
3answers
1k 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
185 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 ...
4
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
250 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
550 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
431 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
298 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 ...
66
votes
2answers
70k 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
715 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
609 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
302 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
186 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
80 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
137 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
252 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
602 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
3k 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
430 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
398 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
173 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
297 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
900 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
168 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 ...
22
votes
3answers
38k 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
162 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
942 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
3k 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
588 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
450 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} ...