Hi,

My first reaction is to put it in the header, so use the fancyheader package (Document->settings->page_layout->page_style->fancy), and put the commands provided by fancyheader in the preamble.
That's what I do too.

The one problem with using the header is that you can't have the graphic descend into the text, if that's what you want to do. But otherwise, I think it's ideal.
I'm not sure I do understand your argument, but have yoou ever tried to use the picture environment?

I attach a style file where I use this. (This has to reside somewhere tex can find it. Don't forget texhash after you copy such a file into your texmf tree.)

HTH

Hellmut

--
Dr. Hellmut Weber         [EMAIL PROTECTED]
Degenfeldstraße 2         tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq
%%#h#hwwpaper.sty
%%#  Version 1.1 vom 2007-02-06 # mit LyX *.layout
%%#  Version 0.1 vom 2005-12-31 # asymB + srcguide (srcheadings)
%%#    \usepackage{hwwpaper} in entsprechenden Dokumenten
%%#      Noch zu beschreiben:
%%#      Details der Verwendung 
%%#      Voraussetzungen
%%#
%%# ------------------------------------------------------------
%
% \usepackage{helvet}
%
% --- Hier werden die verwendeten Hilfsmittel geladen
%
% --- Erlauben von Arithmetik ---
\usepackage{calc}
%
% --- Einbinden von Grafiken ---
\usepackage{graphicx}
%
% --- Alternativen zulassen ---
\usepackage{xifthen}
%
% --- Elemente der Seite drehen ---
\usepackage{rotating}
%
% --- Liefert die Seitennummer der letzten Seite ---
\usepackage{lastpage}
%
% --- Zum Ausblenden von Textabschnitten ---
\usepackage{moreverb}
%
% --- Stellt das EURO-Symbol zur Verfügung (mit '\euro ') ---
\usepackage{eurosym}
%
% --- Hier wird das Layout möglich gemacht -----------------------------
\usepackage{layout}
%
% === Hier wird mein spezifisches Seitenlayout vorbereitet
\usepackage{scrpage2}
%
% === Hier werden meine speziellen Macros eingeschlürft ===
% !!! Die müssen anscheinend im Vorspann des Lyx-Dokumentes stehen !!!
% \usepackage{hwmacros}
% \usepackage{hwmaketi}
%
% === Hier werden Längenangaben für das Seitenlayout definiert ===
%
% \newcommand{\hfzurueck}{+0.9cm}
% \newcommand{\hfzurueck}{+0.6cm}
% \newcommand{\einrueck}{+1.4cm}
% \newcommand{\undent}{+1.2cm}
% \newcommand{\textwidthkuerzer}{+1.2cm}
%
% \newcommand{\textwidthabswert}{16.5cm-\indentkorrektur}
% \newcommand{\textwidthabswert}{16.5cm-\textwidthkuerzer}
\newcommand{\textheightkorr}{+1.5cm}
%
% \newcommand{\voffsetkorrektur}{-0.9cm}
% \newcommand{\hoffsetkorrektur}{-1.1cm+\einrueck}
% \newcommand{\headsepkorrektur}{+3.0cm}
\newcommand{\headsepkorrektur}{+0.0cm}
% \newcommand{\headheightkorrektur}{+0.9cm}
\newcommand{\headstrut}{\rule{0ex}{+0.3cm}}
%
\newcommand{\footskipkorrektur}{-1.0cm}
%
\newcommand{\topmarginkorrektur}{+1.0cm}
%
% \setheadwidth[+0.8cm-\hfzurueck]{\textwidth-3.7cm}
% \setheadwidth[0pt]{\textwidth}
% \setfootwidth[-0.5cm-\hfzurueck]{\textwidth-2.25cm}
% \setfootwidth[0pt]{\textwidth-2.25cm}
% \setfootwidth[0pt]{\textwidth}
%
% \setheadwidth{\textwidth-4.0cm}
% \setfootwidth{\textwidth-4.0cm}
%
\newcommand{\casabelvx}{-81}
\newcommand{\casabelvy}{+15}
\newcommand{\casabelvhoehe}{1.5cm}
%
\newcommand{\pagex}{10}
\newcommand{\pagey}{0}
%
% --- Kopf- und Fuß-Trennung
%
\setheadtopline{0.01cm}
\setheadsepline{0.00cm}
\setfootsepline{0.00cm}
\setfootbotline{0.01cm}
%
% --- Datum soll auf jede Seite
%
% \newcommand{\datum}{}
%
% --- Kopf- und Fuß-Einträge
%
\newcommand{\lohtext}{=== lohtext ===}
\newcommand{\cohtext}{cohtext}
\newcommand{\rohtext}{rohtext}
\newcommand{\loftext}{%
  \copyright\ Hellmut Weber
  }
\newcommand{\coftext}{coftext}
\newcommand{\roftext}{roftext}
\newcommand{\pagtext}{Seite \thepage}
%
% --- Grafik-Elemente über Kopf- und Fuß-Einträge
%
\rohead{%
  \headstrut\rohtext%
  \begin{picture}(0,0)%
    \put(\casabelvx,\casabelvy){\parbox[t]{2.0cm}{%
      \includegraphics[height=\casabelvhoehe]{casabelv}%
      }}% End-of-parbox, End-of-put
    \end{picture}%
  }%
\cohead{\headstrut\cohtext}
\lohead{\headstrut\lohtext}%
\lofoot{\loftext}
\cofoot{\coftext}
\rofoot{\roftext\ \datum
  % \makeatletter [EMAIL PROTECTED] \makeatother
  \begin{picture}(0,0)%
    \put(\pagex,\pagey){\parbox[t]{2.0cm}{%
      \pagtext%
      }}% End-of-parbox, End-of-put
    \end{picture}%
  }%
%
% --- Schriftstil für Kopf und Fuß
\renewcommand{\headfont}{\normalsize\sffamily\scriptsize}
%
\pagestyle{scrheadings}
%
\addtolength{\topmargin}{\topmarginkorrektur}
% \addtolength{\voffset}{\voffsetkorrektur}
% \addtolength{\hoffset}{\hoffsetkorrektur}
\addtolength{\headsep}{\headsepkorrektur}
% \addtolength{\headheight}{\headheightkorrektur}
%
\addtolength{\footskip}{\footskipkorrektur}
%
% --- Satzspiegel nach links verschieben
% \addtolength{\oddsidemargin}{+1.0cm}
%
% \setlength{\textwidth}{\textwidthabswert}
\addtolength{\textheight}{\textheightkorr}
%
\renewcommand{\labelitemi}{\ding{226}}
\renewcommand{\labelitemii}{\ding{118}}
% \setcounter{secnumdepth}{0} -> LyX-Dokument-Einstellungen
%
% \usepackage{officina}
%
% \newcommand{\oldsection}[2]{\section[#1]{#2}}
% \renewcommand{\section}[2]{
  % \rule{0pt}{0pt}\hspace{-\einrueck}
  % \oldsection[#1]{#2}}
%
% --- Setze Schrift für Bildunterschrift
\setkomafont{caption}{\usekomafont{pagehead}}
%
\endinput
  • Re: Logo Hellmut Weber

Reply via email to