{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

4
votes
1answer
175 views

getting rid of unicode character 200F

I typeset Arabic text with LuaLaTeX and recognised that quite often a character occurs in the resulting pdf that is invisible in the sourcetext -- it is unicode character 200f: the right-to-left mark. ...
4
votes
3answers
172 views

Index with accented letters

I'm trying to typeset the following $Q_å=l_å \cdot m$ But LaTeX won't typeset these special or accented letters in my document! Is there a simple way to achieve this?
9
votes
2answers
1k 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 ...
11
votes
4answers
392 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ʿ ...
5
votes
1answer
150 views

Count chars with xstring

I have the following code, which was provided by the xstring author Christian Tellechea, thank you very much. The idea is to count the number of character inside a structure that do belong to a ...
4
votes
1answer
417 views

Babel not working on OS X? [closed]

I'm using a MacBook Air, with OS X, and I have great difficulties in using Latex in my native language (serbian). If I use the standard babel package in TexShop: \usepackage[utf8]{inputenc} ...
15
votes
4answers
705 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 ...
0
votes
0answers
164 views

TeX, LaTeX capabilities in counting occurrences in text of chars defined in a given list

I am asking this question in part because I am not completely aware of TeX, LaTeX capabilities. Imagine that I want to count the number occurrences of charecters defined in a certain list. The usage ...
3
votes
1answer
186 views

Problem with umlauts in glossary

The following code does not produce umlauts as expected. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{glossaries} \makeglossaries \newglossaryentry{a}{% ...
3
votes
2answers
409 views

Xelatex: Accent and macrons on capital letters. Multiple accents on a single letter?

I have trouble getting capital letters with a combination of accent and macron in XeLaTeX. I used this: \'{\=A}, but I didn't get the accent where I expected it to be. Also, i was wondering if it is ...
2
votes
2answers
361 views

Align boxes and rotate boxes in plain TeX

When I finish reading the Appendix D: Dirty Tricks in the TeXbook, I rethink a question: is it possible to align some character boxes like this: The input may be like this: ...
5
votes
1answer
1k views

Special characters in input file

I want to have my sections in independent .txt files in the folder of my assignment. So I use \input{text.txt}. The problem is, I write in Danish and we have the 'æ' 'ø' 'å' characters that aren't ...
2
votes
1answer
420 views

Formatting capital letters in math mode

This is perhaps a simple question, but I would like to print a capital I in my LaTeX document (beamer specifically) inside a $...$ construct. I would like my I to appear more substantial by having ...
6
votes
2answers
692 views

Special L for Lie Derivative

Does anyone happen to know how to typeset the special L character found, for example, in eq. 2.41 in this paper: http://arxiv.org/pdf/1107.5792v2.pdf that is being used for the Lie derivative? Thanks ...
6
votes
4answers
478 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
765 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
254 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
345 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
359 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
343 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
530 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: ...
16
votes
1answer
920 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
197 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
554 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
93 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
845 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
662 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
341 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
321 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
183 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
714 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
342 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
656 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
428 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
154 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
727 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
327 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
578 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
282 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
422 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
150 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
486 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
544 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
3k 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: ...