{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

1
vote
1answer
41 views

Ignoring LATEX special characters

I have to add in a Latex document a page with the code from program I use for the report. However, when I simply copy and paste the code into Latex, I get a ton of warnings. Is there a way to tell ...
11
votes
1answer
142 views

ebgaramond swashy Q, LaTeX vs. Lilypond

I am using LaTeX (pdflatex) and Lilypond together for a critical music edition, using the EB Garamond typeface for both. The two programs are giving me different glyphs for "Q": LaTeX provides a ...
1
vote
1answer
46 views

Listing Python code with Strings and all characters

I have a little issue concerning the representation of a string in Python. I have the following Python Code #!/usr/bin/env python import sys import math import string from vmtk import pypes from ...
4
votes
1answer
96 views

How to type special character— a Y with a line through it

The symbol I'm looking for is similar to the one produced by \mathfrak{X}, but with a Y instead of an X. I've spent hours looking for this, combed through every character list I can find, tried ...
0
votes
0answers
28 views

Biblatex not printing umlauts [duplicate]

I have a bibliography entry with a german umlaut in the name. In the .bib file the character is correctly escaped: author={B{\"o}ttcher} The corresponding entry in the .bbl file no longer contains ...
0
votes
0answers
44 views

Foreign characters in ShareLatex vs. TexStudio

I have not been able to get TexStudio to properly display Turkish characters (öçşiğüİı) using a variety of solutions such as \usepackage[turkish]{babel} \usepackage[utf8]{inputenc} However, ...
3
votes
2answers
71 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
38 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
58 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
146 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 ...
3
votes
1answer
223 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
81 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
49 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
400 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
31 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
72 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
56 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
398 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?
11
votes
3answers
583 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
66 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
111 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
132 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} \usepackage{xstring}...
2
votes
1answer
72 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 right\}....
0
votes
0answers
32 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
242 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
0answers
48 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
107 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
29 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
83 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} \usepackage{...
3
votes
2answers
52 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
455 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
62 views

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

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
62 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} \usepackage[utf8]{...
2
votes
2answers
156 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
128 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
64 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
265 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
8k 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
113 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
98 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
66 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
236 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 \documentclass[11pt,a4paper,german,fleqn,oneside‎...
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
253 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} æ,ø,å \end{...
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
156 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 ...