I am facing a problem related to words of german language in my document.
Like i wants to add this writer name in my document "Klüppelberg"
for "ü" i am using "\''u" like "Kl\''uppelberg" and added these packages
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage{multirow}
\usepackage[english,german]{babel}
\usepackage[latin1]{inputenc}
\usepackage{amsmath,amssymb,amsthm,upref}
\usepackage[pdftex]{graphicx} %.jpg, .mps, .pdf, . png, .eps, .mps.
\usepackage{epstopdf}
\usepackage{caption}
but still it is not giving me the required output. Can anyone help me in this? Waiting for replies. Thanks.
regards,
atif
Text Formatting ⇒ Problem of german language words in Latex
NEW: TikZ book now 40% off at Amazon.com for a short time.

Problem of german language words in Latex
It looks like your editor is substituting double single apostrophes for the double quotes. Some LaTeX editors do that, because LaTeX turns '' into an ending double-quote. But for this accent you actually need the real single double quote character " in Kl\"uppelberg rather than '' in Kl\''uppelberg. (It might be hard to tell the difference on the forums, but I mean that you need:
and not:
Though if your editor is Unicode-compliant, consider switching to utf8 for inputenc, and then you can use ü directly if you prefer. (It might be possible to use it with latin1 encoding too, but I can't try that right now.)
Code: Select all
Kl\"uppelberg
Code: Select all
Kl\''uppelberg
Re: Problem of german language words in Latex
Thanks frabjous,
You are right, i was doing mistake in apostrophes. Now it resolved my problem. Thanks again for your kind help.
Regards,
Atif
You are right, i was doing mistake in apostrophes. Now it resolved my problem. Thanks again for your kind help.
Regards,
Atif
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problem of german language words in Latex
Now that the problem is solved, please be so kind and mark the topic (not the last post) accordingly as clearly written in the Board Rules (to be read before posting). Please keep that in mind for the future so that further reminders will not be necessary.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10