{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

6
votes
4answers
438 views

UTF-8 (but not in current font) character in newcommand

I'm trying to define a new single-character LaTeX command (to insert a 1 pt space with \kern1pt) and want to use one of the characters obtained through the AltGr key on a US International keyboard ...
11
votes
2answers
692 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} ...
4
votes
1answer
231 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
324 views

UTF-8 characters not displayed with xelatex (pandoc)

I'm using XeLaTeX with pandoc to generate PDFs from markdown files: but the "⇒" character (UTF8) does not get correctly generated (it's not show in the output file). Is it possible to get the "⇒" ...
15
votes
2answers
350 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 ...
10
votes
1answer
327 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 ...
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
468 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
809 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
182 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
509 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
90 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 ...
33
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
792 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
611 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
326 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
310 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
173 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
658 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
324 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
622 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
421 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
151 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
678 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
313 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
509 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
261 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
404 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
102 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
144 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
443 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 ...
1
vote
1answer
499 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
217 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
833 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
139 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
129 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
603 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
157 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
427 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
332 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
108 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
187 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
414 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 ...