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

linguistic options of JabRef 3.2

I am puzzled with some foreign languages such as Czech and Polish, because author names are often written with characters which are ignored by JabRef. Is there a mean to code them in order that they ...
3
votes
2answers
57 views

How to make a capital V with a brevis or macron over it?

I'm doing linguistics, and I need to show short and long vowels. The tipa package handles vowels with the brevis or macron sign over them, but if I use a capital V \={V} or \u{V} I don't get a ...
3
votes
4answers
1k views

Problem with umlaut in Texworks [duplicate]

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} ...
0
votes
1answer
32 views

Two local problems after inserting language package

I am now writing a lecture notes on Advanced Number Theory, and I use University Lecture Series LaTex packages of AMS. Then I faced two problems. First, if I include my native language package ...
2
votes
0answers
50 views

Weird invalid character error [closed]

I get this weird error with this code and I have no idea why: ! Text line contains an invalid character. l.45 ^^@ ^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^... A funny ...
10
votes
3answers
539 views

Repeat characters n times

I wanted to create a new command, which allows me to repeat any characters I want for n times. After some searching and trying, I came up with this: \usepackage{multido} \newcommand{\myrepeat}[2]{% ...
2
votes
1answer
134 views

Check if a string is just numbers or includes letters

Well, the title pretty much says it all, I'm looking for a way to tell if a string has any letters in it or if it's made up of just numbers. I used biblatex as a tag here because of my question's ...
0
votes
3answers
78 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
186 views

Insert Unicode private char

How I type the unicode char  in latex?
36
votes
2answers
2k views

Should I use ~ or \mbox?

~ stands for a non-breaking space, and \mbox{<text>} creates a box with text in it that cannot be broken (since its a "box"). I understand that \mbox has broader application than ~ (e.g. when ...
3
votes
3answers
43 views

Package inputenc Error: Unicode char ẁ (U+1E81)

I'm trying to use the 'ẁ' character in my text, however it doesn't show on the right hand side of latex and throws the following error: Package inputenc Error: Unicode char ẁ (U+1E81) I tried adding ...
1
vote
1answer
41 views

How to fix weird `\'i` behavior when using biblatex?

I started to use biblatex not so long ago. Everything is working properly in general, however, I have had some trouble with the special character \'i, used in order to obtain the character "í". It ...
6
votes
2answers
354 views

Adding complex phonetic symbols to LaTeX

I am trying to add symbols from the International Phonetic Alphabet to my thesis. For some of the characters, I have no idea how to add them to TeX. The retroflex is giving me troubles. ...
69
votes
5answers
149k views

How to type special/accented letters in LaTeX?

How to type these special letters from European languages in latex? ä, é, and L'?
68
votes
7answers
194k 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: ...
2
votes
1answer
24 views

Problem with Icelandic characters in Beamer

I am doing a Beamer presentation based on an article, so I do a lot of copy and paste from one document to another. Basically everything is working fine, but for some reason, the Icelandic special ...
2
votes
0answers
64 views

Why do people still use things like \^{} rather than \symbol{94}?

Why do people still use things like \^{} rather than \symbol{94} when the latter gives you the actual ASCII character while the former just gives you something which LaTeX considers a lookalike? ...
1
vote
1answer
47 views

Active character in a command

I would like \forall to trigger a certain behavior (for the purpose of the example below: change the text color to red), which is cancelled when the next ( is encountered. I can make this work when ...
8
votes
1answer
389 views

How can i prevent LaTex from converting a apostrophe combination to this weird character?

I want to write this But it becomes to this in the resulting PDF file How can i prevent LaTex from converting the apostrophe combination to this weird character?
8
votes
1answer
798 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 ...
1
vote
0answers
37 views

Count Characters without Spaces [duplicate]

I'm writing my BSc thesis right now in LaTeX using texmaker. The maximum amount of characters (without spaces) for the thesis is 70'000. Is there a decent way to count this? Copy-pasting it into Word ...
7
votes
2answers
606 views

TikZ UML diagram special character problem

I'm trying to create an UML diagram using TikZ and pgf-umlcd, unfortunately I seem to have some kind of special character problem and was not able to figure out how to escape them right, an example ...
-2
votes
1answer
47 views

Put plus, minus, time and divide sign in a square [duplicate]

For circumscribed circle, it is $\otimes$, $\ominus$, I get it, but how do you put them inside a square? i have seen something similar in here and here.
4
votes
1answer
85 views

XeLaTeX + \setmainfont{CMU Serif} produces wrong characters

When I'm compiling with XeLaTeX and I use \setmainfont{CMU Serif}, the resulting characters are off by one. This means that an a becomes a b, a 1 becomes a 2, etc. \documentclass{article} ...
7
votes
2answers
129 views

Expansion of \char in \def

In answering another question, I ran into some issues trying to use a combination of \def and \char. Consider the following example: \documentclass{minimal} \usepackage{etoolbox} ...
2
votes
1answer
65 views

Define a LaTeX command that takes character as argument, instead of taking it in { }

I want to define a command that takes two of its arguments as the first two characters after; just like \left( and right) take the first character after them, even if they're braces left\{ and ...
0
votes
0answers
30 views

“Unicode char \u8:‒ not set up for use with LaTeX.” [duplicate]

While trying to compile my latex document, I get the following error: "Unicode char \u8:‒ not set up for use with LaTeX." The line number associated to the error seems meaningless. It points to a ...
8
votes
1answer
174 views

Country flags unicode char

I am trying to define new unicode chars for country flags. Unfortunately flags are encoded using two regional indicator symbols according to the ISO 3166-1 alpha-2 two-letter country codes. So 🇩🇪 ...
4
votes
2answers
651 views

IPA characters in plain TeX

Is there a way to type IPA characters in TeX? There is the tipa package for LaTeX, but what about plain TeX? I don't have any experience with installing fonts in TeX and can't find any good resource ...
2
votes
1answer
24 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
66 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
49 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: ...
2
votes
2answers
125 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 ...
10
votes
1answer
451 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 ...
5
votes
2answers
119 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
0answers
50 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
0answers
51 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 ...
3
votes
1answer
64 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} % ...
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 ...
2
votes
1answer
63 views

Why \ell produce a character like grave in PDF?

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

WriteLatex utf-8 ģ symbol problem

I need to use ģ symbol in my presentation. This symbol has 0123 utf-8 code. But when I am typing it in writeLatex it compiles with error: Package ucs Error: Unknown Unicode character 291 = U+0123, ...
3
votes
1answer
401 views

Replacing a glyph in one font with a glyph from another

I am a newbie with LaTeX when it comes to fonts. I would like to replace the double story "a" in Latin Modern for a single story "a" version (and similarly for the "g"). I just prefer my typeset ...
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.
33
votes
5answers
7k 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 ...
2
votes
0answers
205 views

Special character in bibliography [closed]

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 ...
0
votes
0answers
85 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 ...
7
votes
2answers
6k views

Use $ in lstlisting

I need to create some jQuery-Listings but when I try to do so \documentclass[12pt,oneside,a4paper]{scrartcl} \usepackage{textcomp} \usepackage{listings} \usepackage{color} ...
6
votes
2answers
90 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
60 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 ...
0
votes
1answer
219 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} æ,ø,å ...