{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.
29
votes
2answers
615 views
How to color the characters in LaTeX2e logo?
I want to get the LaTeX2e logo but with each character having a different color. I know that \LaTeXe produces the logo, but how do I give a color to each character?
28
votes
3answers
12k views
How to type special/accented letters in LaTeX?
How to type these special letters from European languages in latex?
ä, é, and L'?
25
votes
2answers
12k 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 ...
24
votes
3answers
881 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. ...
23
votes
2answers
13k views
Hash character in LaTeX [duplicate]
Possible Duplicate:
Escape character in LaTeX
How do you write the # character in LaTeX?
22
votes
4answers
760 views
Coloring combining characters without changing color of a base character
Problem
I am trying to find out is there a good way to paint combining characters without changing the color of the base character they are combined with. My actual problem case is to make some ...
19
votes
2answers
656 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.
...
17
votes
3answers
16k 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.
...
16
votes
4answers
794 views
How can I fix my most common LaTeX complaints? “_,<,>”
I use LaTeX to take quick notes about my programming work. I have a couple of frustrations:
I need to use underscore a lot because of variables named with underscores. However, I have to escape ...
15
votes
2answers
265 views
How to reduce the space between two slashes when using \url?
This is a follow-up question to Space between two slashes. Bianca Lobo's answer (defining a \twobar command with proper kerning) is nice; however, it doesn't work in the argument of the \url command ...
15
votes
1answer
689 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}
% ...
14
votes
3answers
598 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 ...
14
votes
1answer
194 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), ⟨ɲ⟩ ...
13
votes
1answer
5k views
How to code ß (German “sharp S”) in BibTeX
I have an author called Jörg Geißler, whom I want to include in my BibTeX database.
I tried to use
Gei\ssler, J\"{o}rg
but this doesn't work correctly. I can't generate the PDF anymore. How do I ...
13
votes
4answers
209 views
Non-ASCII characters in Biblatex
I am using biblatex with backend=biber and the following .bib file:
@article{concellon_synthesis_2006,
title = {Synthesis of Enantiopure ({αS,βS)-} or ({αR,βS)-β-Amino} Alcohols by Complete ...
13
votes
2answers
410 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 ...
12
votes
3answers
1k views
Rotating a letter
I'd like to rotate a letter such as, say B, to show its reflection or inversion symmetry, or even at an arbitrary angle clockwise or counter-clockwise. Is this possible using commands without drawing ...
12
votes
1answer
273 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 ...
12
votes
2answers
738 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 ...
12
votes
1answer
187 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
259 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ʿ ...
11
votes
2answers
347 views
Where's my backslash gone?
When I try to use one of the more "hacky" methods of getting a literal "special character" (such as backslash or a brace) then I get a different character: backslash seems to be an open quote, left ...
11
votes
2answers
421 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 ...
11
votes
2answers
1k 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 ...
11
votes
2answers
1k views
Error with percent sign in bib entry field when using biblatex/biber
I'm trying to use biblatex (v1.5a) with biber (v0.9.3) instead of BibTeX but I am having a problem with bib entries, where the abstract contains a percent sign. In that case, in the bbl file the ...
11
votes
3answers
713 views
Hyperref: Scandinavian characters (æø) don't work in \url, hyperlink is wrong
Background
A while ago it became possible to use the letters æ, ø and å in URLs, and some websites, like the encyclopaedia Store Norske Leksikon, has made use of this.
Recently, a question was ...
11
votes
1answer
362 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 ...
11
votes
2answers
207 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 ...
10
votes
2answers
357 views
Ugly d with stroke character (đ)
So, is there a font in LaTeX that will reproduce decent looking d with stroke (đ)?
I'm writing a report, on Croatian, and it just looks ugly :\
mwe:
\documentclass[onecolumn,11pt]{revtex4-1}
...
10
votes
3answers
267 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
...
10
votes
2answers
857 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 ...
10
votes
1answer
203 views
Space between the two slashes in “http://” too big
I'm using a lot of links with http:// in my document, but the two slashes are too much separated, I'd like them to be more near each other. How do I do this, in a neat way?
I'm using a sans-serif ...
10
votes
2answers
263 views
Catalan language “ele geminada”
I have a document with catalan babel, and, in catalan language, it's common to use a letter called ele geminada or two lower-case L and an interpunct (·) between them. (Like "cel·la" or "pel·lícula". ...
10
votes
1answer
415 views
Tabs in output file written by xelatex and pdflatex are different
I'm trying out pgfplots with gnuplot to generate the data. This works by having pgfplots write some stuff to an external file, run gnuplot on the file, and then use the generated data to plot the ...
10
votes
1answer
95 views
Using both a double-story and single-story g in math mode
I am writing some mathematics in which I want to use both typographic variants of the lowercase 'g' in math mode. See the Wikipedia page to see the two variants. There is a single-story and a ...
9
votes
3answers
1k views
Outlined characters
How could I produce characters which are outlined when the character itself is in some color. A picture to illustrate what I'm after:
The problems with the above are that:
the outline is of no ...
9
votes
2answers
247 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
136 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 ...
9
votes
3answers
239 views
LaTeX font for 'old-fashioned' script characters
Browsing through a copy of Counterexamples in Analysis (Gelbaum & Olmsted), I'm quite enjoying the typeface used for 'script' letters (see links to examples below); visually it's somewhere ...
9
votes
1answer
95 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 ...
9
votes
1answer
362 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
149 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 ...
8
votes
2answers
246 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}
...
8
votes
2answers
813 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}
...
8
votes
2answers
240 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 ...
8
votes
2answers
668 views
Using non-ASCII characters in packages
What is the best way to use non-ASCII (say, Cyrillic) characters in a .sty file?
If it's used in a LaTeX file that uses \inputenc[utf8]{inputenc}, than one can just use utf8 encoding in the .sty file ...
8
votes
1answer
245 views
Middle English Yogh character
I was wondering if anyone knows of a package which supports the Middle English character yogh - that's Ȝ (U+021C) ȝ (U+021D). In TIPA, there is the character ezh - that's Ʒ (U+01B7) ʒ (U+0292). Ezh is ...
8
votes
1answer
244 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 ...
8
votes
1answer
847 views
Problem copying text from latex PDF - special characters
I am using LaTeX in a portuguese document, with special characters such as tilde or cedilla. I have a sample document with the following content:
\documentclass{book}
\usepackage[utf8]{inputenc}
...
8
votes
1answer
317 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 ...