LaTeX tends to break words at the end of the line when that causes better typography. Great. I'd like to have some sort of influence on where the words are broken, though.
For example, LaTeX currently breaks cryptography
into cryptog-raphy
when it does not fit, while I would much rather break it into crypto-graphy
.
I've tried putting an mbox around it (or around both parts of the word) but that just ends up overflowing the hspace.
Is there a way I can put a box around the word but still allow a break at designated points, i.e. after crypto
and before graphy
? I'm fine with doing this on a per-word basis manually.
cryp\-to\-graphy
or better as a rule in the preamble\hyphenation{cryp-to-graphy}
\usepackage[british]{babel}
g
andr
, whereas the associated adjectives (cryptographic, photographic, etc) are supposed to be hyphenated before thegr
group. If that's not in conformance with your hyphenation preferences, be sure to load thebabel
package with the appropriate language option. In your case, thebritish
option may be appropriate.