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

Listings Character problem

Hi I want to define a string in Listings but I can not do it in Turkish. I want to write: int[] sayılar= new int[5];' but the output is int[] saylar= new int[5]; How can I write Ç,ç,ı,ö,ü,ğ?
1
vote
1answer
83 views

weird characters coming in some columns

I am using miktex in win 7 my MWE is \documentclass[12pt,a4paper,fleqn]{book} % \usepackage{subfiles} \usepackage{thesis_style} \title{hfvj} \author{fgikf} \date{} \begin{document} ...
0
votes
0answers
36 views

Missing space after “ø” \o [duplicate]

I am writing a German text with some Scandinavian names which include characters like ø. In one case the ø is at the end of the word and the following whitespace is ignored. MWE: ...
33
votes
2answers
739 views

How to number the letters of a sentence?

I need to number the letters of a sentence consecutively. Every letter should have the corresponding small number centered below it (see image below). Does anybody know how to do this? I tried ...
3
votes
1answer
63 views

Redefining a command and special character

I am trying to redefine \v command (wedge above character) to do what \vec does in mathmode and preserve \v in a command called, say \hac. This code works perfect \documentclass{article} \let\hac\v% ...
1
vote
2answers
53 views

Padding underscore with right space

I am using the times package and when using an underscore _ before an italicized upper case character it overlaps. Is it possible to pad the underscore with a small amount of space to the right, or ...
19
votes
1answer
399 views

Is there an `ex` unit equivalent for the capital 'X' in LaTeX

In LaTeX, the ex unit represents the height of a lowercase 'x' in the current font. Is there a length in LaTeX that represents the height of a capital 'X'?
3
votes
1answer
58 views

TeX commands and currency symbols

Why does the code \documentclass{memoir} \usepackage[latin1]{inputenc} \usepackage[danish]{babel} \usepackage[T1]{fontenc} \def£#1£{``#1''} \def€#1€{<#1>} \begin{document} Hi, £this£ is nice, ...
2
votes
1answer
75 views

Rescale a character to fill a complete A4 page

I am maybe looking for the wrong keywords. But I do not find any answer about how to scale a letter to fill the entire A4 page. My first intuitive step was to use the option scale of the package ...
4
votes
3answers
174 views

combine \usepackage{times} and \fontspec \setmainfont

I'm having difficulty finding a Times-like font which has support for Americanist phonetic symbols, bold, italic, bold italic and small caps. Currently, I've got a setup using xelatex which gets me ...
7
votes
2answers
101 views

environment with local \newunicodechar{ä}{ae} or similar — is it possible?

I'm using xelatex with utf8-input. I'm trying to write a LaTeX environment inside of which every source code ä is printed as ae, every ö as oe etc. I found a number of ways that don't work, but so far ...
4
votes
1answer
57 views

Biber Log: “\x{2018}” does not map to iso-8859-1, what does it mean

I'm currently working on a document and everything is working fine. I'm just a curious what these Messages "\x{2018}" does not map to iso-8859-1 at C:\[...]\lib/Biber/Utils.pm line 949. from Biber ...
1
vote
1answer
75 views

Bold \varepsilon not as bold as it should be!

So when I use \bm{\varepsilon} and \bm{\epsilon}, the latter is LOT more highlighted. How can I make \varepsilon as bold as the rest of the symbols? \documentclass[a4paper,11pt]{report} ...
6
votes
2answers
180 views

“Remapping” a single glyph

I am using the excellent Heuristica typeface, but I don't like the way the old style "1" looks. It looks more like an "I" in small caps than an actual number, unlike the Adobe original. Like so: Is ...
3
votes
1answer
133 views

Type regular documents using regular characters in Latex?

I am typing letters in Latex and I would like to just allow characters such as & and ' to be treated as regular characters and not latex related commands. Is there a simple way to this? Thanks
3
votes
1answer
55 views

Creating a smaller vertical bar

I want a vertical bar but in mathematical mode it appears too big. I just want a small | at the same height as the letters.
7
votes
4answers
204 views

Set size of \colorbox for a single character

my question is simple (or not) I want to set the size of the \colorbox command or \fcolorbox command for a single character. The problem is the next: As seen in the image, the height and width are ...
10
votes
2answers
117 views

Expandably change letter case and use inside \csname, without a package

I want to change the letter-case of a single character argument, and use that changed letter inside a \csname. And I want to do it without an additional package. For example, I want to pass a macro ...
1
vote
0answers
31 views

How to format a large text containing special Characters and breaklines? [duplicate]

I have this rather long text which is the output of a several console inputs. I'd like to have the text as it is as of right now. Here a link to the raw text since I didn't want to include it in this ...
4
votes
3answers
156 views

Cannot see special character

\documentclass[11pt,table,a5paper]{article} \usepackage[top=2cm, bottom=2cm, outer=2.1cm, inner=1cm,twoside, headsep=26pt]{geometry} \usepackage{collcell} \begin{document} 20 µg/mL ...
2
votes
2answers
112 views

Umlaut appears on unwanted position

I am using the following imports to be able to write German umlauts. \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} This works just fine, but I am having trouble writing the following ...
1
vote
0answers
75 views

inputenc errors caused by different LaTeX environments?

On my iMac, \usepackage[utf8]{inputenc} get's me Package inputenc Error: Keyboard character used is undefined. I don't get this error on my MacBook. Conversely, \usepackage[latin1]{inputenc} ...
3
votes
1answer
83 views

How to get these symbols in LaTeX? [duplicate]

In my book I found a few of weird symbols: They are used as mark of ellipse, parabola and hyperbola, respectively (E-like, P-like and H-like letters in these images). How to get them in LaTeX ...
0
votes
1answer
53 views

writing “_” like a character

I would like to write \texttt{set_x} where "_" is an character and not a "math instruction". But Latex recognise it like a math instruction and ask for the missing $$...How can I do?
2
votes
1answer
46 views

Substitute characters in text-mode with their math equivalent

I'm looking for a TeXway to substitute - (or other characters) while in text-mode with their math equivalent (i.e. $-$) in one environment/group. I'm looking for a 'switch' (\foo # and not \foo{#}). ...
1
vote
0answers
158 views

Making the Swedish characters å, ä and ö appear [closed]

I need to use the following preamble but can not make the Swedish letters å, ä and ö appear. The part in Swedish is in the separate file called intro_summary.tex. I'm using TeXShop as my editor. I ...
3
votes
1answer
151 views

Auto convert LaTeX escape codes to UTF-8 characters?

How do I—e.g., with AucTeX—automatically convert escaped characters like \~n to ñ for use with \usepackage[utf8]{inputenc}? I could do something like this: sed \ -e "s/\\'a/á/" \ -e ...
0
votes
1answer
166 views

How to get a circle over A

As given on this website, the command \AA is what I am looking for. However it simply produces rA instead of putting a circle over the top vertex of A. How do I fix this? I am trying to get someone's ...
2
votes
0answers
45 views

how to generate a PDF with real UTF characters [duplicate]

I'm using these settings: \epstopdfsetup{outdir=./} \usepackage[italian]{babel} \usepackage[T1]{fontenc} \selectlanguage{italian} \usepackage[utf8]{inputenc} \usepackage{hyperref} in order to write ...
4
votes
1answer
125 views

Completely lost with BibTeX

I'm new to LaTeX, and have managed to transfer an essay I'd written in Word into LaTeX fairly satisfactorily, but I'm now trying to sort out the bibliography using BibTeX and I'm completely lost. I ...
7
votes
1answer
67 views

Character table on style files

What is the reason to insert the code below at the beginning of a style file? For example, the code below can be found on lipsum.sty. %% \CharacterTable %% {Upper-case ...
1
vote
0answers
52 views

How to beautify '+' sign [duplicate]

I am writing a document with LaTeX covering the basics of programming with C++ and unfortunately the '+' signs look kind of ugly to me: They seem to be too big, too thin (regarding the rest of the ...
8
votes
5answers
252 views

Multiple diacritics on one character

As linguistics student, I have to put more than one thing on a character every now and then. For example, I need to type ā̆. I thought I could simply do that by typing \={\u{a}}, but then the macron ...
15
votes
3answers
383 views

two t characters next to each other form one tt glyph

I am using xelatex and linux libertine font. When I write in my text something that contains two t characters next to each other, such as "rotten", it changes these two ts into one tt character. It ...
3
votes
0answers
160 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 ...
6
votes
1answer
167 views

Can I prevent a package from redefining a command?

I like to use runes and letters from other non-standard alphabets as mathematical symbols. However, now the allrunes package is interfering with my other mathematical typesetting. Take this minimal ...
5
votes
1answer
126 views

Strange behaviour with \detokenize and underscore

I just learned about \detokenize, so this question is likely a naive one. Nonetheless, based on what I thought that I understood about \detokenize, I would have expected \detokenize{_} to render as ...
0
votes
0answers
208 views

How to replace (unicode) characters by ü,ğ,ş etc.?

\documentclass[11pt,a4paper]{article} \usepackage[utf8x]{inputenc} \usepackage{ucs} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage[T1]{fontenc} ...
9
votes
1answer
131 views

Inventing New Character for TeX

how can I invent a new symbol/character for TeX. For example, say I want to type the Tengwar letter ungwe (2 IV: http://en.wikipedia.org/wiki/File:Tengwar_alphabet.png), or any other symbol that I ...
4
votes
1answer
142 views

The simplest way to input π in text mode (textual)?

What is the simplest way to input π in text mode if there is only this one greek letter in the whole English text? May be there is one line of code can make it. The following excellent example is ...
9
votes
1answer
76 views

How can I execute some code at each occurence of an EOL character in a listing?

My question is very similar to Peter Grill's, How to detect a tab character when processing a literate in lstlistings? I'm trying to count the number of ^^M characters encountered in my listing ...
4
votes
1answer
199 views

inputenc[utf8] error with input-function of external tex files

I got a problem with inputenc[utf8]. My document is in German and uses 'ä, ö, ü' which usually works fine with the following preamble: \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
6
votes
0answers
112 views

Special characters in graphics filenames [duplicate]

This is my third question in the series of transforming some (~167) documents from HTML to LaTeX. The other questions were related to {inputenc} and {wrapfig}. The original document have several ...
6
votes
2answers
100 views

catoptions destroys french active characters ! and :

A user of my menukeys package reported, that there’s an issue with the activ characters in french, i.e. !, ;, ? and :. I found out that it’s not a bug in menukeys but catoptions seems to interferre ...
6
votes
2answers
225 views

Use detokenize with command line input that has underscores

I'm calling a script where I give a command line input to LaTeX: pdflatex "\def\myvar{given_test} \input{figures.tex}" And then in the script, I try to use this "given_test" input and print it: ...
8
votes
1answer
104 views

Measuring the true height of a character

Suppose you have got a character that sits above the reference point. When you measure its height, the empty space above reference point gets also included in its height measurement but that is not ...
6
votes
1answer
1k views

Error: Command \" invalid in math mode on input line x

I'm receiving the following error Command \" invalid in math mode on input line 60. where my input lines 58-61 are \begin{equation} \label{1} \Delta x=x_{efter}-x_{före} \end{equation} The ...
8
votes
2answers
149 views

If \@percentchar represents %, is there a macro for #?

If \@percentchar represents %, is there a macro for #? I have tried \@sharpchar and \@numberchar but both do not exist. Do you have any idea what is the correct macro name for #?
14
votes
1answer
326 views

How to typeset creative commons analogous character of ©?

I'm aware how to use creative commons logo. But I'm searching for a character that I can insert in a caption to notice that the image (in my case) is under creative commons and not under ©, so it ...
1
vote
0answers
331 views

MikTex doesn't accept “ù” character [closed]

I'm using MikTex and pdfLatex. In the preamble I'm using \usepackage[latin1]{inputenc} because I'm writing in italian, and the text is coded in UTF-8. This works nicely for every type of ...