summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/linebreaker/linebreaker.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/latex/linebreaker/linebreaker.sty')
-rw-r--r--macros/luatex/latex/linebreaker/linebreaker.sty9
1 files changed, 9 insertions, 0 deletions
diff --git a/macros/luatex/latex/linebreaker/linebreaker.sty b/macros/luatex/latex/linebreaker/linebreaker.sty
index 2804f4bbe6..3442adad8c 100644
--- a/macros/luatex/latex/linebreaker/linebreaker.sty
+++ b/macros/luatex/latex/linebreaker/linebreaker.sty
@@ -1,3 +1,11 @@
+% linebreaker.sty
+%
+% (c) Michal Hoftich <michal.h21@gmail.com>
+%
+%% This program can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN archives
+%% in directory macros/latex/base/lppl.txt.
+
\ProvidesPackage{linebreaker}
\RequirePackage{luatexbase}
@@ -16,6 +24,7 @@ luatexbase.add_to_callback("hpack_quality", linebreaker.hpack_quality, "Our over
maxtolerance .code:n = \directlua{linebreaker.max_tolerance = tonumber("#1")},
maxemergencystretch .code:n = \directlua{linebreaker.max_emergencystretch = tex.sp("#1")},
maxcycles .code:n = \directlua{linebreaker.max_cycles = tonumber("#1")},
+ cubic .code:n = \directlua{linebreaker.use_cubic = true}
}
\NewDocumentCommand{\linebreakersetup}{m}{
\keys_set:nn {linebreaker} {#1}