From cfa490f2f0ec6ffd35af24a948e7c1c304928083 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Sun, 8 Nov 2020 11:15:33 +0100 Subject: use geometry in the documentation. minted needs a temporary patch because of a bug in the current luatex hyphenation mechanism --- arabluatex.dtx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arabluatex.dtx') diff --git a/arabluatex.dtx b/arabluatex.dtx index 01ceabc..610181b 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx @@ -157,6 +157,7 @@ location = {London -- Edinburgh} } \end{filecontents} +\usepackage[letterpaper,margin=1.25in,left=50mm,nohead]{geometry} \usepackage{fontspec} \usepackage[english]{babel} \usepackage{dox} @@ -216,6 +217,13 @@ \usepackage{relsize} \usepackage{tikz} \usepackage[breakable, skins, xparse, minted]{tcolorbox} +\makeatletter +\patchcmd{\minted@checkstyle}{\minted@input{% + \minted@outputdir\minted@cachedir/\ifstrempty{#1}{default-pyg-prefix}{#1}.pygstyle}% + }{\minted@input{% + \minted@outputdir\minted@cachedir/\ifstrempty{#1}{default-pyg-prefix}{#1}.pygstyle}% + \def\PYGZhy{\mbox{\char`\-}}}{}{} +\makeatother \tcbset{colback=white, boxrule=.15mm, colframe=cinnamon, breakable} \newtcbox{\arabluabox}{boxrule=.3mm, left=0mm, right=0mm, top=0mm, -- cgit v1.2.3