42
42
\newlength {\defaultrbleed }
43
43
\setlength {\defaultrbleed }{5mm}
44
44
\newlength {\defaulttbleed }
45
- \setlength {\defaulttbleed }{3mm }
45
+ \setlength {\defaulttbleed }{0mm }
46
46
\newlength {\defaultbbleed }
47
- \setlength {\defaultbbleed }{3mm }
47
+ \setlength {\defaultbbleed }{0mm }
48
48
\newlength {\lbleed }
49
49
\setlength {\lbleed }{0mm} % No bleed in normal mode
50
50
\newlength {\rbleed }
@@ -1330,6 +1330,25 @@ experimental data, examples, figures, etc.).
1330
1330
\end {textblock* }
1331
1331
}
1332
1332
1333
+ \newcommand {\croplineh }[4]{%
1334
+ \setlength {\unitlength }{1mm}
1335
+ \linethickness {.5pt}
1336
+ \setlength {\tmplength }{2mm}
1337
+ \setlength {\tmplength }{#3\tmplength }
1338
+ % \typeout{the tmplenght \the\tmplength}
1339
+ \begin {textblock* }{0mm}(#1+\tmplength ,#2)%
1340
+ \ifthenelse {\equal {#3}{1}}{
1341
+ \begin {picture }(#4,1)(0,-1)
1342
+ \put (0,0){\line (1,0){#4}}
1343
+ \end {picture }
1344
+ }{ % #3 == -1
1345
+ \begin {picture }(-#4,1)(0,-1)
1346
+ \put (0,0){\line (-1,0){#4}}
1347
+ \end {picture }
1348
+ }
1349
+ \end {textblock* }
1350
+ }
1351
+
1333
1352
\newcommand {\useCustomCoverpageIfExists }{%
1334
1353
\IfFileExists {\@customcoverpage }{%
1335
1354
\typeout {adsphd.cls: Using custom cover page (\@customcoverpage )}
@@ -1348,6 +1367,8 @@ experimental data, examples, figures, etc.).
1348
1367
% #2: spinetitlewidth
1349
1368
\setlength {\lbleed }{\defaultlbleed }
1350
1369
\setlength {\rbleed }{\defaultrbleed }
1370
+ \setlength {\tbleed }{\defaulttbleed }
1371
+ \setlength {\bbleed }{\defaultbbleed }
1351
1372
\setlength {\adsphdspinewidth }{#1}
1352
1373
1353
1374
\newlength {\skiplen }
@@ -1371,18 +1392,27 @@ experimental data, examples, figures, etc.).
1371
1392
1372
1393
\newcommand {\drawextracroplines }{%
1373
1394
% Draw some extra crop lines
1395
+ % Croplines on top
1374
1396
\cropline {\rbleed }{0mm}{-1}{5}
1375
1397
\cropline {\rbleed +\adsphdpaperwidth }{0mm}{-1}{5}
1376
1398
\cropline {\rbleed +\lbleed +\adsphdpaperwidth }{0mm}{-1}{10}
1377
1399
\cropline {\rbleed +\lbleed +\adsphdpaperwidth +\adsphdspinewidth }{0mm}{-1}{10}
1378
1400
\cropline {\rbleed +2\lbleed +\adsphdpaperwidth +\adsphdspinewidth }{0mm}{-1}{5}
1379
1401
\cropline {\rbleed +2\lbleed +2\adsphdpaperwidth +\adsphdspinewidth }{0mm}{-1}{5}
1380
- \cropline {\rbleed }{\adsphdpaperheight }{1}{5}
1381
- \cropline {\rbleed +\adsphdpaperwidth }{\adsphdpaperheight }{1}{5}
1382
- \cropline {\rbleed +\lbleed +\adsphdpaperwidth }{\adsphdpaperheight }{1}{10}
1383
- \cropline {\rbleed +\lbleed +\adsphdpaperwidth +\adsphdspinewidth }{\adsphdpaperheight }{1}{10}
1384
- \cropline {\rbleed +2\lbleed +\adsphdpaperwidth +\adsphdspinewidth }{\adsphdpaperheight }{1}{5}
1385
- \cropline {\rbleed +2\lbleed +2\adsphdpaperwidth +\adsphdspinewidth }{\adsphdpaperheight }{1}{5}
1402
+ % Croplines on bottom
1403
+ \cropline {\rbleed }{\adsphdpaperheight +\defaulttbleed +\defaultbbleed }{1}{5}
1404
+ \cropline {\rbleed +\adsphdpaperwidth }{\adsphdpaperheight +\defaulttbleed +\defaultbbleed }{1}{5}
1405
+ \cropline {\rbleed +\lbleed +\adsphdpaperwidth }{\adsphdpaperheight +\defaulttbleed +\defaultbbleed }{1}{10}
1406
+ \cropline {\rbleed +\lbleed +\adsphdpaperwidth +\adsphdspinewidth }{\adsphdpaperheight +\defaulttbleed +\defaultbbleed }{1}{10}
1407
+ \cropline {\rbleed +2\lbleed +\adsphdpaperwidth +\adsphdspinewidth }{\adsphdpaperheight +\defaulttbleed +\defaultbbleed }{1}{5}
1408
+ \cropline {\rbleed +2\lbleed +2\adsphdpaperwidth +\adsphdspinewidth }{\adsphdpaperheight +\defaulttbleed +\defaultbbleed }{1}{5}
1409
+ % Croplines on left
1410
+ \croplineh {0mm}{\tbleed }{-1}{5}
1411
+ \croplineh {0mm}{\tbleed +\adsphdpaperheight }{-1}{5}
1412
+ % Croplines on right
1413
+ \croplineh {2\rbleed +2\lbleed +2\adsphdpaperwidth +\adsphdspinewidth }{\tbleed }{1}{5}
1414
+ \croplineh {2\rbleed +2\lbleed +2\adsphdpaperwidth +\adsphdspinewidth }{\tbleed +\adsphdpaperheight }{1}{5}
1415
+
1386
1416
}
1387
1417
1388
1418
\newcommand {\drawextracroplinesexplanation }{%
@@ -1440,21 +1470,21 @@ experimental data, examples, figures, etc.).
1440
1470
\newcommand {\frontcoverheaderXXIV }[1]{%
1441
1471
\thispagestyle {empty}
1442
1472
% Blue bar on top
1443
- \begin {textblock* }{\adsphdpaperwidth +\lbleed +\rbleed }(0mm-\lbleed +#1,18mm)
1473
+ \begin {textblock* }{\adsphdpaperwidth +\lbleed +\rbleed }(0mm-\lbleed +#1,18mm+ \tbleed )
1444
1474
\textblockcolour {kulprimaryblue}
1445
1475
% \vspace{-\parskip}
1446
1476
\rule {0pt}{34mm}
1447
1477
\end {textblock* }
1448
1478
%
1449
1479
% Create logo box
1450
- \begin {textblock* }{56mm}(10mm+#1,10mm)
1480
+ \begin {textblock* }{56mm}(10mm+#1,10mm+ \tbleed )
1451
1481
% explicitly turn off block colour to prevent the coloured background from popping up due to misalignment of the logo
1452
1482
\textblockcolour {}
1453
1483
\includegraphics [width=56mm,height=20mm]{image/KULEUVEN_LOGO_2012}
1454
1484
\end {textblock* }
1455
1485
%
1456
1486
% Create ADS+faculty box
1457
- \begin {textblock* }{85mm}(16mm+#1,35mm)
1487
+ \begin {textblock* }{85mm}(16mm+#1,35mm+ \tbleed )
1458
1488
\textblockcolour {}
1459
1489
\coverfont
1460
1490
\raggedright
@@ -1481,32 +1511,32 @@ experimental data, examples, figures, etc.).
1481
1511
\begin {textblock* }{\adsphdpaperwidth +\lbleed +\rbleed }(0mm-\lbleed +#1,0mm)
1482
1512
\textblockcolour {kulprimaryblue}
1483
1513
% \vspace{-\parskip}
1484
- \rule {0pt}{18mm}
1514
+ \rule {0pt}{18mm+ \tbleed }
1485
1515
\end {textblock* }
1486
1516
%
1487
1517
% Blue bar below logos
1488
- \begin {textblock* }{\adsphdpaperwidth +\lbleed +\rbleed }(0mm-\lbleed +#1,38mm)
1518
+ \begin {textblock* }{\adsphdpaperwidth +\lbleed +\rbleed }(0mm-\lbleed +#1,38mm+ \tbleed )
1489
1519
\textblockcolour {kulprimaryblue}
1490
1520
% \vspace{-\parskip}
1491
1521
\rule {0pt}{18mm}
1492
1522
\end {textblock* }
1493
1523
%
1494
1524
% Create logo box KU Leuven
1495
- \begin {textblock* }{34mm}(16mm+#1,21mm)
1525
+ \begin {textblock* }{34mm}(16mm+#1,21mm+ \tbleed )
1496
1526
% explicitly turn off block colour to prevent the coloured background from popping up due to misalignment of the logo
1497
1527
\textblockcolour {}
1498
1528
\includegraphics [width=34mm,height=12mm]{image/KULEUVEN_LOGO_2012}
1499
1529
\end {textblock* }
1500
1530
%
1501
1531
% Create logo box partner university
1502
- \begin {textblock* }{34mm}(\adsphdpaperwidth +#1-34mm-16mm,21mm)
1532
+ \begin {textblock* }{34mm}(\adsphdpaperwidth +#1-34mm-16mm,21mm+ \tbleed )
1503
1533
% explicitly turn off block colour to prevent the coloured background from popping up due to misalignment of the logo
1504
1534
\textblockcolour {}
1505
1535
\includegraphics [width=34mm,height=12mm]{image/PARTNER_LOGO}
1506
1536
\end {textblock* }
1507
1537
%
1508
1538
% Create ADS + faculty box KU Leuven
1509
- \begin {textblock* }{85mm}(16mm+#1,43mm)
1539
+ \begin {textblock* }{85mm}(16mm+#1,43mm+ \tbleed )
1510
1540
\textblockcolour {}
1511
1541
\coverfont
1512
1542
\raggedright
@@ -1545,7 +1575,7 @@ experimental data, examples, figures, etc.).
1545
1575
\renewcommand {\makefrontcoverXXIV }{}
1546
1576
\fi
1547
1577
\newcommand {\makefrontcovergeneralXXIV }[2]{%
1548
- \typeout {adsphd.cls: Create cover using bleed = (\the\rbleed ,\the\lbleed )}
1578
+ \typeout {adsphd.cls: Create cover using bleed = (\the\rbleed ,\the\lbleed , \the\tbleed , \the\bbleed )}
1549
1579
% Use Helvetica
1550
1580
\ifadsphd@helveticaneue
1551
1581
\coverfont
@@ -1577,7 +1607,7 @@ experimental data, examples, figures, etc.).
1577
1607
%
1578
1608
% Put a DRAFT notifier on the front page to avoid printing a wrong version
1579
1609
\ifadsphd@final \else
1580
- \begin {textblock* }{120mm}(17.5mm+#1,120mm)
1610
+ \begin {textblock* }{120mm}(17.5mm+#1,120mm+ \tbleed )
1581
1611
\textblockcolour {}
1582
1612
\vspace {-\parskip }
1583
1613
\begin {center }
@@ -1590,15 +1620,15 @@ experimental data, examples, figures, etc.).
1590
1620
\fi
1591
1621
%
1592
1622
% Place the title and subtitle
1593
- \begin {textblock* }{135mm}(16mm+#1,77mm)
1623
+ \begin {textblock* }{135mm}(16mm+#1,77mm+ \tbleed )
1594
1624
\textblockcolour {}
1595
1625
\vspace {-\parskip }
1596
1626
\raggedright
1597
1627
\coverfontsize {32}{38}\selectfont\coverfontlight {\color {kulprimaryblue}\@title }\\ [1ex]
1598
1628
\coverfontsize {20}{25}\selectfont\coverfontlight {\@subtitle }
1599
1629
\end {textblock* }
1600
1630
%
1601
- \begin {textblock* }{160mm}(16mm+#1,174mm) % {hsize}(hpos,vpos)
1631
+ \begin {textblock* }{160mm}(16mm+#1,174mm+ \tbleed ) % {hsize}(hpos,vpos)
1602
1632
\textblockcolour {}%
1603
1633
\setlength {\fboxsep }{0pt}%
1604
1634
{%
@@ -1800,15 +1830,15 @@ without written permission from the publisher.
1800
1830
\thispagestyle {empty}
1801
1831
%
1802
1832
% Background colored block
1803
- \begin {textblock* }{\adsphdpaperwidth +\lbleed +\rbleed }(#1-\rbleed ,18mm)
1833
+ \begin {textblock* }{\adsphdpaperwidth +\lbleed +\rbleed }(#1-\rbleed ,18mm+ \tbleed )
1804
1834
% \begin{textblock*}{\adsphdpaperwidth}(0mm+#1,234mm)
1805
1835
\textblockcolour {kulprimaryblue}
1806
1836
% \vspace{-\parskip}
1807
1837
\rule {0pt}{34mm}
1808
1838
\end {textblock* }
1809
1839
%
1810
1840
% Text box with address
1811
- \begin {textblock* }{124.5mm}(#1,24.5mm)
1841
+ \begin {textblock* }{124.5mm}(#1,24.5mm+ \tbleed )
1812
1842
\textblockcolour {}
1813
1843
\vspace {-\parskip }
1814
1844
% \parbox[c][20mm]{151.2mm+\rbleed}{
@@ -1826,14 +1856,14 @@ without written permission from the publisher.
1826
1856
\end {textblock* }
1827
1857
%
1828
1858
% Blue vertical line
1829
- \begin {textblock* }{1.5mm}(#1+129mm,27.5mm)
1859
+ \begin {textblock* }{1.5mm}(#1+129mm,27.5mm+ \tbleed )
1830
1860
\textblockcolour {kullightblue}
1831
1861
% \vspace{-\parskip}
1832
1862
\rule {0pt}{15mm}
1833
1863
\end {textblock* }
1834
1864
%
1835
1865
% Put KULeuven sedes on top
1836
- \begin {textblock* }{7mm}(135mm+#1,26.9mm)
1866
+ \begin {textblock* }{7mm}(135mm+#1,26.9mm+ \tbleed )
1837
1867
\textblockcolour {}
1838
1868
\vspace {-\parskip }
1839
1869
\includegraphics *[height=16.3mm]{image/sedes.png}%
@@ -1863,17 +1893,17 @@ without written permission from the publisher.
1863
1893
% Blue bar on top
1864
1894
\begin {textblock* }{\adsphdpaperwidth +\lbleed +\rbleed }(#1-\rbleed ,0mm)
1865
1895
\textblockcolour {kulprimaryblue}
1866
- \rule {0mm}{18mm}
1896
+ \rule {0mm}{18mm+ \tbleed }
1867
1897
\end {textblock* }
1868
1898
%
1869
1899
% Blue bar below logos
1870
- \begin {textblock* }{\adsphdpaperwidth +\lbleed +\rbleed }(#1-\rbleed ,38mm)
1900
+ \begin {textblock* }{\adsphdpaperwidth +\lbleed +\rbleed }(#1-\rbleed ,38mm+ \tbleed )
1871
1901
\textblockcolour {kulprimaryblue}
1872
1902
\rule {0mm}{18mm}
1873
1903
\end {textblock* }
1874
1904
%
1875
1905
% Text box with address KU Leuven
1876
- \begin {textblock* }{\adsphdpaperwidth +\lbleed +\rbleed }(#1-16mm, 21mm)
1906
+ \begin {textblock* }{\adsphdpaperwidth +\lbleed +\rbleed }(#1-16mm, 21mm+ \tbleed )
1877
1907
\textblockcolour {}
1878
1908
\fontsize {7}{10}\coverfont
1879
1909
\raggedleft
@@ -1886,7 +1916,7 @@ without written permission from the publisher.
1886
1916
\end {textblock* }
1887
1917
%
1888
1918
% Text box with address partner university
1889
- \begin {textblock* }{100mm}(#1+16mm, 21mm)
1919
+ \begin {textblock* }{100mm}(#1+16mm, 21mm+ \tbleed )
1890
1920
\textblockcolour {}
1891
1921
\fontsize {7}{10}\coverfont
1892
1922
\MakeUppercase\@facultypartner \\ [-1mm]
@@ -1953,7 +1983,7 @@ without written permission from the publisher.
1953
1983
}
1954
1984
}
1955
1985
%
1956
- \begin {textblock* }{\adsphdspinewidth }(0mm+#1,18mm-\authorlenpenalty ) % 9mm whitespace
1986
+ \begin {textblock* }{\adsphdspinewidth }(0mm+#1,18mm-\authorlenpenalty + \tbleed ) % 9mm whitespace
1957
1987
% between blue and first letter of the author name
1958
1988
% (possibly less because the author name might be
1959
1989
% reallyreally long)
0 commit comments