{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
23 views

How to activate on LaTeX greek and latin characters

I try to use LaTeX writing paper greek and english text, WITHOUT using separate commands for greek or english (like: \begin{otherlanguage}{greek}), but using both greek and latin characters under the ...
2
votes
1answer
19 views

Greek language in suftesi document class

I am trying to create a report using suftesi document class. I write my report using both greek and latin characters. The problem, however, is that I cannot print greek characters. I tried this and ...
0
votes
0answers
38 views

command for calligraphic lowercase latin and greek letters

I am wondering whether calligraphic type command exists, that supports both Greek and Latin (lowercase) characters in math-environment. Let's say that I have: \documentclass{article} ...
3
votes
2answers
36 views

ring over a with macron?

I am trying to put a ring over an a with a macron, but i cannot position the ring properly. it shows up too far to the left and not in the center. this is the best that i have been able to do: ...
10
votes
1answer
448 views

How to be able to use ∞ in latex document?

I would like to use the unicode character ∞ in a LaTeX document. I use the default font. If this character is not defined in this font, I can replace it by $\infty$. How can I do that? I tried to ...
2
votes
0answers
45 views

Ignore special characters in \newcommand argument to generate section labels?

I am editing a rather large document and have replaced \section, \subsection etc with \newcommand macros that include \section etc but also spacing and other commands. I am trying to get it to ...
2
votes
0answers
30 views

Which encoding used in LaTeX sources to convert PDF file accents to the doc format correctly?

I have the following configuration file in my LaTeX source: % !TEX encoding = UTF-8 Unicode \documentclass[a4paper,12pt]{article} \usepackage{lmodern} \usepackage[T1]{fontenc} ...
2
votes
2answers
75 views

How to get Unicode characters into HTML output

I am trying to make a book in both print and ebook. To make the print book I generate a PDF with xelatex. I have reconstructed all the source files to be encoded in UTF-8 and the Cyrillic and ...
4
votes
2answers
107 views

Multi-substring replace

I'm attempting to automate Werner's answer to my question here. In short, in order to sort the Norwegian letters Æ Ø Å (they come at the end of the regular Latin alphabet) correctly dtlsort needs ...
2
votes
1answer
60 views

Why \ell produce a character like grave in PDF?

\`{}$\ell$ \bye produces a PDF, then I search ` in it, finding two, why?
16
votes
2answers
1k views

How to write a letter “ģ”

In my language we use the letter "ģ" representing LATIN SMALL LET­TER G WITH CEDILLA with code U+0123. How can I write it with pure latex? Solution Ok I got what I wanted, thanks to WriteLatex utf-8 ...
1
vote
0answers
20 views

How to type this two letters in latex [duplicate]

and The first one look like $\xi$ but not completely the same.
2
votes
0answers
84 views

Special character in bibliography

I can't put special characters like "ö" or umlaut "ü" in a bib entry, in spite of following the suggestions e.g. at How to write “ä” and other umlauts and accented letters in bibliography? and ...
31
votes
5answers
5k views

Typeset the shrug ¯\_(ツ)_/¯ emoji

I'm completing a problem set, one problem for which I literally have no idea what to do on. The graders would prefer to have a physical copy of the problem so I thought it best to include the ...
0
votes
0answers
43 views

Strange Characters Appearing

I'm sharing some documents with colleagues and a strange thing keeps happening. Whenever the document gets transferred back to me strange characters appear but this seems to be random - as far as I ...
6
votes
2answers
77 views

How can I change the behavior of single letters in an environment?

I'm working with a Ktunaxa, a First Nations language that uses the symbols ȼ and ⱡ (and the uppercase equivalents Ȼ and Ⱡ, but not c or l. How can I create an enivronment that would change all c and ...
1
vote
0answers
49 views

Keyboard character used is undefined

My reference list include letters from different languages, such as á, ö, 第. I get ! Package inputenc Error: Keyboard character used is undefined EDIT [Copied from deleted answer by cfr as ...
1
vote
1answer
117 views

German Umlaute ä, ö, ß, … are not shown in PDF file

I have a problem writing German Umlaute like, ä, ö, ß, .... They show up as cryptical signs but not as Umlaute in the pdf- file. Here is my latex code ...
3
votes
1answer
60 views

What methods are available to typeset Chinese?

What is the main way to support Chinese currently? For example, this is one way: \documentclass[UTF8]{article} \usepackage[english]{babel} \usepackage{ctex} % ...
0
votes
1answer
123 views

How to use danish letters in equation/align?

How to use æ, ø, å in LaTeX align? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[danish]{babel} \usepackage{amsmath, amssymb, amsfonts} \begin{document} \begin{align} æ,ø,å ...
0
votes
0answers
35 views

Special character with latex [duplicate]

I'am trying to write an equation where thee is this special caracter: \^{e} \begin{equation} \^{e} = 1 \end{equation} But the probleme is \^{e} is invisible, I see only “= 1”
3
votes
1answer
90 views

TeXstudio disable character shortcut (Ctrl+Alt+U)

I'm currently using an English keyboard with an "International" configuration to write in spanish. I use the shortcut AltGr+A to write "á", AltGr+E for "é", and so on for each vowel. In TeXstudio I ...
1
vote
2answers
57 views

Handwrite letter V in Inline Math Mode [duplicate]

What package and command do I have to insert to write letter V in a handwriting style using Inline Math Mode? Below is the result I want to obtain:
1
vote
1answer
77 views

How to insert Chinese characters in the following template?

I download a template from the website. But I cannot use Chinese characters in it. \usepackage{charter} this is the font it uses I think. I changed it but it did not work. I also change ...
3
votes
1answer
47 views

How avoid “\T1\ss ” as output from \immediate\write and get ß?

\usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \usepackage[ansinew]{inputenc} ... \newwrite\outfile \immediate\openout\outfile=\jobname.txt % aßbc is a replacement for a long german text-block, ...
3
votes
1answer
60 views

Smashing diacritics on all uppercase characters

I need all uppercase letters with diacritics to have the same height (depth) of the corresponding naked uppercase letter. Motivation: obtaining a regular baseline grid when stretching the baseline is ...
3
votes
1answer
80 views

Allowing line break at C++ operators ('::', '->', …) in \lstinline

The following picture shows my problem: How can I tell \lstinline to break lines at specific C++ operators? For example: FooFactory::instance()->createFoo() should be broken as follows: ... ...
4
votes
1answer
73 views

TexStudio - polyglossia - xelatex : how to create symbols

I'm using TexStudio to write my thesis and I just changed to polyglossia and xelatex because I'm need to write down words in a lot of different languages. Since I do this however, a lot of commands ...
5
votes
1answer
41 views

substitute a character from one script to another

I am working in XeLaTeX + Memoir, and I have two documents: one typeset in English and another typeset in Arabic. As the two documents are related, I am using the package xr to establish ...
1
vote
1answer
54 views

Command character insertions using polyglossia and Greek with XeLaTeX

At the advice of a past question (Text related packages advised to avoid combining) I am looking into changing my document dependencies from textgreek to polyglossia, but because of restrictions to my ...
1
vote
0answers
32 views

Change font only for numeral in text mode

I want to change the font used in 0123456789 to the same as defined in $0123456789$. I know that I can do it to math mode with this command: \DeclareMathSymbol{8}{\mathalpha}{mymathnumerals}{`8} Is ...
6
votes
2answers
521 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.
1
vote
1answer
78 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
2k 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 ...
4
votes
1answer
77 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
83 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 ...
6
votes
3answers
388 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
71 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
41 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
177 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
87 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} ...
3
votes
1answer
179 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
96 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
147 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
264 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
115 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
252 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
121 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?