{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

9
votes
3answers
4k views

How to get text above and below double harpoon (reversible reaction) symbols in an equation

I'm working on the Chemwiki Dynamic Textbook Project at UC Davis, California and I've run into a problem. I need to formulate a symbol containing double harpoons (as in a reversible reaction, e.g. ...
4
votes
3answers
145 views

Cannot see special character

\documentclass[11pt,table,a5paper]{article} \usepackage[top=2cm, bottom=2cm, outer=2.1cm, inner=1cm,twoside, headsep=26pt]{geometry} \usepackage{collcell} \begin{document} 20 µg/mL ...
19
votes
1answer
394 views

Is there an `ex` unit equivalent for the capital 'X' in LaTeX

In LaTeX, the ex unit represents the height of a lowercase 'x' in the current font. Is there a length in LaTeX that represents the height of a capital 'X'?
1
vote
2answers
51 views

Padding underscore with right space

I am using the times package and when using an underscore _ before an italicized upper case character it overlaps. Is it possible to pad the underscore with a small amount of space to the right, or ...
7
votes
2answers
3k 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 ÆØÅ? ...
3
votes
1answer
56 views

TeX commands and currency symbols

Why does the code \documentclass{memoir} \usepackage[latin1]{inputenc} \usepackage[danish]{babel} \usepackage[T1]{fontenc} \def£#1£{``#1''} \def€#1€{<#1>} \begin{document} Hi, £this£ is nice, ...
7
votes
3answers
877 views

Writing a backslash in the \texttt environment

How do you go about writing a backslash in the /texttt environment? The $\backslash$ trick makes the font inconsistent. The reason I am asking is that I am writing some introductory computer science ...
2
votes
1answer
62 views

Rescale a character to fill a complete A4 page

I am maybe looking for the wrong keywords. But I do not find any answer about how to scale a letter to fill the entire A4 page. My first intuitive step was to use the option scale of the package ...
8
votes
5answers
217 views

Multiple diacritics on one character

As linguistics student, I have to put more than one thing on a character every now and then. For example, I need to type ā̆. I thought I could simply do that by typing \={\u{a}}, but then the macron ...
3
votes
3answers
704 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 ...
4
votes
3answers
119 views

combine \usepackage{times} and \fontspec \setmainfont

I'm having difficulty finding a Times-like font which has support for Americanist phonetic symbols, bold, italic, bold italic and small caps. Currently, I've got a setup using xelatex which gets me ...
7
votes
2answers
93 views

environment with local \newunicodechar{ä}{ae} or similar — is it possible?

I'm using xelatex with utf8-input. I'm trying to write a LaTeX environment inside of which every source code ä is printed as ae, every ö as oe etc. I found a number of ways that don't work, but so far ...
18
votes
4answers
1k views

How can I have the three source-code symbols _ < > produce themselves (_ < >) in the typeset output by default?

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 ...
4
votes
1answer
45 views

Biber Log: “\x{2018}” does not map to iso-8859-1, what does it mean

I'm currently working on a document and everything is working fine. I'm just a curious what these Messages "\x{2018}" does not map to iso-8859-1 at C:\[...]\lib/Biber/Utils.pm line 949. from Biber ...
6
votes
2answers
164 views

“Remapping” a single glyph

I am using the excellent Heuristica typeface, but I don't like the way the old style "1" looks. It looks more like an "I" in small caps than an actual number, unlike the Adobe original. Like so: Is ...
1
vote
1answer
58 views

Bold \varepsilon not as bold as it should be!

So when I use \bm{\varepsilon} and \bm{\epsilon}, the latter is LOT more highlighted. How can I make \varepsilon as bold as the rest of the symbols? \documentclass[a4paper,11pt]{report} ...
3
votes
1answer
128 views

Type regular documents using regular characters in Latex?

I am typing letters in Latex and I would like to just allow characters such as & and ' to be treated as regular characters and not latex related commands. Is there a simple way to this? Thanks
3
votes
1answer
54 views

Creating a smaller vertical bar

I want a vertical bar but in mathematical mode it appears too big. I just want a small | at the same height as the letters.
4
votes
1answer
124 views

Completely lost with BibTeX

I'm new to LaTeX, and have managed to transfer an essay I'd written in Word into LaTeX fairly satisfactorily, but I'm now trying to sort out the bibliography using BibTeX and I'm completely lost. I ...
7
votes
4answers
171 views

Set size of \colorbox for a single character

my question is simple (or not) I want to set the size of the \colorbox command or \fcolorbox command for a single character. The problem is the next: As seen in the image, the height and width are ...
10
votes
2answers
112 views

Expandably change letter case and use inside \csname, without a package

I want to change the letter-case of a single character argument, and use that changed letter inside a \csname. And I want to do it without an additional package. For example, I want to pass a macro ...
5
votes
1answer
37k 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 ...
1
vote
0answers
27 views

How to format a large text containing special Characters and breaklines?

I have this rather long text which is the output of a several console inputs. I'd like to have the text as it is as of right now. Here a link to the raw text since I didn't want to include it in this ...
2
votes
2answers
104 views

Umlaut appears on unwanted position

I am using the following imports to be able to write German umlauts. \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} This works just fine, but I am having trouble writing the following ...
1
vote
0answers
67 views

inputenc errors caused by different LaTeX environments?

On my iMac, \usepackage[utf8]{inputenc} get's me Package inputenc Error: Keyboard character used is undefined. I don't get this error on my MacBook. Conversely, \usepackage[latin1]{inputenc} ...
27
votes
4answers
1k 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 ...
3
votes
1answer
78 views

How to get these symbols in LaTeX? [duplicate]

In my book I found a few of weird symbols: They are used as mark of ellipse, parabola and hyperbola, respectively (E-like, P-like and H-like letters in these images). How to get them in LaTeX ...
0
votes
1answer
52 views

writing “_” like a character

I would like to write \texttt{set_x} where "_" is an character and not a "math instruction". But Latex recognise it like a math instruction and ask for the missing $$...How can I do?
2
votes
1answer
44 views

Substitute characters in text-mode with their math equivalent

I'm looking for a TeXway to substitute - (or other characters) while in text-mode with their math equivalent (i.e. $-$) in one environment/group. I'm looking for a 'switch' (\foo # and not \foo{#}). ...
1
vote
0answers
140 views

Making the Swedish characters å, ä and ö appear [closed]

I need to use the following preamble but can not make the Swedish letters å, ä and ö appear. The part in Swedish is in the separate file called intro_summary.tex. I'm using TeXShop as my editor. I ...
3
votes
1answer
137 views

Auto convert LaTeX escape codes to UTF-8 characters?

How do I—e.g., with AucTeX—automatically convert escaped characters like \~n to ñ for use with \usepackage[utf8]{inputenc}? I could do something like this: sed \ -e "s/\\'a/á/" \ -e ...
0
votes
1answer
160 views

How to get a circle over A

As given on this website, the command \AA is what I am looking for. However it simply produces rA instead of putting a circle over the top vertex of A. How do I fix this? I am trying to get someone's ...
6
votes
1answer
249 views

PNAS style and non-latin characters in author's name

I am using style PNAStwo (for a submission to PNAS). However, its fonts for authors, affiliations and abstract seem do not contain non-latin characters like ł (\l) or ø (\o), and produce some random ...
7
votes
5answers
5k views

Script-r Symbol

The near-ubiquitous undergraduate reference on electrodynamics, "Introduction to Electrodynamics" by David Griffiths make extensive use of a script-r symbol, defined to be \vector{\scriptr} \equiv ...
2
votes
0answers
45 views

how to generate a PDF with real UTF characters [duplicate]

I'm using these settings: \epstopdfsetup{outdir=./} \usepackage[italian]{babel} \usepackage[T1]{fontenc} \selectlanguage{italian} \usepackage[utf8]{inputenc} \usepackage{hyperref} in order to write ...
41
votes
4answers
44k views

How to type special/accented letters in LaTeX?

How to type these special letters from European languages in latex? ä, é, and L'?
61
votes
2answers
65k 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
1answer
62 views

Character table on style files

What is the reason to insert the code below at the beginning of a style file? For example, the code below can be found on lipsum.sty. %% \CharacterTable %% {Upper-case ...
1
vote
0answers
52 views

How to beautify '+' sign [duplicate]

I am writing a document with LaTeX covering the basics of programming with C++ and unfortunately the '+' signs look kind of ugly to me: They seem to be too big, too thin (regarding the rest of the ...
14
votes
3answers
371 views

two t characters next to each other form one tt glyph

I am using xelatex and linux libertine font. When I write in my text something that contains two t characters next to each other, such as "rotten", it changes these two ts into one tt character. It ...
3
votes
0answers
148 views

Replacing a glyph in one font with a glyph from another

I am a newbie with LaTeX when it comes to fonts. I would like to replace the double story "a" in Latin Modern for a single story "a" version (and similarly for the "g"). I just prefer my typeset ...
5
votes
1answer
122 views

Strange behaviour with \detokenize and underscore

I just learned about \detokenize, so this question is likely a naive one. Nonetheless, based on what I thought that I understood about \detokenize, I would have expected \detokenize{_} to render as ...
21
votes
3answers
36k 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: ...
7
votes
1answer
137 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 ...
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 ...
6
votes
1answer
162 views

Can I prevent a package from redefining a command?

I like to use runes and letters from other non-standard alphabets as mathematical symbols. However, now the allrunes package is interfering with my other mathematical typesetting. Take this minimal ...
0
votes
0answers
187 views

How to replace (unicode) characters by ü,ğ,ş etc.?

\documentclass[11pt,a4paper]{article} \usepackage[utf8x]{inputenc} \usepackage{ucs} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage[T1]{fontenc} ...
9
votes
1answer
128 views

Inventing New Character for TeX

how can I invent a new symbol/character for TeX. For example, say I want to type the Tengwar letter ungwe (2 IV: http://en.wikipedia.org/wiki/File:Tengwar_alphabet.png), or any other symbol that I ...
2
votes
1answer
223 views

`Don't talk to me': - How to render apostrophe within single quotation?

I have issues rendering with LaTeX `Don't talk to me': I have this title as bibliographic entry in Zotero (it starts exactly like that). LaTeX & Biber complain when I try to parse the .bib file ...
4
votes
1answer
137 views

The simplest way to input π in text mode (textual)?

What is the simplest way to input π in text mode if there is only this one greek letter in the whole English text? May be there is one line of code can make it. The following excellent example is ...