{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

0
votes
1answer
57 views

Error: ! Text line contains an invalid character [on hold]

\documentclass[11pt]{article} \usepackage{fullpage} \usepackage{amsfonts} \usepackage{graphicx} \begin{document} \title{Space Vector PWM Inverter} \maketitle \subsection{Principle of Pulse Width ...
6
votes
2answers
480 views

What is the role of an unescaped circumflex or hat character “ ^ ”?

Is there any use for the unescaped ^ in (La)TeX, when not in math mode? If not, I couldn't see why it's necessary to escape it.
0
votes
1answer
50 views

Cannot typeset upper case C with caron (Č) with XCharter package [on hold]

I cannot typeset Č with XCharter loaded (with pdflatex). How can I work around this limitation? The mwe: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{XCharter} ...
1
vote
1answer
40 views

double quote charater (’"’) with listings create problem

I have don't know how to fix the double quote character (’"’) with the listing package. Listing get this as the beginning of a string but it is not. Here is the colored minimal example to show the ...
33
votes
3answers
1k views

Display historical characters “uͤ”, “oͤ” and “aͤ”?

I'm trying to display the above mentioned symbols. These are German historical letters which I need to mention in my thesis. I just found how to display letters with an "o" above them, but nothing ...
9
votes
4answers
2k views

Set size of \colorbox for a single character

my question is simple (or not) I want to set the size of the \colorbox command or \fcolorbox command for a single character. The problem is the next: As seen in the image, the height and width are ...
39
votes
6answers
106k views

Underscores in words (text)

How can I produce the text Word_one_two in LaTeX? I tried: Samp\_Dist\_Corr But, it doesn't quite look right. Also, I want it in the typewriter font, so actually, I'm doing: ...
0
votes
0answers
469 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} ...
3
votes
1answer
50 views

Typing the symbol “&” in place of “and”

While writing the reference in .bib file, I want to mention the address of publication of the book which contains "&" symbol. While executing the main.tex file I am getting error as "! Misplaced ...
4
votes
1answer
47 views

I-macron without space [duplicate]

I want to write the name Ibn-Sīnā with macrons over the i and the a. I found out that can I add macrons using \=a and that I need \=i\ to avoid the dot over the i. When I write Ibn-S\=i\n\=a I get ...
4
votes
2answers
248 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, ...
50
votes
4answers
85k views

How to type special/accented letters in LaTeX?

How to type these special letters from European languages in latex? ä, é, and L'?
22
votes
4answers
2k views

How to Produce the Anarchy Symbol

I was wondering if it's possible to produce the anarchy symbol (the circled 'A') in LaTeX. I tried googling "latex anarchist" and got nothing but merchandise and porn, and while I'm not complaining, ...
5
votes
3answers
298 views

A custom “letter” in text mode

I am trying to typeset a letter x (in both lower- and uppercase) that has a small circle overlaid exactly onto the (perceived) middle of the character. My current best effort is x\llap{$\circ$}, but ...
7
votes
1answer
41 views

How to use active character properly?

Suppose I use ' as active character to insert another symbol: {\tt A'C B} \def\adef#1{\catcode`#1=13 \begingroup \lccode`\~=`#1\lowercase{\endgroup\def~}} ...
1
vote
1answer
30 views

Underscore in fbox [duplicate]

How can I write the character _ in an \fbox? \fbox{PART one_Part two} Doesn't work.
4
votes
2answers
95 views

Setting a fallback font for non-Arabic charset not supported by a certain Arabic font

the desired Arabic font is Droid Arabic Naskh source here. Problem is that when I compile the document using xetex I get funny boxes instead of non-Arabic charset as in the MWE below: MWE ...
2
votes
1answer
56 views

How to make listings package break TeX code only after control sequences?

Package listings always likes to break TeX code after backslashes. How to make it always break before backslashes? \documentclass{article} \usepackage{listings} \begin{document} ...
4
votes
1answer
315 views

Typesetting phonetic symbols: Unicode or tipa?

On TeX.SX there are a lot of questions of the form "How do I typeset [some phonetic symbol]?" For example: Typesetting modifier letter U+02ED The near-close, near-front unrounded vowel symbol The ...
15
votes
2answers
2k views

How to use phonetic IPA characters in LaTeX

I wish to write a paper about linguistics, so I thought about trying LaTeX. Sadly I couldn't figure out how to write the unique characters I need for my work, for example epsilon with a little tilde ...
0
votes
0answers
55 views

Inputenc error: unicode char u8 - texstudio

I started write some TeX document, but I have problem with special characters (polish characters like (ś, ć, ę etc.). It's my error message package inputenc error: unicode char u8: not set up ...
3
votes
1answer
113 views

verbatiminput formatting of gretl output, minus sign missing

I'm preparing econometrics tutorials and this year we changed the software (now using gretl). I want to include regression output from a text file. However, the \verbatiminput command does not ...
2
votes
1answer
69 views

Is this the best way to put unicode in a non-UTF-8 source?

I want to put the following phrase into a book. Khabarovsk (Russian: Хабаровск) is located 30 kilometers (19 mi) from the Chinese border. The source is NOT UTF-8 and I don't have the option to ...
7
votes
1answer
11k 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 ...
3
votes
4answers
113 views

Replacing # for use inside \label

we currently use unique IDs inside our documents that can be extended by adding one or more tags. A tag always starts with an hash character eg. MY.REQ.ID.42#TAG1#TAG2 The following code is part of a ...
5
votes
2answers
221 views

How would I mix German and Icelandic diacritic characters in a single English document?

I'm trying to use the letter-classic class of the following version: \ProvidesClass{letter-classic}[2003/03/04 v1.1] The goal is to mix UTF-8 characters from German and Icelandic in an English ...
5
votes
1answer
121 views

Not colored digits after characters in lstlisting code

I am writing a LaTeX document with Verilog code and I would like to have colored digits in these occasions: simple digits (for example # 30) bus (for example [3:0]) binary or hex representation ...
6
votes
2answers
291 views

How to color diacritical marks?

I would like to have the diacritical marks stand out visually by being colored differently. For example, can I have â in which the circumflex is in red, and the 'a' is in black? When I use ...
8
votes
2answers
250 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 ...
3
votes
1answer
67 views

Problem with underscore character

I'm writing my thesis in latex, and I've included some figures and some labels with character _ in the name. Now that i'm adding \listoffigures, i find some errors with missing $ inserted. How can I ...
2
votes
1answer
62 views

escape special characters in `\foreach` loop

Is there a way to escape underscores (or other special characters) in variable names in a \foreach loop when calling file names? E.g., \foreach \x in {file\_1, name\_2}{Here is \x.} gives correct ...
45
votes
3answers
70k 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. ...
0
votes
0answers
29 views

latex Maya numbers error [duplicate]

I found an error for the current Maya numbers generated by LaTeX: Here is the LaTeX code \documentclass{article} \usepackage{mathabx} \newcommand\mathbfont{\usefont{U}{mathb}{m}{n}} ...
2
votes
1answer
67 views

Strange characters appearing with alpha and beta [closed]

I used a python regex file to edit a section of LaTex that contained alpha and beta. Here it is: Jacobi & $\JacobiP{\alpha}{\beta}{n}@{x}$ \MarkDefn[P z 3 - ...
0
votes
0answers
22 views

Special chararacter writing [duplicate]

I need to write a special character similar as when you write "\aa", i.e., a with circle above, but I need the same for "u", i.e., u with a circle above, how to do it?
8
votes
1answer
121 views

Using a backslash and the following by it non-ASCII char

I'm writing a text with a special char of backslash (\), the text requires to containt the char and the following non-ASCII symbol (cyrillic), so for example I type: text \ц other text and I have ...
2
votes
1answer
79 views

Special character in \url

I am stuck with a problem of a url to some website I try to put a link to. The URL is: http://pl.wikipedia.org/wiki/Prawo_Lewisa-Mogridge’a and Latex have an issue with the ’ symbol. I put it the ...
4
votes
1answer
183 views

Using Swedish characters in Sublime Text 3/LaTeXTools/Skim workflow?

I’ve recently moved from TexShop to Sublime Text 3/LaTeXTools/Skim for my Latex work. Occasionally I typeset texts in Swedish including “å”, “ä”, “ö” etc characters. However, when I open such a ...
10
votes
3answers
177 views

Expandably change letter case and use inside \csname, without a package

I want to change the letter-case of a single character argument, and use that changed letter inside a \csname. And I want to do it without an additional package. For example, I want to pass a macro ...
4
votes
0answers
60 views

what does tilde `~` do specifically? [duplicate]

I was thinking about the reserved character in $\LaTeX$, but I don't know the real function of ~ neither I've use it before. Then, what is its real function in general. For math mode I found this ...
3
votes
0answers
98 views

prevent combining characters if single characters are available

I am working a lot with characters such as: ā ū ī š ṣ ḫ ḥ ǧ ġ ṯ ṭ ẓ ḍ ḏ. There are (at least) two ways to typeset such characters either as a single character or as a combined character. ...
6
votes
1answer
144 views

Problems with inserting urls including Turkish characters

I am trying to include this url link: http://wiki.ubuntu-tr.net/index.php?title=Linux_dağıtımları_kılavuzu into the bibliography of my LaTeX report. 'dağıtımları_kılavuzu' is causing a display ...
4
votes
2answers
167 views

Greek Characters in LaTeXML

I have been experimenting with producing small document snippets in LaTeXML - slowly building up to more complex documents, and one of the first stumbling points has been the inclusion of greek ...
15
votes
3answers
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 ...
4
votes
1answer
219 views

Use ONLY two Chinese characters

I want to add my Chinese name in my thesis. I follow the sample codes from here. \documentclass[english]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} ...
0
votes
1answer
59 views

German characters problem [duplicate]

My LaTeX document does not properly represent German character. In my opinion, I have my preamble set correctly. what needs to be set correctly, so that the characters such as Ä, ß, etc. are ...
110
votes
2answers
153k views

How to write “ä” and other umlauts and accented letters in bibliography?

How to write in bibliography (package natbib) letter "a" with two dots above? Specially, I mean the word Birkhäuser. Is there a general rule or way how to write such umlauts or other accented letters ...
2
votes
0answers
106 views

PGFPlotstable with data from csv file : character µ and _ in column header

I have searched for a long time on the internet (here and other LaTeX resources on the web) but I could not find the answer to my (simple) question: how could I draw a table with Pgfplots, with data ...
2
votes
1answer
44 views

Add Cyrillic character е in a latin character phrase

I aim to add the unicode character U+0435 in the middle of a sentence in latin characters multiple times. Any fast and light-code idea to do it? Thanks! Example: \begin{document} Adding the cyrillic ...
3
votes
1answer
120 views

Using \newcommand to display user input that may contain special characters that need to be escaped

I don't know much about LaTeX right now, but I need to be able to use it to generate dynamic PDF documents using C#. For the most part, everything is cool and works the way I want it to work. ...