{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

1
vote
1answer
25 views

Underscore in fbox [duplicate]

How can I write the character _ in an \fbox? \fbox{PART one_Part two} Doesn't work.
3
votes
2answers
53 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
44 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
237 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 ...
37
votes
6answers
90k 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: ...
14
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
26 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
83 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
62 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 ...
6
votes
1answer
10k 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
99 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
199 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
91 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
271 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
220 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
61 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
49 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 ...
42
votes
3answers
64k 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
27 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
53 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
107 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
64 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
121 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
168 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
87 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
123 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
157 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 ...
14
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
193 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
53 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 ...
99
votes
2answers
134k 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
91 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
37 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
88 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. ...
2
votes
1answer
133 views

Problem with umlaut in Texworks

I can't seem to input the syntax for an umlaut. Here is what I write \documentclass[12pt]{article} \setlength\parindent{0pt} \usepackage{amsmath} \numberwithin{equation}{section} ...
1
vote
1answer
53 views

A command for making a string of characters [duplicate]

How can I make a command (or is there an existing one?) which takes two arguments: 1) character type 2) N (count) and puts N number of characters side by side? \newcommand{\foo}[2] { % sample: ...
4
votes
1answer
136 views

How to never accidentally write sth. which is really, unintended, a special sequence such as `` or ?`

In LaTeX documentation I read that only : # $ % & ~ # _ ^ \ { } are special characters. From that I deduce that all other characters from the input character set are taken literally, i.e. appear ...
4
votes
2answers
84 views

How/Where to find such special symbol/character?

I am developing a mobile app. In this app, I need some special characters and symbols, e.g. θ, ʒ, ʃ, dʒ, t͡ʃ I have found all I need except one symbol. How can I write (or where can I find) a letter ...
1
vote
1answer
23 views

How to use RefTex search when search item contains special characters?

After hitting C-[ for entering a citation with RefTex, I want to search for an author that has an umlaut (\"u or ü) in the name. Let's say the guy's name is Müller. I tried Muller Müller M\"uller ...
14
votes
2answers
503 views

Why using character ^^ff before every chapter in the TeXBook source

When viewing the source code of the TeXBook, I find that there is a character ^^ff before every chapter in it. I am wondering why using this ^^ff character which seems useless? The following ...
0
votes
0answers
19 views

Adding contour to the characters [duplicate]

I was wondering whether it is possible to highlight the contour of the characters with tex like in the following picture: Or like in Allen Hatcher's 'Algebraic Topology': ...
1
vote
0answers
28 views

Beamer with Turkish characters [closed]

The code below is to create a Beamer file including Turkish letters, but the Turkish characters do not appear. Any help would be greatly appreciated. \documentclass{beamer} ...
0
votes
1answer
245 views

Circumflex in a pdf bookmark using \texorpdfstring

In this MWE, how could you add a circumflex inside pdfstring argument of the \texorpdfstring command so it can be displayed in the pdf bookmarks? MWE: \documentclass{article} \usepackage{amsfonts} ...
10
votes
4answers
6k 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. ...
3
votes
1answer
33 views

Using reserved characters as argument to custom macro

How can I get this work: \namedinclude{perceptron\_multilayer.h}{Multi-layer perceptron class definition} where namedinclude is defined as ...
20
votes
3answers
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, ...
0
votes
1answer
36 views

What is character in all table cells except bottom right cell?

And how do I get rid of them? \documentclass[letterpaper,10pt]{memoir} \usepackage{tabularx} \usepackage{caption} \begin{document} \begin{table}[ht] \centering \captionsetup{font={tt,Large}} ...
33
votes
3answers
3k views

What's a good typewriter template?

I'm searching for a template which makes a document look like it's written with a real typewriter. Ideally, this means it's not only in mono-spaced font, but the hyphenation is adjusted accordingly. ...