diff options
author | Jonas Smedegaard <dr@jones.dk> | 2015-03-25 04:02:26 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2015-03-25 04:02:26 +0100 |
commit | 3d50ce7e8304d76fe3d6a99c2e794b9000db608a (patch) | |
tree | 4dcd3f720a2c516040f1188c243a8c991e5c0bee | |
parent | e38663a49a22576899f27fdaa646d8ee6d61fc81 (diff) |
Tune wrapping of URLs.
-rw-r--r-- | header.tex | 12 | ||||
-rw-r--r-- | template.tex | 1 |
2 files changed, 7 insertions, 6 deletions
@@ -14,12 +14,12 @@ \todo[fancyline]{#1}\hl{#2}} \hypersetup{breaklinks,hidelinks,draft=false} \usepackage[defaultlines=4,all]{nowidow} -\def\UrlBreaks{% - \do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l\do\m - \do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z - \do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L\do\M - \do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z - \do0\do1\do2\do3\do4\do5\do6\do7\do8\do9\do=\do:\do\/\do\.} +%\def\UrlBreaks{% +% \do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l\do\m +% \do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z +% \do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L\do\M +% \do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z +% \do0\do1\do2\do3\do4\do5\do6\do7\do8\do9\do=\do:\do\/\do\.} \semiisopage[7] \checkandfixthelayout \usepackage{foreign} diff --git a/template.tex b/template.tex index e1ede4f..8cc9e83 100644 --- a/template.tex +++ b/template.tex @@ -82,6 +82,7 @@ $if(graphics)$ % using explicit options in \includegraphics[width, height, ...]{} \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio} $endif$ +\usepackage[hyphens]{url} \usepackage{hyperxmp} \ifxetex \usepackage[setpagesize=false, % page size defined by xetex |