Browse Source

Rectangle works better now

master
Jonathan Spratte 2 years ago
parent
commit
8fee08e9d0
3 changed files with 3 additions and 2 deletions
  1. BIN
      Doc/doc_DSALaTeX.pdf
  2. 1
    1
      Doc/doc_DSALaTeX.tex
  3. 2
    1
      Doc/preamble/macros.tex

BIN
Doc/doc_DSALaTeX.pdf View File


+ 1
- 1
Doc/doc_DSALaTeX.tex View File

@@ -35,7 +35,7 @@
35 35
 \begingroup
36 36
 \begingroup
37 37
 \centering
38
-\Block{4}
38
+\Rectangle{4}
39 39
   {
40 40
     \selectlanguage{british}
41 41
     This documentation is available only in German language as ``Das Schwarze

+ 2
- 1
Doc/preamble/macros.tex View File

@@ -87,11 +87,12 @@
87 87
   }%<<<
88 88
 \tl_set:Nn \l_DSAchar_key_tl { default }
89 89
 \DSAchar_set_default_values:
90
-\newcommand\Block[2]%>>>
90
+\newcommand\Rectangle[2]%>>>
91 91
   {%
92 92
     \begingroup
93 93
       \setbox0\hbox{\ignorespaces #2\ifhmode\unskip\fi}%
94 94
       \begin{minipage}[t]{\dimexpr\wd0/#1\relax}%
95
+        \parfillskip=0pt
95 96
         \ignorespaces #2\ifhmode\unskip\fi%
96 97
       \end{minipage}%
97 98
     \endgroup

Loading…
Cancel
Save