{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
132 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
1answer
77 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
54 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 ...
8
votes
5answers
383 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 ...
15
votes
3answers
437 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
190 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 ...
6
votes
1answer
186 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 ...
5
votes
1answer
141 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 ...
0
votes
0answers
286 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
144 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
156 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 ...
9
votes
1answer
76 views

How can I execute some code at each occurence of an EOL character in a listing?

My question is very similar to Peter Grill's, How to detect a tab character when processing a literate in lstlistings? I'm trying to count the number of ^^M characters encountered in my listing ...
4
votes
1answer
323 views

inputenc[utf8] error with input-function of external tex files

I got a problem with inputenc[utf8]. My document is in German and uses 'ä, ö, ü' which usually works fine with the following preamble: \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
6
votes
0answers
116 views

Special characters in graphics filenames [duplicate]

This is my third question in the series of transforming some (~167) documents from HTML to LaTeX. The other questions were related to {inputenc} and {wrapfig}. The original document have several ...
6
votes
2answers
111 views

catoptions destroys french active characters ! and :

A user of my menukeys package reported, that there’s an issue with the activ characters in french, i.e. !, ;, ? and :. I found out that it’s not a bug in menukeys but catoptions seems to interferre ...
6
votes
2answers
325 views

Use detokenize with command line input that has underscores

I'm calling a script where I give a command line input to LaTeX: pdflatex "\def\myvar{given_test} \input{figures.tex}" And then in the script, I try to use this "given_test" input and print it: ...
8
votes
1answer
129 views

Measuring the true height of a character

Suppose you have got a character that sits above the reference point. When you measure its height, the empty space above reference point gets also included in its height measurement but that is not ...
7
votes
1answer
2k views

Error: Command \" invalid in math mode on input line x

I'm receiving the following error Command \" invalid in math mode on input line 60. where my input lines 58-61 are \begin{equation} \label{1} \Delta x=x_{efter}-x_{före} \end{equation} The ...
8
votes
2answers
151 views

If \@percentchar represents %, is there a macro for #?

If \@percentchar represents %, is there a macro for #? I have tried \@sharpchar and \@numberchar but both do not exist. Do you have any idea what is the correct macro name for #?
14
votes
1answer
344 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 ...
1
vote
0answers
409 views

MikTex doesn't accept “ù” character [closed]

I'm using MikTex and pdfLatex. In the preamble I'm using \usepackage[latin1]{inputenc} because I'm writing in italian, and the text is coded in UTF-8. This works nicely for every type of ...
9
votes
2answers
394 views

Align position of decimal point within table of numbers, text and percentage values

I have asked sthg similar with a MWE today answered by David C., but this is a more difficult follow-up question. Also I have just made a new account :) The Question is simple: I want the numbers to ...
2
votes
2answers
692 views

Align position of decimal point within tabularx

I have made a table with 5 columns, of which I'd like the last 4 to be of the same width. Therefore I was told I should use tabluarx. Using this package my output looks fine, but I have also numbers ...
35
votes
6answers
2k views

Why is % the comment character?

I was reading a book about TeX macros and related features and I came across this rather trivial question... Can anyone explain to me why % is the comment character in LaTeX? Why this one and not ...
1
vote
1answer
505 views

Error message with the package inputenc [duplicate]

I'm trying to do a presentation in spanish using beamer and so far my source looks like this: \documentclass{beamer} \usetheme{AnnArbor} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
1answer
131 views

Macro to get character width in ConTeXt

Background Looking to adjust the location of the first letter in a word based on its width. Problem The calculation resembles: \define[1]\StyleChapterChar{% \cldcontext{string.sub("#1",1,1)}% } ...
6
votes
1answer
328 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 ...
16
votes
3answers
345 views

How to draw a picture by using tikz as backgroud of a character?

I am writing some Chinese character and hope to draw simple pictures by tikz and use it as background of this chinese characters. In a short I'd like to get some results as this picture (ignore the ...
4
votes
1answer
276 views

Problem using the German letter “eszett” ß in theorem environment

I have the following problem(s) using some special German letters: I would like to keep the two lines \usepackage[latin1]{inputenc} \usepackage[ngerman]{babel} Unfortunately, the symbol ß is not ...
8
votes
4answers
2k 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 ...
20
votes
2answers
480 views

Automatically getting “V” as the capital letter for “u” when typesetting latin

I'm typesetting a large amount of Latin texts using XeLaTeX and the package polyglossia. I'd like to get the small letter "u" automatically printed as "V" when turned into a capital letter (including ...
2
votes
1answer
276 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 ...
7
votes
1answer
152 views

Decrease length of underscore character in normal text (gender_gap)

I use the underscore character _ in normal text mode (not typewriter). However, it is quite long. How can I decrease its length so that it is shorter? I followed the Tex FAQ on how to typeset an ...
7
votes
2answers
723 views

How to input characters into XeLaTeX

How do I input the non-keyboard characters into TeXShop? My minimum working example: \documentclass{book} % Font Settings \usepackage{fontspec} \newfontfamily\myfont{C64 Pro Mono} \begin{document} ...
4
votes
0answers
1k views

Unicode char \u8:â not set up for use with LaTeX [closed]

Somewhere in my Bib file this character is used. I havo no clue what character this is and cannot find the corresponding 'real' one. My typestting aborts on this character. I do use ...
2
votes
1answer
426 views

Does a Japanese (La)TeX user really type commands start with the yen symbol(¥) as escape character instead of \?

Recently, I've found that the Japanese use JIS X 0201 encoding as an alternative to ASCII. One of the biggest difference between them is the JIS X 0201 replace the backslash(\) with Japanese yen ...
2
votes
1answer
365 views

How to type the letter “i” with two dots (diaeresis) in math mode? [duplicate]

I would like to type the letter "i" in math mode, but with two (horizontally aligned) dots rather than with just one. I know there is \ddot{i}, but that puts the two dots on top of the existing one, ...
2
votes
1answer
332 views

xtable function generated latex does not get parsed for special char such as square brackets

I'm using the knitr package for putting my R output into PDF. I have two problems using xtable: When my table data has chars like this: [, ] in them, the conversion from .tex to .pdf fails with ...
10
votes
2answers
168 views

How to have exactly “>>>” in a report

In my latex article, I do have to use the 3 following chars >>> . However after compiling my latex code, the displayed content is far from being >>>, but gives two chars instead : »> . How can I ...
0
votes
0answers
348 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?
5
votes
1answer
1k views

Inputting backtick (`) in LaTeX (italian keyboard, Windows XP)

I started writing my thesis in LaTeX, and I noticed there's the need of the backtick (`) char in many cases. I'm working on a Windows XP-mounting laptop whose keyboard is italian, and numpad-less. ...
4
votes
1answer
179 views

How can I use unusual non-English characters individually?

I would like to user very unusual characters and after some research I still have no idea how it is done. I want, for example the write the word Shīʿah, as in Shīʿah Islam in my dissertation (Note ...
5
votes
1answer
274 views

Can't Use 'ŋ' In My LaTeX Document

I am creating a textbook for a constructed language of mine. It's alphabet contains the letter 'ŋ', which LaTeX does not seem to like. For example: \ae{}r\ng{} & past participle & He had ...
3
votes
2answers
179 views

Checking in LaTeX for a specific character?

I have a LaTeX problem that I cannot solve by myself. I have a repeating arrangement of characters which I want to format automatically in LaTeX. 1H-NMR (400 MHz; DMSO-d6): \textdelta 12.41 (s, ...
5
votes
2answers
2k views

Babel - Romanian ' or \c

I want to use some shortcuts to produce special character in Romanian. One of them is to use the command \c but also I know that is possible to use the following character: ' . example \c si or 'si ...
8
votes
1answer
176 views

Simple transliteration in LaTeX (for Latin)

I would like to typeset the same latin text in two or more "spellings". My source is a modernized spelling (distinguishing i/j, u/v) and I would like to display it both with and without this ...
4
votes
2answers
228 views

Spell checking considering latex umlauts in .tex files

To make it short. My problem is this: content of .tex file Priorit"at is a german noun and means priority. compare: \"a or {\"a} it results in Priorität is a german noun and means priority. My ...
3
votes
2answers
658 views

How can I make the crossed-“O” ($\oslash$) bold?

I'd like to bolden the crossed-o but \textbf{$\oslash$} does nothing!
2
votes
1answer
433 views

Why doesn't \usepackage{times} work with cyrillic characters?

I need to add some text to my LaTeX document, I need to use Times New Roman font, and that text contains cyrillic characters. I tried using times package: \usepackage{times} but that simply omits ...
11
votes
1answer
453 views

Using both a double-story and single-story g in math mode

I am writing some mathematics in which I want to use both typographic variants of the lowercase 'g' in math mode. See the Wikipedia page to see the two variants. There is a single-story and a ...