{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

3
votes
0answers
184 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
183 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
138 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
256 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
140 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
154 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
303 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
109 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
308 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
121 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
1k 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
338 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
394 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
362 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
580 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
410 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
310 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
342 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
268 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
472 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
272 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
145 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
690 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
998 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
407 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
350 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
321 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
335 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
175 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
265 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
173 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
175 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
223 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
583 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
418 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
435 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 ...
3
votes
1answer
158 views

homemade glyph in lualatex

Is possible to join/glue 2 or more glyph and change orginal font? For example I need 'a'='a' and 'dot' above or under or k=f+k but f is small and up than small k. And change orginal a and k? here ...
1
vote
1answer
601 views

Using geman ö and ß in Bibtex [closed]

in my Bibtex file i name the Author: author={R{\"o}{\ss}ler, Irene and Ungerer, Albrecht}, but in the literature list it strangely outputs this: [Rößler und Ungerer 2012] RÖSSLER, Irene; UNGERER, ...
1
vote
0answers
50 views

Smallcaps “Đ” (đ) corrupted [duplicate]

The title says it all. How do I fix it? he letter works fine when "normal" (including bold, italic, bold-italic). I use these: \usepackage[utf8]{inputenc} \usepackage{currvita} ...
9
votes
1answer
793 views

Middle English Yogh character

I was wondering if anyone knows of a package which supports the Middle English character yogh - that's Ȝ (U+021C) ȝ (U+021D). In TIPA, there is the character ezh - that's Ʒ (U+01B7) ʒ (U+0292). Ezh is ...
0
votes
1answer
162 views

libertineGlyph and pdflatex [duplicate]

This is a follow-up question to How to get Wikipedia W from Linux Libertine? How can \libertineGlyph{W.alt} set with pdflatex? This MWE works fine \documentclass{article} \usepackage[T1]{fontenc} ...