Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [characters]

{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.

5
votes
1answer
87 views

Output Devanagari (Hindi) from raw unicode using luatex

I can get the following code to compile, using luatex, with the Hindi/Devanagari characters correctly printed in the pdf: \documentclass{article} \usepackage{fontspec} \setmainfont{Times New Roman} \...
2
votes
1answer
49 views

Insert characters via CID in XeTeX

In LuaTeX, we can use \CID and \UTF in luatexja-otf to insert characters via their CIDs: \documentclass{ctexart} \usepackage{luatexja-otf} \setCJKmainfont{KozMinPr6N-Regular.otf} \begin{document} 森\...
0
votes
0answers
52 views

\bar{\hat{R}} gives 3 errors. WHY?

\bar{\hat{R}} gives 3 errors: Missing number, treated as zero, and illegal unit of measure and undefined control sequence. WHY? \documentclass{article} \begin{document} \[ \bar{\hat{R}} \] \end{...
0
votes
2answers
78 views

!Misplaced alignment tab character & in bibtex entry

As the title says, I tried adding a BibTeX entry: @Book{hebbrule, author = {Donald O. Hebb}, title = {The Organization of Behavior: A Neuropsychological Theory}, publisher = {Taylor \&...
0
votes
1answer
63 views

!package inputenc error unicode character ​(u+200a)

im currently writing my bachelors thesis and while inserting some cites and adding something to my bib file the above mentioned error occured. i tried to "fix" it by removing all the steps prior to ...
1
vote
0answers
36 views

Add a special character in a latex url

I want to incorporate a link as a footnote to my latex text that contains a special character. That link is the following one: http://www.robots.ox.ac.uk/~vgg/research/cross-modal-emotions/ And ...
4
votes
4answers
184 views

Creating two special characters

In a paper I'm writing, there are words using the alphabet ${{\sf D,R}}$. It will be very convenient to add ornated versions as in the picture below, but I have no idea how to create something that is ...
0
votes
2answers
68 views

How to write special keyboard character in latex? [duplicate]

I wonder if it is possible to write character Ł on latex. I try with $\Ł$ but it does not work.
4
votes
2answers
151 views

How to write ı (i without dot) character in pgf-pie

\i uses count function instead of showing "ı" character. Tried \i, {\i} $$\i$$, \imath \text{\i} but continues to count. \documentclass[12pt, letterpaper, oneside]{article} \usepackage[T1]{fontenc} \...
1
vote
1answer
41 views

Copying text out of PDF includes greek characters

I'm having an issue where if I copy words out of a PDF (generated with XeLaTeX) where the text copied out includes random Greek characters. \documentclass[12pt,a4paper,english]{report} % setup ...
2
votes
3answers
112 views

Make an interesting calligraphy character like an Axe in the Text

I am trying to use LaTex/PDFTex to make this character (or at least Figure) in the text. I could not find any proper charcter look like this: Do you have any way to find this symbol or make this ...
0
votes
1answer
28 views

Characters ‘ and ’ not displayed after compiling latex code

I am trying to write the characters ‘ and ’ in latex. But there is void in the compiled pdf in the region where they are supposed to appear. Here is the sentence in my .tex : we map ‘ and ’ to ...
0
votes
2answers
149 views

What is the name of the character $\wp$? [closed]

What is the name of the character whose code is $\wp$ ? Thanks
0
votes
0answers
18 views

Randomising mapping to glyphs in pdfLateX / XeLaTeX [duplicate]

I've noticed that when using the MinionPro package, some glyphs like ligatures and oldstyle figures would be mapped to another character. For example, compiling \documentclass{article} \usepackage[...
2
votes
1answer
26 views

Make a command accept underscores without having to type a backslash in front of it

When using for example \includegraphics{my_picture.png} there is no need to escape the underscore in the file name. I am trying to make my own command to display Python code, but Python identifiers ...
1
vote
2answers
30 views

Is there a way to change the character a particular byte maps to?

TeX is amazingly customizable. I would never do this, but I am curious whether TeX possesses the following functionality: As I understand it, TeX reads in a stream of bytes, and assigns each a ...
0
votes
0answers
53 views

Import a single letter from a different font (and use it in text mode)

There are many questions about import symbols form other packages to use them in math mode. But there is nothing about import symbols (letters) from other font families and use them in the text. In ...
2
votes
2answers
112 views

How can I avoid escaping the # character as a command argument in a Tikz environment?

I am attempting to write a music related package where the user can enter chord names, that will be nicely printed: % this prints out the C chord \somecommand{C} However, a chord names can have ...
1
vote
1answer
121 views

XeLaTeX: Chinese characters [closed]

Firstly, apologies for my ignorance but I have tried all the options given in: this post. However, I still am unable to get it working. From the above post, I am trying to achieve this: % Compile ...
6
votes
3answers
466 views

How do I prevent "s from turning into ß with babel?

I'm writing a German document and thus I need äÄöÖüÜß to work. However I don't use it this way: "a"A"o... I just type äÄö... My Problem is that "Test" s is displayed as "Testß Here is a MWE: % !...
3
votes
1answer
136 views

Includesvg with % sign

I am using \usepackage{svg} to include an svg file using \includesvg{filename.svg} and compiling using pdflatex --shell-escape file.tex This generally works like a charm. However I encountered a ...
2
votes
1answer
108 views

How to shift characters and numbers in math mode to make them vertically centered around the formula axis

In math mode, characters and numbers are placed on the baseline and develop upward and/or downward. How can they be centered vertically around the formula axis, as symbols such as + and = are? For ...
4
votes
1answer
90 views

H Character with Crossbeam

Can anybody tell me the LaTeX character code for the upper-case 'H' character with crossbeam in the upper segment (as in 'Ħal Saflieni Hypogeum' (Malta))? Thank you.
6
votes
1answer
116 views

How to properly centre vector arrows upon characters

I'm using the standard LaTeX vector arrows in math mode, but they are always aligned in such a way that they result shifted if they haven't an italic character underneath. The following code: \...
2
votes
1answer
75 views

How to avoid problems with diacritics once and for all

I work with Rnw, and I type in Catalan, so there are diacritics I wouldn't encounter in English. I just want two things: That when I compile my PDF, all diacritic letters are as they should be. That ...
5
votes
1answer
64 views

Replacing Multiple Characters Including Backslash

I am in a situation to replace many characters from a sentence. In the working example attached below, command relaceB replaces backslash and command replaceA replaces many other characters like **, /*...
1
vote
2answers
144 views

BibTex - polish letter “ł” in translation from chapter

I'm using \bibliographystyle{plabbrv} and utf8 coding. I have problem with displaying polish letter "ł" in word "rozdział", which is automatically added when typing the chapter section. I get ...
2
votes
1answer
69 views

Missing letters in calligra font

I'd like to use calligra font for a cite, but two letters are missing from the package: ő and ű. The code: \documentclass[xetex]{beamer} \usepackage{calligra} \usepackage[magyar]{babel} \usetheme{...
0
votes
0answers
72 views

Custom Lua feature for CID-keyed font

fonts.handlers.otf.addfeature in luaotfload can be used to create custom features for fonts. The unicode values of glyphs can be used for CID fonts in the same way as for GID fonts, but some fonts ...
1
vote
0answers
164 views

how do I fix this error [closed]

in this section latex says that there is package inputenc:Unicode character×(U+7D). how should I fix this. this is the section of text where latex throws the error: humans have tried to help mother ...
2
votes
0answers
38 views

Turkish characters do not appear end of the word

I am preparing a latex document which should use Times New Roman font and should support Turkish characters. In the pre-toc part of document there are some kind of title pages and i had to use red, ...
1
vote
1answer
44 views

Code2000 says it has 晣 but it will not print it

In fact it does not print other more simple Chinese characters either. I checked that it supports 晣 by looking here. So i downloaded it from here. I put the TTF in the same directory as the tex which ...
0
votes
1answer
89 views

Unicode character ſ (U+17F) in LyX 2.3

How to use the following character ſ (U+17F) in LyX? Setting the UTF8 encoding does not work: Package inputenc Error: Unicode character Ĺż (U+17F) The complete source code of the document is: \...
5
votes
1answer
84 views

(mód 1) is not copied correctly

Please consider the following MWE: \documentclass{article} \usepackage[spanish]{babel} \selectlanguage{spanish} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document} Works: áéà Does ...
6
votes
1answer
206 views

Compile despite invisible 0x08 (Backspace) character

Working with LaTeX, I often have a compilation error when writing exponentials in mathematical expressions, even though the syntax is valid. Recently I discovered this was due to a 'Backspace' ...
4
votes
1answer
587 views

Emoji in pdflatex?

Update: By adding \def\emojione{\scalerel*{\includegraphics{1F4D5.pdf}}{X}} in the preamble with the respective PDF file, I am able to use emoji in the body text. However, if I put \emojione{} in the ...
0
votes
0answers
26 views

Which characters are valid for bibliography entry identifiers? [duplicate]

I'm currently writing a paper for my study on the applicability of Spring Batch (a java framework) for the use cases of the department I'm currently in. For this, I'm citing parts of the Spring ...
0
votes
1answer
42 views

Add blank space after each special character

Here come the problem: after each character such as é, à, î, ... I get not only the character but also a blank space (and it seems that the character is in another font) I'm currently using miktex ...
2
votes
2answers
86 views

Add special character in inline expression

I am tring to write this line using latex (on overleaf edit): modalité_classe1 , where classe1 appears as the index of modalité . So I tried this command: $modalité_{classe1}$ It seems to work, ...
2
votes
1answer
178 views

Remove particular characters from some string

Consider this code: \documentclass[12pt]{article} \usepackage{arabxetex} \usepackage{newunicodechar} \begin{document} \begin{arab} إِبرٰهۦمَِ \end{arab} \end{document} Output: The arabic ...
0
votes
1answer
55 views

Ensuring non-italicization of a character [duplicate]

I would like square brackets to never be italicized, even in a \textit environment. That is, I would like to type [ but have it always replaced with \textup{[}, and similarly for the right bracket. ...
2
votes
0answers
100 views

Inserting Chinese text

I am using \documentclass[UTF8,12pt, twoside]{extreport} with PDFLaTeX on TeXmaker on Windows and I successfully created PDF documents when Chinese text is not added. I need to put some pages with ...
2
votes
0answers
20 views

Special character \~{a} (ã) using bibtex not displaying [duplicate]

I am writing a document and I want to include a reference of a person called Catalão. I put the line related to the author in the entry on bibtex as: author = {P. S. Catal\~{a}o} However, when I ...
2
votes
3answers
320 views

Symbol sum is generated bad

i want generate equals to next image but the sum is generate bad \begin{equation} \label{eq:aqui-le-mostramos-como-hacerle-la-llave-grande} f(x) = \left\{ \begin{array}{ll} ...
7
votes
1answer
78 views

Adjust diacritic position in emph mode

I use the the additionnal letters ḧ, ĥ, and ḋ. With the CMU font in emph mode. So, with the following MWE: \documentclass{article} \usepackage{fontspec} \setmainfont{CMU Serif} \begin{document} \...
0
votes
1answer
1k views

Typing 'à' on LaTeX [closed]

I would like to know how to type the letter 'à' in LaTeX. There is no grave accent on my Italian keyboard, so everytime I need that letter I just copy and paste a grave accent from the list of symbols ...
8
votes
3answers
629 views

Redefining a letter to itself

I have no idea why anyone would actually want to do this, but I want to know how I would do it (for educational purposes). Say I make e and active token, and then make it print the character e. I ...
0
votes
0answers
31 views

How to write character \ [duplicate]

I would like to write the character "\" in Latex but since it is a keyword I am struggling in doing so. Is there a way to write it somehow?
3
votes
1answer
45 views

Pgfplots: Use hash symbol in imported tables as comment symbol

I faced a very similar problem to pgfplotsinvokeforeach using parameter when you have the hash symbol as e.g. comment chars. Python uses this character for comments so I want to either use it in my ...
1
vote
0answers
80 views

How to input a character using its character code for a custom font

Apologies in advance, I am new to LaTeX. Feel free to point me in the direction of an already answered thread. I have a custom font that I wish to use in my article for certain mathematical ...