Re: LyX 2.2 -- logo in headers?

2016-11-22 Thread gordon cooper

 We are working in Koma script. Logo on first page is inserted as an image,
at the cursor position on the page.  No additional coding needed.

Insert>Graphics> , with image file in the same folder as the Lyx file.

We have about 100 images in one document, a manual, so have a graphics
sub-folder for them all.

Gordon.


On 23/11/16 04:30, Bernt Lie wrote:

From: Anders Ekberg [mailto:a...@me.com]
Sent: tirsdag 22. november 2016 16.21
To: Bernt Lie <bernt@hit.no>
Cc: lyx-users@lists.lyx.org
Subject: Re: LyX 2.2 -- logo in headers?

On 2016Nov22, at 16:16, Bernt Lie <bernt@hit.no<mailto:bernt@hit.no>> 
wrote:


-Original Message-
From: Anders Ekberg [mailto:a...@me.com]
Sent: tirsdag 22. november 2016 15.45
To: Bernt Lie <bernt@hit.no<mailto:bernt@hit.no>>
Cc: lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org>
Subject: Re: LyX 2.2 -- logo in headers?


On 2016Nov22, at 15:28, Bernt Lie <bernt@hit.no<mailto:bernt@hit.no>> 
wrote:

Using LyX 2.2.1 on Windows 10...

* Is there a way to put a logo in the header of a standard LaTeX article class? 
... or a similar class?

I'm drafting an exam problem, and would like to insert the logo of my 
university in the header...

-Bernt

For footer I put
\cfoot{{\includegraphics{LetterFoot.png}}}
\renewcommand{\headrulewidth}{0pt}
in the footer (no idea why I have the second line, but it works). I guess a 
similar version for \chead would work.
For logos on the front page I found it more easy to just include the logo in 
the text as graphic and modify the margins.
---
Thanks Anders. I tried to insert a figure in the *title* field of the first page, but 
that figure is simply ignored... Perhaps I can put it in the text, and specify it to show 
on the top of the page... Hm. I may try the "\chead" command.

-B

This is my example document. It’s a letter, so there are no Title. Could be 
that a title messes it up.
/@nders
--
OK – I’ll check it tomorrow.
-B





RE: LyX 2.2 -- logo in headers?

2016-11-22 Thread Bernt Lie

From: Anders Ekberg [mailto:a...@me.com]
Sent: tirsdag 22. november 2016 16.21
To: Bernt Lie <bernt@hit.no>
Cc: lyx-users@lists.lyx.org
Subject: Re: LyX 2.2 -- logo in headers?

On 2016Nov22, at 16:16, Bernt Lie <bernt@hit.no<mailto:bernt@hit.no>> 
wrote:


-Original Message-
From: Anders Ekberg [mailto:a...@me.com]
Sent: tirsdag 22. november 2016 15.45
To: Bernt Lie <bernt@hit.no<mailto:bernt@hit.no>>
Cc: lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org>
Subject: Re: LyX 2.2 -- logo in headers?


On 2016Nov22, at 15:28, Bernt Lie <bernt@hit.no<mailto:bernt@hit.no>> 
wrote:

Using LyX 2.2.1 on Windows 10...

* Is there a way to put a logo in the header of a standard LaTeX article class? 
... or a similar class?

I'm drafting an exam problem, and would like to insert the logo of my 
university in the header...

-Bernt

For footer I put
\cfoot{{\includegraphics{LetterFoot.png}}}
\renewcommand{\headrulewidth}{0pt}
in the footer (no idea why I have the second line, but it works). I guess a 
similar version for \chead would work.
For logos on the front page I found it more easy to just include the logo in 
the text as graphic and modify the margins.
---
Thanks Anders. I tried to insert a figure in the *title* field of the first 
page, but that figure is simply ignored... Perhaps I can put it in the text, 
and specify it to show on the top of the page... Hm. I may try the "\chead" 
command.

-B

This is my example document. It’s a letter, so there are no Title. Could be 
that a title messes it up.
/@nders
--
OK – I’ll check it tomorrow.
-B



RE: LyX 2.2 -- logo in headers?

2016-11-22 Thread Bernt Lie

-Original Message-
From: Anders Ekberg [mailto:a...@me.com] 
Sent: tirsdag 22. november 2016 15.45
To: Bernt Lie <bernt@hit.no>
Cc: lyx-users@lists.lyx.org
Subject: Re: LyX 2.2 -- logo in headers?

> On 2016Nov22, at 15:28, Bernt Lie <bernt@hit.no> wrote:
> 
> Using LyX 2.2.1 on Windows 10...
> 
> * Is there a way to put a logo in the header of a standard LaTeX article 
> class? ... or a similar class?
> 
> I'm drafting an exam problem, and would like to insert the logo of my 
> university in the header...
> 
> -Bernt

For footer I put 
\cfoot{{\includegraphics{LetterFoot.png}}}
\renewcommand{\headrulewidth}{0pt}
in the footer (no idea why I have the second line, but it works). I guess a 
similar version for \chead would work.
For logos on the front page I found it more easy to just include the logo in 
the text as graphic and modify the margins.
---
Thanks Anders. I tried to insert a figure in the *title* field of the first 
page, but that figure is simply ignored... Perhaps I can put it in the text, 
and specify it to show on the top of the page... Hm. I may try the "\chead" 
command.

-B



/Anders


Re: LyX 2.2 -- logo in headers?

2016-11-22 Thread Anders Ekberg
On 2016Nov22, at 16:16, Bernt Lie <bernt@hit.no> wrote:-Original Message-From: Anders Ekberg [mailto:a...@me.com] Sent: tirsdag 22. november 2016 15.45To: Bernt Lie <bernt@hit.no>Cc: lyx-users@lists.lyx.orgSubject: Re: LyX 2.2 -- logo in headers?On 2016Nov22, at 15:28, Bernt Lie <bernt@hit.no> wrote:Using LyX 2.2.1 on Windows 10...* Is there a way to put a logo in the header of a standard LaTeX article class? ... or a similar class?I'm drafting an exam problem, and would like to insert the logo of my university in the header...-BerntFor footer I put \cfoot{{\includegraphics{LetterFoot.png}}}\renewcommand{\headrulewidth}{0pt}in the footer (no idea why I have the second line, but it works). I guess a similar version for \chead would work.For logos on the front page I found it more easy to just include the logo in the text as graphic and modify the margins.---Thanks Anders. I tried to insert a figure in the *title* field of the first page, but that figure is simply ignored... Perhaps I can put it in the text, and specify it to show on the top of the page... Hm. I may try the "\chead" command.-BThis is my example document. It’s a letter, so there are no Title. Could be that a title messes it up./@nders

Logo_letter.lyx
Description: Binary data


Re: LyX 2.2 -- logo in headers?

2016-11-22 Thread Anders Ekberg
> On 2016Nov22, at 15:28, Bernt Lie  wrote:
> 
> Using LyX 2.2.1 on Windows 10...
> 
> * Is there a way to put a logo in the header of a standard LaTeX article 
> class? ... or a similar class?
> 
> I'm drafting an exam problem, and would like to insert the logo of my 
> university in the header...
> 
> -Bernt

For footer I put 
\cfoot{{\includegraphics{LetterFoot.png}}}
\renewcommand{\headrulewidth}{0pt}
in the footer (no idea why I have the second line, but it works). I guess a 
similar version for \chead would work.
For logos on the front page I found it more easy to just include the logo in 
the text as graphic and modify the margins.

/Anders