{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.
Questions tagged [characters]
673 questions
169
votes
1 answer
Hash character in LaTeX
Possible Duplicate:
Escape character in LaTeX
How do you write the # character in LaTeX?
alamodey
38
votes
1 answer
How to type & in LaTeX?
Possible Duplicate:
Escape character in LaTeX
I'm trying to type the word & but I encounter with error :
misplaced alignment tab character &
And when I put it into verbatim it will show Q&A in a seperated line!
So how should I type & in LaTeX?
Prelude
- 4,242
25
votes
4 answers
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, I also wanted the anarchy symbol.
Addem
- 867
22
votes
2 answers
Handling of special LaTeX characters in text
I have a LaTeX file for a book chapter, which may need to be converted to Word at some point, because that is what the publishers use (sigh). This article doesn't have any math in it, but I'm still using LaTeX, because even when not writing…
Faheem Mitha
- 7,778
19
votes
4 answers
How can I have the three source-code symbols _ < > produce themselves (_ < >) in the typeset output by default?
I use LaTeX to take quick notes about my programming work. I have a couple of frustrations:
I need to use underscore a lot because of variables named with underscores. However, I have to escape each one of them "\_", thus making my notes less…
John Berryman
- 293
- 1
- 7
14
votes
3 answers
How to type the letter Ł
I am trying to type the word Łojasiewicz. What is the proper command to code the polish character Ł?
Thank you for your help.
clark
- 243
13
votes
2 answers
Typesetting latin small letter u with diaeresis and caron
I'm looking for ways to typeset an ǚ.
This character is necessary for typesetting pinyin (汉语拼音, the most common way of transcribing Mandarin Chinese), as it contains syllables such as lǚ (Chinese 铝/鋁; "aluminum").
I've tried…
Bakkot
- 233
11
votes
2 answers
Where's my backslash gone?
When I try to use one of the more "hacky" methods of getting a literal "special character" (such as backslash or a brace) then I get a different character: backslash seems to be an open quote, left brace a dash, and right brace a close quote. What…
Andrew Stacey
- 153,724
- 43
- 389
- 751
11
votes
1 answer
allowable filenames for source files
Which characters may appear in filenames that are included (\include)?
Are hyphens and underscores okay? Is there a dependence on the underlying filesystem or encoding of the LaTeX source that does the including? Are only ASCII characters allowed?
Lover of Structure
- 22,025
10
votes
4 answers
How to set UTF8 in a lstlisting? (Error received)
I need to copy and past some UTF8 code into a lstlisting, but unfortunately, I receive the following error :
! Package inputenc Error: Unicode char \u8:�\lst@FillFixed@\lst@EC� not set up
for use with LaTeX.
Keyboard character used is undefined
What…
user23710
- 1,491
9
votes
4 answers
Get the first and second character of a macro argument
I have a situation where I need the first and second character of a macro argument extracted separately. The input is always two characters long and is always non-special text. I am aware there are Lua or Latex3 or whatever else solutions, but if at…
junius
- 2,058
9
votes
3 answers
\char9 (supposedly a horizontal tab) displays as a Ψ (Greek psi)
The ASCII code point 9 encodes the horizontal tab. Then why does the compilation of the following manuscript
x\char9y\bye
with TeX Version 3.14159265 (TeX Live 2017) yield a dvi file whose body consists of the three letters
xΨy
(x, Greek Capital…
Evan Aad
- 11,066
8
votes
2 answers
TeX and ASCII table code
Is it possible a command like
\char{n}
where n is a number between 0 and 255? For example
\char{241}
returns ñ as output. I searched the web for something similar, even within this site, but I did not find anything
user3204810
- 1,415
8
votes
2 answers
Slovak ľ only once in the text
I need to use Slovak ľ once in text and I do not want to use [slovak]{babel}
Is there a command (like \soft{l}) which would produce it?
Anton Petrunin
- 757
6
votes
1 answer
A problem with umlauts
I'm using Ubuntu 12.04.1 LTS and I installed
sudo apt-get install texlive-full
and
sudo apt-get install texlive-lang-finnish
The problem is that the following document won't output letter…
Jaakko Seppälä
- 435