{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
2answers
605 views

write macro parameter character to file (#)

During pdfLaTeX processing, I'm writing a string of key-value pairs to an external file. Sometimes the value will contain \# and I want only the # to be written to the file. Here is my code which ...
5
votes
2answers
660 views

babel \L command reverses letters, inserts Ł symbol

It's time for Eyal's babel+Hebrew (or right-to-left) incompatibility of the week; and this time, it's hyperref again. If you have: \documentclass{article} \usepackage[hebrew,english]{babel} ...
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 ...
3
votes
1answer
194 views

checking for whitespace inside verbatim environment

I would like to determine whether a line inside a verbatim environment starts with 3 spaces. I'm using pdflatex and the \pdfmatch primitive. I see that the verbatim environment sets the category ...
31
votes
3answers
42k 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. ...
5
votes
4answers
214 views

Symbols to avoid while creating new commands

I experienced some problems when creating \newcommand that have some numbers in their names; I can't find docs about that, about the accepted charset for the commands in LaTeX.
6
votes
1answer
395 views

National characters in URLs not working with hyperref [duplicate]

Possible Duplicate: Hyperref: Scandinavian characters (æø) don't work in \url, hyperlink is wrong Consider the following example: \documentclass[a4paper]{article} ...
5
votes
1answer
3k views

Yield symbol (chemistry)

I'm trying to format a chemical reaction with LaTeX, and apparently it doesn't accept "→" as a character. Is there any way to do it?
3
votes
2answers
2k views

How can I overscore a character?

I am using Anki to create flash cards for Boolean identities. I prefer to use an overscore as opposed to a prime for negated variables. Can this be accomplished with LaTeX? EDIT: The header and ...
3
votes
2answers
300 views

Umlauts in label

I'm using LuaLaTeX and wonder why I cannot label theorems with words containing umlauts. For example: \documentclass[a4paper,12pt]{article} \usepackage{luatextra} \usepackage[utf8]{luainputenc} ...
9
votes
2answers
1k 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} ...
3
votes
2answers
647 views

How to make overlaid text?

Is there a nice way to overlay text in the space of one character? So if text is overlaid as I described it would almost result in a black square.
11
votes
2answers
2k 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 ...
9
votes
1answer
450 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 ...
2
votes
1answer
1k views

How to write directly French characters in Emacs and print them in LaTeX?

I am editing LaTeX with Emacs. I would like to write in French. At the moment I have to write special French characters for instance like this: \'e prints é. If I write directly é in Emacs, the ...
22
votes
1answer
18k 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 ...
0
votes
1answer
344 views

Random character varients being used with fontspec

I'm trying to get the hang of xelatex and fontspec and I'm a little confused about how character variants are selected. I'm using the font Bickham Script Pro. Confusion (1) Some words are ...
2
votes
1answer
444 views

Problems with character display in LyX

When I type some Romanian characters (ș and ț, to be more specific) in LibreOffice and in LyX, they are not displayed. I just see blank spaces, nothing shows up. However, the same characters are ...
14
votes
3answers
2k 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 ...
1
vote
1answer
1k views

Is there a nice way to make a strikethrough for the square subset character in LaTeX?

I am working on some math that uses the square subset notation. I need a good way to strikethrough the character in LaTeX. I have tried using the package "cancel" but the strikethrough it produces ...
2
votes
3answers
2k views

How to convert characters to LaTeX code?

How to convert characters of type á ê õ ção to \'a \^e \~o \c{c} \~a automatically?
9
votes
3answers
1k views

What symbol can be used in front of a URL ?

When you typeset an email address, you can put a "@" or a letter symbol in front of it. In the same fashion, what symbol can be used in front of a URL?
11
votes
2answers
3k 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 ...
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 ...
3
votes
2answers
1k views

How to change / to be horizontal?

I like to change a/b to be a - b how to do that?
5
votes
1answer
370 views

biblatex: What's the first character of a field?

I would like to know, what's the first character of the value of the editor field. If the character is a curly bracket "{" the value should be printed for example bold, if the first character is ...
3
votes
3answers
2k views

Typesetting the Identity Operator for txfonts

I use the txfonts package in my document for fonts. However, I am at a loss as to how to produce the identity operator, which looks like a blackboard bold 1. Now, \documentclass{article} ...
3
votes
0answers
674 views

Is there an Unicode code point for umlauts marked with a small e instead of a diaresis? [closed]

The original way to denote an umlaut in German was to write a small e on top of the umlauted letter, like in the second row of the image below. Is this form of the umlaut availabe via Unicode? In ...
30
votes
2answers
803 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?
4
votes
2answers
573 views

IPA characters in plain TeX

Is there a way to type IPA characters in TeX? There is the tipa package for LaTeX, but what about plain TeX? I don't have any experience with installing fonts in TeX and can't find any good resource ...
7
votes
2answers
3k views

Use $ in lstlisting

I need to create some jQuery-Listings but when I try to do so \documentclass[12pt,oneside,a4paper]{scrartcl} \usepackage{textcomp} \usepackage{listings} \usepackage{color} ...
4
votes
2answers
586 views

Include binary data

How do I include binary data (e.g. the contents of a binary file) in a LaTeX generated PDF-document? If I just copy and paste them into a verbatim environment it results in garbage.
14
votes
3answers
3k 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 ...
5
votes
2answers
200 views

Charclass/Interchartokes for Umlauts and „“

How can I define a charclass for umlauts, german quotes „“ (and other special characters which are not A–Z/a–z)? I’d like to use this for extra kerning in some cases. \documentclass{minimal} ...
6
votes
1answer
8k views

Problem with special characters in listings

I'm having problems with my TeX document. I'm trying to import my java file in listings to get syntax colouring and stuff. My java files contains comments in Danish, which means they contain special ...
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. ...
10
votes
1answer
542 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 ...
1
vote
1answer
312 views

trackchange and citations

Trackchange for latex on sourceforge seems to have a problem with citations. \change{text 1 \cite{Fels\_81}pad1}{text2 \cite{Fels\_81} pad2} creates a problem due to the brackets encountered. Is ...
6
votes
1answer
497 views

How to raise a character in the whole document?

In my document (due to combind both Chinese and English), all (, ), [, ], etc., are all too low. Is it posibble to raise all (, ), [, ], or any characters user defines to desire height? (for ex. If I ...
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 ...
5
votes
1answer
179 views

Slashed characters in ConTeXt?

In LaTeX there is a slashed package which will put a nicely centered slash through an arbitrary symbol - the \not command provides an off-center slash on most symbols. How can I do this in ConTeXt? ...
8
votes
1answer
1k 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} ...
6
votes
4answers
7k views

Missing $ inserted

I am new to latex. I am trying to compile someone else's document. I have all the correct packages installed, but I get the following error: *Overfull \hbox <37.8394pt too wide> in paragraph ...
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 ...
9
votes
2answers
3k views

German Umlauts in BibTeX

I have the following BibTeX source @INPROCEEDINGS{Lincke2008, author = {Rüdiger Lincke and Jonas Lundberg and Welf Löwe}, title = {Comparing software metrics tools.}, booktitle = {ISSTA}, ...
4
votes
2answers
675 views

Compare a character to a character code?

How can one compare a character (e.g. "U") with a character code in a certain font (e.g. "\char85"). I'd expect the following to work: \documentclass{article} \usepackage{ifthen} \begin{document} ...
11
votes
2answers
377 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 ...
1
vote
2answers
3k views

Label referring problem

I'm new here and new user of LaTeX I'm trying to write my PhD, intermediate reports with it and I am facing some problems. I tried to look on the internet for 2 weeks, but found no answer to my ...
3
votes
1answer
414 views

Make emacs speller work with accented/modified letters

In continuation to this question I was wondering, now that my document is full of \' and other accents, the emacs speller balks on all the words... Is there a way to get a spell-checker to understand ...
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'?