From a4e074f68b251dc090d9b473543a9feb9c8ba4d7 Mon Sep 17 00:00:00 2001 From: Elisabeth Henry Date: Wed, 4 Oct 2017 01:54:58 +0200 Subject: [PATCH] Allow hyphenations in \texttt in LaTeX Fixes #42 --- ChangeLog.md | 3 ++- templates/latex/template.tex | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog.md b/ChangeLog.md index 2c1b5cc..81acca7 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -4,7 +4,8 @@ ChangeLog unreleased ------------- * Bugfixes: - * EPUB: escape quotes in content.opf + * EPUB: escape quotes in content.opf. + * LaTeX/PDF: allow hyphenations in typewriter font. 0.13.0 (2017-07-14) ----------------------- diff --git a/templates/latex/template.tex b/templates/latex/template.tex index 64b2dcd..23e1312 100644 --- a/templates/latex/template.tex +++ b/templates/latex/template.tex @@ -26,6 +26,9 @@ \usepackage[<<&tex_lang>>]{babel} % Language support \usepackage{fancyhdr} % Headers +% Allows hyphenatations in \texttt +\usepackage[htt]{hyphenat} + <<#use_url>> % Only included if URLs are used in the document \usepackage[colorlinks=true,breaklinks=true,hypertexnames=false]{hyperref}