{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

36
votes
3answers
53k 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. ...
84
votes
2answers
98k 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
37 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
21 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 ...
0
votes
0answers
47 views

Ș and ș: the “character is uncodable in verbatim paragraphs” error

I am using LyX 2.1.2 and upon pressing ctrl+l to insert a new tex code and writing \title{Și e ușor} I got the error Character is uncodable in verbatim paragraphs referring to the two ...
3
votes
1answer
43 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. ...
0
votes
0answers
22 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
35 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
48 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
132 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
65 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
18 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
457 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
18 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
22 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
67 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
5k 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. ...
5
votes
0answers
81 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
24 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 ...
19
votes
3answers
1k 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, ...
27
votes
5answers
59k 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
1answer
34 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
2k 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. ...
6
votes
2answers
111 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 ...
0
votes
1answer
56 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
93 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} ...
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 ...
0
votes
0answers
37 views

Missing space after “ø” \o [duplicate]

I am writing a German text with some Scandinavian names which include characters like ø. In one case the ø is at the end of the word and the following whitespace is ignored. MWE: ...
1
vote
2answers
3k views

Label referring problem

I'm new here and new user of LaTeX I'm trying to write my PhD, intermediate reports with it and I am facing some problems. I tried to look on the internet for 2 weeks, but found no answer to my ...
3
votes
1answer
83 views

Redefining a command and special character

I am trying to redefine \v command (wedge above character) to do what \vec does in mathmode and preserve \v in a command called, say \hac. This code works perfect \documentclass{article} \let\hac\v% ...
33
votes
2answers
770 views

How to number the letters of a sentence?

I need to number the letters of a sentence consecutively. Every letter should have the corresponding small number centered below it (see image below). Does anybody know how to do this? I tried ...
4
votes
3answers
200 views

Cannot see special character

\documentclass[11pt,table,a5paper]{article} \usepackage[top=2cm, bottom=2cm, outer=2.1cm, inner=1cm,twoside, headsep=26pt]{geometry} \usepackage{collcell} \begin{document} 20 µg/mL ...
19
votes
1answer
417 views

Is there an `ex` unit equivalent for the capital 'X' in LaTeX

In LaTeX, the ex unit represents the height of a lowercase 'x' in the current font. Is there a length in LaTeX that represents the height of a capital 'X'?
1
vote
2answers
63 views

Padding underscore with right space

I am using the times package and when using an underscore _ before an italicized upper case character it overlaps. Is it possible to pad the underscore with a small amount of space to the right, or ...
8
votes
2answers
5k views

Capital Ø (Scandinavian letter) in Bibtex

I know that I can preserve capital letters in Bibtex with curly braces, and that I can type Scandinavian letters like æøå as \ae{} \o{} \aa{}. But what do I do to force the capital letters ÆØÅ? ...
3
votes
1answer
66 views

TeX commands and currency symbols

Why does the code \documentclass{memoir} \usepackage[latin1]{inputenc} \usepackage[danish]{babel} \usepackage[T1]{fontenc} \def£#1£{``#1''} \def€#1€{<#1>} \begin{document} Hi, £this£ is nice, ...
2
votes
1answer
130 views

Rescale a character to fill a complete A4 page

I am maybe looking for the wrong keywords. But I do not find any answer about how to scale a letter to fill the entire A4 page. My first intuitive step was to use the option scale of the package ...
8
votes
5answers
377 views

Multiple diacritics on one character

As linguistics student, I have to put more than one thing on a character every now and then. For example, I need to type ā̆. I thought I could simply do that by typing \={\u{a}}, but then the macron ...
3
votes
3answers
821 views

Producing “chandrabindu-halanth” symbol in devanagari

Can the above image be produced using the devanagari package. To produce it I used the skt package but I am curious to know if this image (that is the chandrabindu along with the halanth) can be ...
4
votes
3answers
560 views

combine \usepackage{times} and \fontspec \setmainfont

I'm having difficulty finding a Times-like font which has support for Americanist phonetic symbols, bold, italic, bold italic and small caps. Currently, I've got a setup using xelatex which gets me ...
7
votes
2answers
135 views

environment with local \newunicodechar{ä}{ae} or similar — is it possible?

I'm using xelatex with utf8-input. I'm trying to write a LaTeX environment inside of which every source code ä is printed as ae, every ö as oe etc. I found a number of ways that don't work, but so far ...
18
votes
4answers
1k views

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 ...
4
votes
1answer
77 views

Biber Log: “\x{2018}” does not map to iso-8859-1, what does it mean

I'm currently working on a document and everything is working fine. I'm just a curious what these Messages "\x{2018}" does not map to iso-8859-1 at C:\[...]\lib/Biber/Utils.pm line 949. from Biber ...
6
votes
2answers
240 views

“Remapping” a single glyph

I am using the excellent Heuristica typeface, but I don't like the way the old style "1" looks. It looks more like an "I" in small caps than an actual number, unlike the Adobe original. Like so: Is ...
1
vote
1answer
199 views

Bold \varepsilon not as bold as it should be!

So when I use \bm{\varepsilon} and \bm{\epsilon}, the latter is LOT more highlighted. How can I make \varepsilon as bold as the rest of the symbols? \documentclass[a4paper,11pt]{report} ...
3
votes
1answer
146 views

Type regular documents using regular characters in Latex?

I am typing letters in Latex and I would like to just allow characters such as & and ' to be treated as regular characters and not latex related commands. Is there a simple way to this? Thanks
3
votes
1answer
62 views

Creating a smaller vertical bar

I want a vertical bar but in mathematical mode it appears too big. I just want a small | at the same height as the letters.
4
votes
1answer
131 views

Completely lost with BibTeX

I'm new to LaTeX, and have managed to transfer an essay I'd written in Word into LaTeX fairly satisfactorily, but I'm now trying to sort out the bibliography using BibTeX and I'm completely lost. I ...
7
votes
4answers
538 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 ...
10
votes
2answers
130 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 ...