Text FormattingHighlight an Umlaut like "ß"

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
alwin89
Posts: 2
Joined: Wed Jul 20, 2011 3:39 pm

Highlight an Umlaut like "ß"

Post by alwin89 »

Hi there, I've got an umlaut like ß or Ä and I want to higlight it! Generally i've the ngerman babel package and everything. I can write them complile them into pdf's, but I when I highlight it, I can't compile the file. What's wrong? I additionally use the sudo and beamercolor package! \hl and \sethlcolor does function as well...:( can anybody help?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Highlight an Umlaut like "ß"

Post by Stefan Kottwitz »

Hi Alwin,

welcome to the board!
Perhaps post a minimal working example which shows the problem.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Highlight an Umlaut like "ß"

Post by localghost »

It would be very kind if you mention when doing a crossposting [1]*. This is only fair because it prevents others from double efforts and waste of time.

* According to the rules you are obliged to do so.

[1] \hl mit Umlauten .:. goLaTeX — Mein LaTeX-Forum


Best regards and welcome to the board
Thorsten
alwin89
Posts: 2
Joined: Wed Jul 20, 2011 3:39 pm

Re: Highlight an Umlaut like "ß"

Post by alwin89 »

what the heck do you need a working example for? do you wanna stalk my text? Oh dude, sorry for the crossposting. And furthermore, I explained my issue. I need to highlight a extraordinary letter like "Ä" or "ß".What packages do I need?

Congrats that you found out about my crossposting. I hope you wasted not to much time being angry about it! It was my first post. And I'm in a big hurry. 2 Weeks later I didn't get any hints about highlighting some text. thanks.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Highlight an Umlaut like "ß"

Post by frabjous »

alwin89 wrote:what the heck do you need a working example for?
Because it is hard to know what problem you are having otherwise.
do you wanna stalk my text?
He didn't ask for your text. He asked for a MINIMAL example. This is the least you can do if you want people to help you.

As is, it is very hard to help you. You seem to be going out of your way not to be helped.

Without a minimal example, we do not know what packages you are using for highlighting. The soul package maybe?

The following generates errors for me:

Code: Select all

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{soul}
\begin{document}
\hl{ß or Ä}
\end{document}

(Interestingly, it does work if I use \ss and \"A instead of the actual characters.)

But it is fixed if I use the soulutf8 package instead:

Code: Select all

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{soulutf8}
\begin{document}
\hl{ß or Ä}
\end{document}

But we don't know what you're using, because you're too stubborn to provide an example. So this may or may not be your problem.
seul
Posts: 1
Joined: Fri Jan 04, 2013 3:53 pm

Re: Highlight an Umlaut like "ß"

Post by seul »

Frabjous, your answer at least solved my problem and for this I thank you.

People like angry-alwin89 don't get it (he doesn't even know the difference between Umlaut and ligature), and they probably never will.
Post Reply