1
vote
2answers
54 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 ...
3
votes
1answer
58 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, ...
3
votes
1answer
86 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 ...
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 ...
6
votes
1answer
172 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 ...
9
votes
1answer
135 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 ...
4
votes
1answer
147 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 ...
14
votes
1answer
328 views

How to typeset creative commons analogous character of ©?

I'm aware how to use creative commons logo. But I'm searching for a character that I can insert in a caption to notice that the image (in my case) is under creative commons and not under ©, so it ...
0
votes
0answers
291 views

How to write “@(x)x.^2” in latex? [duplicate]

I tried \texttt{@(x)x.^2} or directly @(x)x.^2 but texmaker gives Missing $ inserted. I gues it is because x.^2 which is assumed to be math syntax. Can you help?
3
votes
2answers
388 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 ...
6
votes
2answers
608 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 ...
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 ...
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 └─┬ ...
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 ...
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 ...
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 ...
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 ...
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? ...
2
votes
1answer
330 views

Special characters

I'm using XeLaTeX to compile my document. If I write in my document --- I don't get —, but --- in my PDF document. Same for – (--) character. I'm sure that font which I'm using have this character ...
14
votes
2answers
857 views

How to fix missing or incorrect mappings from glyphtounicode.tex

glyphtounicode.tex has been described as the best solution for generating copy-and-pasteable symbols. However, I find that various symbols that I need to use do not paste as the appropriate Unicode ...
4
votes
1answer
622 views

Using another font for a glyph that is not available in the current font

I want to declare more than one font so XeTeX can use other fonts when first font did not have a specific glyph. How can I do that? In windows when the current font does not have a glyph, other font ...
13
votes
2answers
3k views

Is there a ditto symbol?

I believe that a symbol -||- is commonly used to indicate repetition of a fragment of text. The problem is that typesetting it using dashes and pipes looks kind of ugly. Is there a predefined symbol ...
3
votes
2answers
169 views

list of supported chars for current LaTeX configuration

I am calling pdfLaTeX with text entered in a web form. I would like to replace important chars not supported by LaTeX with the right LaTeX command. How can I get a list of chars supported by LaTeX so ...
2
votes
1answer
162 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 ...
35
votes
3answers
46k 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
216 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.
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 ...
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 ...
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} ...
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. ...
6
votes
4answers
8k 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 ...
41
votes
4answers
50k views

How to type special/accented letters in LaTeX?

How to type these special letters from European languages in latex? ä, é, and L'?