\defineoverlay [backgroundimage] [\reuseMPgraphic{backgroundgraphic}]
\setupbackgrounds [page] [background=backgroundimage]
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
[directory=images_bearbeitet_png]
\definelayer
[backgroundimage]
[width=\paperwidth,
height=\paperheight,
state=repeat,
doublesided=yes]
\setupbackgrounds
[page]
[background=backgroundimage]
\setlayer
[backgroundimage]
[right]
[x=\backspace,
y=\dimexpr\topspace+\headerheight+\head
Jon Wong schrieb am 27.12.2019 um 04:13:
Any way to put the watermark in front?
You can use the foreground to flush the content in a frame and place
then your layer on top of it.
\definecolor [Watermark] [s=1,a=1,t=0.5]
% \defineoverlay
% [watermark]
%
[{\backgroundimage{1
NU General Public License
24 %C along with this program. If not, see <http://www.gnu.org/licenses/>.
25
26 \unprotect
27
28 % Lua functions for the core and also for the frontend modules
29
30 >> \ctxloadluafile{s-cor-00}
31
32 % Constants and variables
33
34 \starti
Am 2017-07-29 um 01:01 schrieb Aditya Mahajan <adit...@umich.edu>:
> On Fri, 28 Jul 2017, Henning Hraban Ramm wrote:
>
>> Ahoi,
>>
>> is there are way to use a texture (i.e. a repeated pixel image) as a
>> background of a frame?
>
> Use \backgroundim
On Fri, 28 Jul 2017, Henning Hraban Ramm wrote:
Ahoi,
is there are way to use a texture (i.e. a repeated pixel image) as a background
of a frame?
Use \backgroundimage
See https://tex.stackexchange.com/a/69138/323
Aditya
\setupletteroptions
[%backgroundimage=/home/juh/Bilder/Diverses/Hintergrund.png,
language=german]
\defineletterelement[layer][reference][rechnung]
{Kundennummer: \correspondenceparameter{kd} \|
Rechnungnummer: \correspondenceparameter{id}}
\setupletterlayer[reference]
[
\framed[offset=overlay,width=6cm,height=3cm]{\backgroundimage
{1}{\hsize}{\vsize}{\externalfigure[cow][width=1cm]}} \blank
\framed[offset=overlay,width=6cm,height=3cm]{\backgroundimage
{2}{\hsize}{\vsize}{\externalfigure[cow][width=1cm]}} \blank
\framed[offset=overlay,width=6cm,height=3cm
containing my letterheading as the page background, and how to
add a horizontal line between the backaddress and the toaddress?
For the page background I currently have:
\setupletter[
backgroundimage={letterhead}
]
but it doesn't seem to do anything. I've tried adding the file
extension.
Thanks
background, and how to
add a horizontal line between the backaddress and the toaddress?
For the page background I currently have:
\setupletter[
backgroundimage={letterhead}
]
but it doesn't seem to do anything. I've tried adding the file
extension.
Thanks,
Mo.
--
Mo
,
\paperheight]} % the actual contents of the layer
% Regular background image...
\definelayer
[BackgroundImage]
[x=0mm, y=0mm,
\paperwidth,
\paperheight,
repeat=yes]
\setlayer
[BackgroundImage] % name of the layer
,
\paperheight]} % the actual contents of the layer
% Regular background image...
\definelayer
[BackgroundImage]
[x=0mm, y=0mm,
\paperwidth,
\paperheight,
repeat=yes]
\setlayer
[BackgroundImage] % name of the layer
On Mon, 2012-07-09 at 10:06 +0200, Wolfgang Schuster wrote:
\setupexternalfigures[directory=Makeup/Images]
\defineoverlay
[backgroundimage]
[{\ifnum\rawcountervalue[userpage]=1\relax
\overlayfigure{Cover}%
\else
\overlayfigure{Background}%
\fi
of the layer
% Regular background image...
\definelayer
[BackgroundImage]
[x=0mm, y=0mm,
\paperwidth,
\paperheight,
repeat=yes]
\setlayer
[BackgroundImage] % name of the layer
{\externalfigure
[Makeup/Images
}%
\hbox}
\newbox\layerbox
3. \backgroundimage (suppress \lineskip)
--- core-box-orig.tex 2008-04-11 10:44:36.0 +0200
+++ core-box.tex2008-10-21 21:42:52.0 +0200
@@ -931,16 +931,16 @@
% to be considered, probably methods
\ifcase#1\or % x and y
]%
ok done
- \egroup}
+ \egroup}%
done, but not needed
+
\setbox\nextbox\vbox{\offinterlineskip\dorecurse{\count2}{\copy\nextbox\endgraf}}%
i added \offinterlineskip higher up
\def\backgroundimage#1#2#3% repeat hsize vsize
{\bgroup
\forgetall
\dowithnextbox
horizontal and
vertical and not streched in both directions.
\defineoverlay[image][\backgroundimage1\overlaywidth\overlayheight{\externalfigure[\framedparameter{backgroundimage}]}]
\framed[width=15cm,height=25cm,backgroundimage=cow.pdf,background=image]{test}
Wow, I never thought of this before
and
vertical and not streched in both directions.
\defineoverlay[image][\backgroundimage1\overlaywidth\overlayheight{\externalfigure[\framedparameter{backgroundimage}]}]
\framed[width=15cm,height=25cm,backgroundimage=cow.pdf
,background=image]{test}
Hi Hans,
nearly perfect but can I also test
Hi Hans,
can you provide a backgroundimage key for localframed (ot use it in framed)
and fastlocalframed (to use it in \setupbackgrounds) to create something like:
\setupexternalfigures[location=global]
\setupcolors[state=start]
\starttext
\defineoverlay
[Wallpaper]
[\backgroundimage{1
Wolfgang Schuster wrote:
Hi Hans,
can you provide a backgroundimage key for localframed (ot use it in framed)
and fastlocalframed (to use it in \setupbackgrounds) to create something like:
\setupexternalfigures[location=global]
\setupcolors[state=start]
\starttext
\defineoverlay
2007/10/11, Hans Hagen [EMAIL PROTECTED]:
Wolfgang Schuster wrote:
Hi Hans,
can you provide a backgroundimage key for localframed (ot use it in
framed)
and fastlocalframed (to use it in \setupbackgrounds) to create something
like:
\setupexternalfigures[location=global]
\setupcolors
.
\defineoverlay[image][\backgroundimage1\overlaywidth\overlayheight{\externalfigure[\framedparameter{backgroundimage}]}]
\framed[width=15cm,height=25cm,backgroundimage=cow.pdf,background=image]{test
and not streched in both directions.
\defineoverlay[image][\backgroundimage1\overlaywidth\overlayheight{\externalfigure[\framedparameter{backgroundimage}]}]
\framed[width=15cm,height=25cm,backgroundimage=cow.pdf,background=image]{test}
Wow, I never thought of this before. This is a really nice
[cover][repeat=yes]}]
\starttext
\setupbackgrounds[page][background=cover]
\startstandardmakeup
My title goes here
\stopstandardmakeup
\stoptext
As one might expect, I get a tiny tile in the centre of the page. Any ideas?
undocumented (needed for x-fo):
\backgroundimage{1}{\hsize}{\vsize
24 matches
Mail list logo