Feature SuggestionsReplacement of german "umlauts"

Suggestions and discussions for new TeXnicCenter features
Post Reply
Gaussman
Posts: 1
Joined: Tue Nov 04, 2008 11:13 pm

Replacement of german "umlauts"

Post by Gaussman »

It would be fine if TXC can replace the umlauts to the latex code. For example ü becomes \"{u}.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Replacement of german "umlauts"

Post by localghost »

There is no reason to do that. The inputenc package allows to insert national characters directly in the source. Alternatives to that package are inputenx or selinput from the oberdiek bundle.


Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Replacement of german "umlauts"

Post by Stefan Kottwitz »

Hi Gaussman,

welcome to the board!
inputenc mentioned by Thorsten combined with fontenc allows better hyphenation. For Windows latin1 or latin9 is recommended, you could use

Code: Select all

\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
If you don't use those packages, just \"{u}, the output will contain u and dots above instead of one ü character. That's a problem for hyphenation and possibly for copy&paste of text and the search feature of pdf readers.

But if you use T1 encoding make sure that a T1 encoded font is used, like Latin Modern for example. Or install the cm-super package to get the standard Computer Modern fonts with T1 encoding.

Stefan
LaTeX.org admin
Post Reply