{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
38 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 ...
0
votes
0answers
39 views

Text line contains an invalid character [closed]

Please help me. I have big problem. That is my error in latex. please tell me my mistake. How to find my mistake
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 ...
0
votes
1answer
53 views

Error: ! Text line contains an invalid character

\documentclass[11pt]{article} \usepackage{fullpage} \usepackage{amsfonts} \usepackage{graphicx} \begin{document} \title{Space Vector PWM Inverter} \maketitle \subsection{Principle of Pulse Width ...
0
votes
1answer
42 views

Cannot typeset upper case C with caron (Č) with XCharter package

I cannot typeset Č with XCharter loaded (with pdflatex). How can I work around this limitation? The mwe: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{XCharter} ...
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 ...
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 ...
5
votes
3answers
297 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
91 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} ...
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
112 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 ...
3
votes
4answers
112 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
217 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 ...
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 ...
5
votes
1answer
115 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 ...
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
66 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
78 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
312 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 ...
4
votes
1answer
175 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 ...
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
97 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. ...
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 ...
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 ...
2
votes
0answers
105 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
118 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
61 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 ...
2
votes
1answer
236 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
54 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
138 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
93 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
24 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
525 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
31 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
340 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} ...
6
votes
1answer
143 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 ...
3
votes
1answer
38 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 ...
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, ...
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}} ...
0
votes
1answer
63 views

Listings Character problem

Hi I want to define a string in Listings but I can not do it in Turkish. I want to write: int[] sayılar= new int[5];' but the output is int[] saylar= new int[5]; How can I write Ç,ç,ı,ö,ü,ğ?
1
vote
1answer
106 views

weird characters coming in some columns

I am using miktex in win 7 my MWE is \documentclass[12pt,a4paper,fleqn]{book} % \usepackage{subfiles} \usepackage{thesis_style} \title{hfvj} \author{fgikf} \date{} \begin{document} ...