Tag Info

Hot answers tagged

13

to accomplish such complex hyphenation requires use of the \discretionary{}{}{} (primitive) facility of tex. this answer quoted from the TeXbook (exercise 14.8, which hides behind a "dangerous bend"). Before 1998, some German words changed their spelling when split between lines. For example, "backen" became "bak-ken" and "Bettuch" sometimes became ...


6

The babel documention states: The macro \<lang>hyphenmins is used to store the values of the \lefthyphenmin and \righthyphenmin. Redefine this macro to set your own values, with two numbers corresponding to these two parameters. So that would be: \renewcommand\ngermanhyphenmins{66}


5

Desperate times, desperate measures.. Use \sloppy \documentclass{scrartcl} \usepackage{polyglossia} \begin{document} \fontsize{30}{30}\selectfont \disablehyphenation \sloppy \section{expected} Aquickbrownfoxjumpsoverthelazydog Aquickbrownfoxjumpsoverthelazydog \section{unexpected} Aquickbrownfoxjumpsoverthelazy ...


4

add \XeTeXlinebreaklocale "bo" after \begin{document} \documentclass{article} \usepackage{fontspec} \setmainfont{Microsoft Himalaya} \usepackage{microtype} \begin{document} \XeTeXlinebreaklocale "bo" །།འདིར་སྨྲས་པ། \begin{quotation} གལ་ཏེ་འདི་དག་ཀུན་སྟོང་ན། །འབྱུང་བ་མེད་ཅིང་འཇིག་པ་མེད།།གང་ཞིག་སྤང་དང་འགོག་པ་ལས། །མྱ་ངན་འདའ་བར་འགྱུར་བར་འདོད། \end{quotation} ...


4

A proof of concept We've checked some common packages, such as ulem (Don­ald Arse­neau) and soul (Mel­chior Franz), after that we've moved our attention to the showhyphens, lua-check-hyphen and lua-visual-debug packages created by Patrick Gundlach. Unfortunately, the OP needs the opposite from what these packages offer. We started our work by analysing and ...


4

If I try the “proper” way, that is, making the apostrophe a letter as far as hyphenation is concerned, I get İs-tan-bu-l-’-lu-la-rın-ki because the patterns allow hyphens at either side of a consonant except for some specific combinations, which don't take the apostrophe into consideration. Perhaps you would consider making a feature request at the ...


2

If you only have the references inside brackets and nothing else fancy... not even nested, then you can make ( active and capture the contents between (...) to manage it: \documentclass{article} \newcommand{\nobreakword}[1]{\mbox{#1}} \begin{document} \raggedright BEFORE\ldots ``Und wir haben die Liebe erkannt und geglaubt, die Gott zu uns hat. Gott ...


2

If your reference is always going to be preceded by quoted material, you could do something along the following lines: \documentclass{article} \usepackage{lipsum} \makeatletter \newcommand\myquote{\my@quote} \def\my@quote(#1)#2{``#2''~\mbox{(#1)}} \makeatother \begin{document} \myquote(1. Johannes 4,16){Und wir haben die Liebe erkannt und geglaubt, die ...


2

\mbox{-} should remove the breakpoint.


1

I found a simple solution: \usepackage[ngerman=nohyphenation]{babel}


1

I gave an answer above yesterday. Through a new research of Polyglossia Package, I find out a new solution to Tibetan line-breaks. In fact, Polyglossia is supporting Tibetan now and I was totally misled by Tom who commented on this question. This is my example. \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} \usepackage{eledmac} ...



Only top voted, non community-wiki answers of a minimum length are eligible