Text FormattingUsing keystroke package, but how can I manage hyphenation?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
latexforever
Posts: 120
Joined: Fri Nov 14, 2008 9:40 pm

Using keystroke package, but how can I manage hyphenation?

Post by latexforever »

Hello,

I am using the hyphenation package, and, in my document, I am using this code:

Code: Select all

After this, just make a soft-reset, pressing simultaneously \keystroke{ON} and \keystroke{C}.
.

Anyway, the dot is put on the following line of text. What can I do to avoid this?

Any help would be much appreciated.
Last edited by latexforever on Tue Jun 23, 2009 10:58 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Using keystroke package, but how can I manage hyphenation?

Post by frabjous »

Try:

Code: Select all

After this, just make a soft-reset, pressing simultaneously \keystroke{ON} and \mbox{\keystroke{C}.}
latexforever
Posts: 120
Joined: Fri Nov 14, 2008 9:40 pm

Using keystroke package, but how can I manage hyphenation?

Post by latexforever »

Thanks. It is a tricky one (I thought there was an option like hyphenation for this), even if it is a main concept of TeX.
I had to use

Code: Select all

After this, just make a soft-reset, pressing simultaneously \keystroke{ON} \mbox{and \keystroke{C}.}
It now works. Thanks. (I should have thought about such a solution; shame on me!)
Post Reply