{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

3
votes
2answers
58 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 ...
0
votes
1answer
33 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
51 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 ...
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 ...
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
45 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
356 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. ...
2
votes
1answer
25 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?
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]{% ...
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 ...
-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 🇩🇪 ...
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 ...
0
votes
3answers
79 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
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
67 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
51 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
452 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
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 ...
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
2answers
128 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 ...
5
votes
2answers
120 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
63 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
206 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 ...
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 ...
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 ...
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 ...
1
vote
1answer
184 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
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} % ...
0
votes
1answer
221 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”
4
votes
1answer
129 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
67 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
110 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
63 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
62 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
103 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
93 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 ...