Changes

Jump to navigation Jump to search
1,281 bytes added ,  08:43, 3 March 2021
m
Hint about visual impression
[[File:libreplanet2021.png|500px]]
= "Empty" or Transparent letters = This one requires LMTX.
<context source="yes">
\startMPpage
picture tt ; tt := lmt_outline [
kind = "fillup",
text = "\definedfont[name:texgyrepagellabold*default]%
\framed[frame=off,offset=3mm,align=middle,strut=none]
{MetaPost\\is Fun !\\Aujourd'hui\\Today\\*§ 2020 §*}",
] xsized 12cm ;
path bb ; bb := boundingbox tt ;
path pp ; pp := bb enlarged 2cm ;
fill pp
withshademethod "linear"
withshadedirection (2.,0.)
withshadecolors (\MPcolor{ColorHighA}, \MPcolor{ColorHighB}) ;
for i within tt :
nofill pathpart i;
endfor ;
eofill bb withcolor "gray";
\stopMPpage
</context>
%------------------------------------------------------------------------------ = Background tricks without MetaPost =
picture tt ; tt := lmt_outline [ kind = "fillup", text = "\definedfont[nameFile:texgyrepagellabold*defaultka37_cover.jpg|500px]]% \framed[frame=offThe background structure is a photo (moiree effects in a microphone filter,offset=3mmJPEG),align=middlethe left bar is made with a design program (Affinity Designer,strut=nonePDF) and doesn’t include the structure, everything put together using [[Transparency]].  {MetaPost\\The image above is not a photo of the printed cover but just a JPEG export of the PDF; i.e. even if the cover paper is Fun !\\Aujourd'hui\\Today\\*§ 2020 §*}"new and smooth, ] xsized 12cm ;it looks structured and a bit faded.
path bb ; bb := boundingbox tt;<texcode>
%------------------------------------------------------------------------------ \definefont[SubtitleFont][Sans*normnum at 14pt]\definefont[SubjectFont][Chalkduster*default at 41pt]
path pp ; pp :\setupcolors[ pagecolormodel= bb enlarged 2cm ;auto, fill pp rgb=no,cmyk=yes,spot=no, withshademethod "linear" overprint=yes, withshadedirection intent={Uncoated FOGRA29 (ISO 12647-2.:2004)},0.) withshadecolors (\MPcolor{ColorHighA} textcolor=cmykblack, \MPcolor{ColorHighB});]
\definecolor[cmykblack][c=0,m=0,y=0,k=1]\definecolor[SubjectColor][c=0,m=.1,y=.2,k=.3,a=2,t=1]\definetransparency[tmultiply][a=2,t=1] %------------------------------------------------------------------------------ multiply\definetransparency[tmoiree][a=1,t=.05] % normal, but very light\definetransparency[tsidebar][a=2,t=.5] % multiply, light
picture Paddmissing; Paddmissing := nullpicture;\definemeasure[Bleed][3mm] picture Pwoletters; Pwoletters := nullpicture;\definemeasure[maxWidth][\paperwidth + 1\measure{Bleed}] numeric testwithin ; \definemeasure[maxHeight][\paperheight + 2\measure{Bleed}]\definemeasure[topOffset][\topspace + \measure{Bleed}]
\definelayer[background][ x=0mm,y=-\measure{Bleed}, width=\measure{maxWidth}, height=\measure{maxHeight}] %------------------------------------------------------------------------------ incl. bleed\setupbackgrounds[page][background={background},state=start]
% background structure (moiree)\setlayer[background][ for i within tt :hoffset=-\measure{Bleed}, voffset=-\measure{Bleed}, if stroked i or filled i :]{\starttransparent[tmoiree]% testwithin :\externalfigure[ka37/img/Moiree][height=0;216mm,orientation=90]%\stoptransparent}
for j within tt : % sidebar if stroked j or filled j:\setlayer[background][ if (((xpart llcorner i) > (xpart llcorner j)) and hoffset=0mm, ((ypart llcorner i) > (ypart llcorner j)) and voffset=-\measure{Bleed}, ((xpart urcorner i) < (xpart urcorner j)) and ]{\starttransparent[tsidebar]% ((ypart urcorner i) < (ypart urcorner j))) : testwithin :\externalfigure[ka37/img/Sidebar_KA][height=1; fi; fi; 303mm]% endfor;\stoptransparent}
if testwithin % Motto\setlayerframed[background][ hoffset=45mm, voffset= 1:20mm, addto Paddmissing contour offset=overlay, (pathpart i) frame=off, align=flushleft, withcolor ]{\MPcolor{ColorLow};SubtitleFont% else:Kritische Ausgabe\crlf\vskip4pt% addto Pwoletters contour (pathpart i) withpostscript "collect"; fi; Zeitschrift für Literatur im Dialog}
fi ;% Issue No.\setlayerframed[background][ hoffset=160mm, voffset=20mm, width=28mm, align=flushright, offset=overlay, endfor ;frame=off,]{\definedfont[Sans*normnum at 36pt]37/38} %37
%------------------------------------------------------------------------------ Image\setlayerframed[background][ hoffset=45mm, addto Pwoletters contour voffset=148mm, bb withpostscript "evenodd" withcolor \MPcolor{ColorLow}; width=168mm, draw Pwoletters ;offset=overlay, draw Paddmissing ;frame=off, ]{\starttransparent[tmultiply]%\stopMPpage clip[x=2mm,y=0mm,width=168mm,height=107mm]{% clip to target size<\externalfigure[ka37/context>img/Cover][width=168mm]}%\stoptransparent}
% Subject
\setlayer[background][
hoffset=45mm,
voffset=131mm,
]{\SubjectFont\WORD{\color[SubjectColor]{Werkgespräche}}}
\strut\page
</texcode>
[[Category:Sample documents]]

Navigation menu