LyX ⇒ 3 more questions
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?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10330
- Joined: Mon Mar 10, 2008 9:44 pm
3 more questions
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}}
Re: 3 more questions
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: 10330
- Joined: Mon Mar 10, 2008 9:44 pm
3 more questions
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