{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

2
votes
1answer
163 views

What is the problem with characters < and > in PDF display? [duplicate]

Possible Duplicate: Include < and > symbol Why when I create pdf in texlive with pdflatex, the characters < and > are displayed as inverted ! and ?, respectively. However, when ...
19
votes
2answers
982 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. ...
2
votes
1answer
3k views

Method for LaTeX to ignore special characters in a phrase

Is there an easy way for Latex to ignore all special characters in a given phrase? For example, I had to copy several links which contained the symbol _ . I know that it is possible to put \ in front ...
2
votes
1answer
611 views

How to make a slanted vertical bar?

I'm stumped on this. I would like to make a slanted (and italic) vertical bar in the middle of some regular text. If I use $|$, it comes out literally vertical regardless of style, since it's a math ...
9
votes
2answers
478 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} ...
3
votes
2answers
192 views

How do I put the “$_” string in a \section?

How do I put the "$_" string in a \section? When I try \section{$\_} it gives me Missing $ inserted error. When I try \section{\$\_} it gives me Extra }, or forgotten $. error. When I try ...
5
votes
4answers
2k views

German character not rendered to pdf

I just started using LaTeX, and need to use the character "ü". I already have this in main file : %%% Sprach- und zeichensatzspezifische Pakete \usepackage[latin9]{inputenc} \usepackage[T1]{fontenc} ...
3
votes
3answers
776 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 ...
8
votes
2answers
302 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 ...
12
votes
2answers
2k 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 ...
4
votes
2answers
635 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
719 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
43k 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
198 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 ...
36
votes
3answers
48k 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
217 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
420 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
314 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
665 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.
12
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
475 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 ...
24
votes
1answer
21k 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
368 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
465 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
3k 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?
12
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
6k 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
371 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
3k 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
694 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
839 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
579 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
4k 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
629 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.
15
votes
3answers
4k 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
210 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
4answers
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
568 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
351 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
509 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 ...