3
votes
1answer
61 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
0answers
74 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} ...
1
vote
0answers
154 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
150 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 ...
4
votes
1answer
193 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} ...
1
vote
1answer
218 views

Error message with the package inputenc [duplicate]

I'm trying to do a presentation in spanish using beamer and so far my source looks like this: \documentclass{beamer} \usetheme{AnnArbor} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
4
votes
1answer
311 views

Babel not working on OS X? [closed]

I'm using a MacBook Air, with OS X, and I have great difficulties in using Latex in my native language (serbian). If I use the standard babel package in TexShop: \usepackage[utf8]{inputenc} ...
5
votes
1answer
845 views

Special characters in input file

I want to have my sections in independent .txt files in the folder of my assignment. So I use \input{text.txt}. The problem is, I write in Danish and we have the 'æ' 'ø' 'å' characters that aren't ...
15
votes
1answer
771 views

Automatically change é to \'e – most convenient setup for accented letters?

I assume this is really basic question, I'm new to LaTeX, I read a first step tutorial to get ready to write some documents but I couldn't answer my own question at this time and I really don't know ...
5
votes
1answer
593 views

Is it possible to solve encoding problems?

I have some tex files that are corrupted, meaning that characters like accented letters have been replaced with weird symbols. Is it possible to solve this kind of problem after the weird symbols ...
7
votes
2answers
323 views

utf8 characters

I would like to include the output of the npm list command in a latex verbatim block: jeroen@jeroen-ubuntu:~/Desktop$ npm install d3 jeroen@jeroen-ubuntu:~/Desktop$ npm list /home/jeroen/Desktop └─┬ ...
2
votes
1answer
421 views

Special characters stopped appearing in text

I have a unicode text (XeLaTeX) in which I use vowels with umlaut, like ü and ö, which worked but suddenly stoped working. These give an error message: ! Package inputenc Error: Keyboard character ...
5
votes
4answers
2k views

German character not rendered to pdf

I just started using LaTeX, and need to use the character "ü". I already have this in main file : %%% Sprach- und zeichensatzspezifische Pakete \usepackage[latin9]{inputenc} \usepackage[T1]{fontenc} ...
9
votes
2answers
3k views

German Umlauts in BibTeX

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}, ...
8
votes
2answers
890 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 ...