Difference between revisions of "Logos"

From Wiki
Jump to navigation Jump to search
 
m (changed pre to texcode)
Line 3: Line 3:
 
In ConTeXt logos are picture or text elements that appear on every page (or on some defined pages) at fixed locations.
 
In ConTeXt logos are picture or text elements that appear on every page (or on some defined pages) at fixed locations.
  
<pre>
+
<texcode>
 
\useexternalfigure[squares][my_square_logo_file][width=120pt]
 
\useexternalfigure[squares][my_square_logo_file][width=120pt]
  
Line 13: Line 13:
 
     width=120pt, height=40pt]
 
     width=120pt, height=40pt]
 
     {\rm\bfb\it\\ \ConTeXt}}, state=start]
 
     {\rm\bfb\it\\ \ConTeXt}}, state=start]
</pre>
+
</texcode>
  
 
You find more in the manual at ''page design''.
 
You find more in the manual at ''page design''.

Revision as of 11:14, 2 September 2004

< Graphics, Overlays

In ConTeXt logos are picture or text elements that appear on every page (or on some defined pages) at fixed locations.

\useexternalfigure[squares][my_square_logo_file][width=120pt]

\defineoverlay    [square-bg][{\externalfigure[squares]}]

\definelogo       [Square][top][right]
    [command={\framed[background=square-bg, 
     align=middle, frame=off,
     width=120pt, height=40pt]
     {\rm\bfb\it\\ \ConTeXt}}, state=start]

You find more in the manual at page design.