As of May 31, 2023, we have updated our Code of Conduct.

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.

Filter by
Sorted by
Tagged with
10 votes
2 answers
24k views

How can I overscore a character?

I am using Anki to create flash cards for Boolean identities. I prefer to use an overscore as opposed to a prime for negated variables. Can this be accomplished with LaTeX? EDIT: The header and ...
somehume's user avatar
  • 237
3 votes
2 answers
750 views

Umlauts in label

I'm using LuaLaTeX and wonder why I cannot label theorems with words containing umlauts. For example: \documentclass[a4paper,12pt]{article} \usepackage{luatextra} \usepackage[utf8]{luainputenc} \...
epsilonhalbe's user avatar
  • 1,020
24 votes
2 answers
12k views

XeTeX: "ß" compiles as "SS", German umlauts work

I have a problem with XeLaTeX. Although German umlauts (äöü) work, "ß" compiles to "SS". I use TeX Live 2011 on Debian x64. See this minimal example: \documentclass{minimal} \usepackage[T1]{fontenc}...
Marcel's user avatar
  • 881
3 votes
2 answers
841 views

How to make overlaid text?

Is there a nice way to overlay text in the space of one character? So if text is overlaid as I described it would almost result in a black square.
user7630's user avatar
  • 105
31 votes
3 answers
12k views

Check if a string contains a given character

I want to implement an if-then-else depending on whether the argument contains a special character or not. Should I be looking here: http://www.tug.org/TUGboat/Articles/tb28-1/tb88glister.pdf, or does ...
oleks's user avatar
  • 609
12 votes
2 answers
1k views

Writing Biblical Hebrew texts with different coloring for consonants, vowel and accent signs

I have got the following problem: I am using Biblical Hebrew texts written in XeTeX but I would like to color consonants as well as vowel and accent signs differently. I have read Coloring combining ...
Moked's user avatar
  • 1,490
2 votes
1 answer
3k views

How to write directly French characters in Emacs and print them in LaTeX?

I am editing LaTeX with Emacs. I would like to write in French. At the moment I have to write special French characters for instance like this: \'e prints é. If I write directly é in Emacs, the ...
SoftTimur's user avatar
  • 19.1k
64 votes
1 answer
144k views

How to code ß (German "sharp S") in BibTeX

I have an author called Jörg Geißler, whom I want to include in my BibTeX database. I tried to use Gei\ssler, J\"{o}rg but this doesn't work correctly. I can't generate the PDF anymore. How do I ...
RoflcoptrException's user avatar
1 vote
1 answer
677 views

Random character varients being used with fontspec

I'm trying to get the hang of xelatex and fontspec and I'm a little confused about how character variants are selected. I'm using the font Bickham Script Pro. Confusion (1) Some words are ...
Darling's user avatar
  • 3,547
2 votes
1 answer
964 views

Problems with character display in LyX

When I type some Romanian characters (ș and ț, to be more specific) in LibreOffice and in LyX, they are not displayed. I just see blank spaces, nothing shows up. However, the same characters are ...
chimil's user avatar
  • 253
29 votes
4 answers
16k views

Outlined characters

How could I produce characters which are outlined when the character itself is in some color. A picture to illustrate what I'm after: The problems with the above are that: the outline is of no ...
morbusg's user avatar
  • 25.3k
1 vote
1 answer
4k views

Is there a nice way to make a strikethrough for the square subset character in LaTeX?

I am working on some math that uses the square subset notation. I need a good way to strikethrough the character in LaTeX. I have tried using the package "cancel" but the strikethrough it produces ...
Ryan's user avatar
  • 13
10 votes
4 answers
5k views

How to convert characters to LaTeX code?

How to convert characters of type á ê õ ção to \'a \^e \~o \c{c} \~a automatically?
Regis Santos's user avatar
  • 14.1k
19 votes
5 answers
14k views

What symbol can be used in front of a URL ?

When you typeset an email address, you can put a "@" or a letter symbol in front of it. In the same fashion, what symbol can be used in front of a URL?
raphink's user avatar
  • 31.4k
25 votes
3 answers
9k views

Error with percent sign in bib entry field when using biblatex/biber

I'm trying to use biblatex (v1.5a) with biber (v0.9.3) instead of BibTeX but I am having a problem with bib entries, where the abstract contains a percent sign. In that case, in the bbl file the ...
michaelS's user avatar
  • 253
36 votes
10 answers
50k views

Script-r Symbol

The near-ubiquitous undergraduate reference on electrodynamics, "Introduction to Electrodynamics" by David Griffiths make extensive use of a script-r symbol, defined to be \vector{\scriptr} \equiv \...
Freddie Witherden's user avatar
5 votes
2 answers
9k views

How to change / to be horizontal?

I like to change a/b to be a - b how to do that?
sam's user avatar
  • 503
5 votes
1 answer
443 views

biblatex: What's the first character of a field?

I would like to know, what's the first character of the value of the editor field. If the character is a curly bracket "{" the value should be printed for example bold, if the first character is ...
MaKa TaBo's user avatar
  • 437
3 votes
3 answers
10k views

Typesetting the Identity Operator for txfonts

I use the txfonts package in my document for fonts. However, I am at a loss as to how to produce the identity operator, which looks like a blackboard bold 1. Now, \documentclass{article} \...
Freddie Witherden's user avatar
3 votes
0 answers
1k views

Is there an Unicode code point for umlauts marked with a small e instead of a diaresis? [closed]

The original way to denote an umlaut in German was to write a small e on top of the umlauted letter, like in the second row of the image below. Is this form of the umlaut availabe via Unicode? In ...
FUZxxl's user avatar
  • 2,394
30 votes
2 answers
2k views

How to color the characters in LaTeX2e logo?

I want to get the LaTeX2e logo but with each character having a different color. I know that \LaTeXe produces the logo, but how do I give a color to each character?
Tata Tarquino's user avatar
5 votes
2 answers
818 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 ...
ondra.cifka's user avatar
9 votes
2 answers
15k 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} \definecolor{lightgray}{...
F.P's user avatar
  • 789
50 votes
1 answer
7k views

What are the valid names as labels?

What are the valid characters to use in labels? I thought that only alphabetic characters were valid, but I tested ' and ! and they work. What are the restrictions to these names?
mjsr's user avatar
  • 3,355
6 votes
2 answers
2k views

Include binary data

How do I include binary data (e.g. the contents of a binary file) in a LaTeX generated PDF-document? If I just copy and paste them into a verbatim environment it results in garbage.
user4852's user avatar
  • 653
32 votes
3 answers
16k views

Rotating a letter

I'd like to rotate a letter such as, say B, to show its reflection or inversion symmetry, or even at an arbitrary angle clockwise or counter-clockwise. Is this possible using commands without drawing ...
Peter Jones's user avatar
104 votes
7 answers
123k views

How does one type Chinese in LaTeX?

Can anyone describe how one can type Chinese in LaTeX? When I compile this: \documentclass{article} \begin{document} 你好吗? \end{document} the resulting document shows nothing. For reference my IME ...
805801's user avatar
  • 1,351
6 votes
2 answers
278 views

Charclass/Interchartokes for Umlauts and „“

How can I define a charclass for umlauts, german quotes „“ (and other special characters which are not A–Z/a–z)? I’d like to use this for extra kerning in some cases. \documentclass{minimal} \...
Tobi's user avatar
  • 55.1k
14 votes
1 answer
31k views

Problem with special characters in listings

I'm having problems with my TeX document. I'm trying to import my java file in listings to get syntax colouring and stuff. My java files contains comments in Danish, which means they contain special ...
Simon's user avatar
  • 175
20 votes
4 answers
63k views

How to get text above and below double harpoon (reversible reaction) symbols in an equation

I'm working on the Chemwiki Dynamic Textbook Project at UC Davis, California and I've run into a problem. I need to formulate a symbol containing double harpoons (as in a reversible reaction, e.g. \...
user avatar
17 votes
4 answers
27k views

Croatian/Serbian letters in CV problem

I'm using a currvita CV for something, but am unable to get Croatian/Serbian (I don't know how this will come out, but they are šŠđĐčČćĆžŽ). Haven't used LaTeX in a while but remember that in the ...
Rook's user avatar
  • 961
20 votes
1 answer
2k views

Tabs in output file written by xelatex and pdflatex are different

I'm trying out pgfplots with gnuplot to generate the data. This works by having pgfplots write some stuff to an external file, run gnuplot on the file, and then use the generated data to plot the ...
Andrew Stacey's user avatar
4 votes
1 answer
2k views

trackchange and citations

Trackchange for latex on sourceforge seems to have a problem with citations. \change{text 1 \cite{Fels\_81}pad1}{text2 \cite{Fels\_81} pad2} creates a problem due to the brackets encountered. Is ...
Vass's user avatar
  • 1,738
6 votes
1 answer
720 views

How to raise a character in the whole document?

In my document (due to combind both Chinese and English), all (, ), [, ], etc., are all too low. Is it posibble to raise all (, ), [, ], or any characters user defines to desire height? (for ex. If I ...
Kuang-Li Huang's user avatar
43 votes
5 answers
4k views

Coloring combining characters without changing color of a base character

Problem I am trying to find out is there a good way to paint combining characters without changing the color of the base character they are combined with. My actual problem case is to make some ...
ojs's user avatar
  • 905
5 votes
1 answer
255 views

Slashed characters in ConTeXt?

In LaTeX there is a slashed package which will put a nicely centered slash through an arbitrary symbol - the \not command provides an off-center slash on most symbols. How can I do this in ConTeXt? ...
Alasdair's user avatar
  • 5,119
12 votes
1 answer
4k views

Problem copying text from latex PDF - special characters

I am using LaTeX in a portuguese document, with special characters such as tilde or cedilla. I have a sample document with the following content: \documentclass{book} \usepackage[utf8]{inputenc} \...
Weslei's user avatar
  • 3,865
13 votes
4 answers
16k views

Missing $ inserted

I am new to latex. I am trying to compile someone else's document. I have all the correct packages installed, but I get the following error: *Overfull \hbox <37.8394pt too wide> in paragraph ...
user avatar
19 votes
4 answers
2k views

How can I have the three source-code symbols _ < > produce themselves (_ < >) in the typeset output by default?

I use LaTeX to take quick notes about my programming work. I have a couple of frustrations: I need to use underscore a lot because of variables named with underscores. However, I have to escape ...
John Berryman's user avatar
11 votes
2 answers
10k views

German Umlauts in BibTeX [duplicate]

I have the following BibTeX source @INPROCEEDINGS{Lincke2008, author = {Rüdiger Lincke and Jonas Lundberg and Welf Löwe}, title = {Comparing software metrics tools.}, booktitle = {ISSTA}, ...
RoflcoptrException's user avatar
6 votes
2 answers
2k views

Compare a character to a character code?

How can one compare a character (e.g. "U") with a character code in a certain font (e.g. "\char85"). I'd expect the following to work: \documentclass{article} \usepackage{ifthen} \begin{document} \...
Brian M. Hunt's user avatar
11 votes
2 answers
643 views

Where's my backslash gone?

When I try to use one of the more "hacky" methods of getting a literal "special character" (such as backslash or a brace) then I get a different character: backslash seems to be an open quote, left ...
Andrew Stacey's user avatar
2 votes
2 answers
10k views

Label referring problem

I'm new here and new user of LaTeX I'm trying to write my PhD, intermediate reports with it and I am facing some problems. I tried to look on the internet for 2 weeks, but found no answer to my ...
user2924's user avatar
4 votes
1 answer
847 views

Make emacs speller work with accented/modified letters

In continuation to this question I was wondering, now that my document is full of \' and other accents, the emacs speller balks on all the words... Is there a way to get a spell-checker to understand \...
Yossi Farjoun's user avatar
230 votes
7 answers
709k views

How to type special/accented letters in LaTeX?

How to type these special letters from European languages in latex? ä, é, and L'?
user2918's user avatar
  • 2,409
19 votes
4 answers
3k views

Hyperref: Scandinavian characters (æø) don't work in \url, hyperlink is wrong

Background A while ago it became possible to use the letters æ, ø and å in URLs, and some websites, like the encyclopaedia Store Norske Leksikon, has made use of this. Recently, a question was posted ...
Torbjørn T.'s user avatar
9 votes
2 answers
2k views

Using non-ASCII characters in packages

What is the best way to use non-ASCII (say, Cyrillic) characters in a .sty file? If it's used in a LaTeX file that uses \inputenc[utf8]{inputenc}, than one can just use utf8 encoding in the .sty file ...
Grigory M's user avatar
  • 4,904
161 votes
1 answer
317k views

Hash character in LaTeX [duplicate]

Possible Duplicate: Escape character in LaTeX How do you write the # character in LaTeX?
user avatar

1
9 10 11 12
13