I have 3 more questions:
1.
If the hyphenation is wrong when rendering the document, how can I change it for this word or deactivate it for that single word.
2.
How can I deactivate the hyphenation in general?
3.
If I use the paragraph-style for Literature, it gets the headline "Literaturverzeichnis" (I'm German). But our university only want "Literatur" as headline. But this isn't editable. How can I edit that headline?
LyX ⇒ 3 more questions
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
3 more questions
Hi Pascal,
welcome to the board!
Here are possible solutions. You can apply each of them by copying the corresponding code line into your LyX document preamble. For this, open Document settings in the main menu, and look for the preamble.
welcome to the board!
Here are possible solutions. You can apply each of them by copying the corresponding code line into your LyX document preamble. For this, open Document settings in the main menu, and look for the preamble.
- Use the
\hyphenation
command, mark hyphenation points by a dash (hyphen), such asIn this example, the word "hyphenation" can be broken in three ways. In contrast, the word "question" would not be hyphenated as there's no hyphen in it.Code: Select all
\hyphenation{question hy-phen-a-tion} - Load the hyphenat package:
Code: Select all
\usepackage[none]{hyphenat} - If you loaded the
babel
package withngerman
option, (which means document settings Deutsch, Neue Rechtschreibung), useif it's an article class. If it's a book or report class, useCode: Select all
\addto\captionsngerman{\renewcommand{\refname}{Literatur}}Code: Select all
\addto\captionsngerman{\renewcommand{\bibname}{Literatur}}
LaTeX.org admin
Re: 3 more questions
Hi Stefan,
thanks for the reply. I've tried the first one, but the wrong hyphenated word is still wrong hyphenated.
I only have to add this single line (of course with my word and its hyphenation in the bracktes) into the preamble, right?
Greetings, Pascal
thanks for the reply. I've tried the first one, but the wrong hyphenated word is still wrong hyphenated.
I only have to add this single line (of course with my word and its hyphenation in the bracktes) into the preamble, right?
Greetings, Pascal
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
3 more questions
That's right, just this command in the document preamble.
Perhaps just use
Stefan
Perhaps just use
\-
in the body text where you would like to allow hyphenation, or use \mbox{word}
to forbid it, but that's TeX/LaTeX, not comfortable with LyX.Stefan
LaTeX.org admin
Re: 3 more questions
I could insert a soft hyphen for the word in Lyx. But then I have to do this every time the word appears. Something in the preamble would be better.