Difference between revisions of "Logos"

From Wiki
Jump to navigation Jump to search
(fixed 3 typos in the note on mkiv)
Line 1: Line 1:
< [[Graphics]], [[Overlays]]
 
 
 
{{note|type=attention|1=This functionality is disabled in [[Mark_IV|Mark IV]], use [[Layers|layers]] instead.}}
 
{{note|type=attention|1=This functionality is disabled in [[Mark_IV|Mark IV]], use [[Layers|layers]] instead.}}
  

Revision as of 22:09, 6 June 2020


NOTE: This functionality is disabled in Mark IV, use layers instead.

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.