Scientific Word/WorkplaceScientific word -Beamer - front matter - logo

Information and discussion about Scientific Word and Scientific Workplace, two commercial WYSIWYG-like editors for Windows
superodge
Posts: 17
Joined: Tue Jun 24, 2008 3:01 pm

Scientific word -Beamer - front matter - logo

Post by superodge »

Hello, I'm a phd student and I'm new to the website
I use scientific workplace (scientific word with maple integrated)
I have a presentation, and I'm using Beamer. I want to insert a logo to front page slide then the logo must be included in the front matter
I'm trying to import the logo, I'm seeing it in the front matter but at the stage of typesetting into pdf, I don't visualize the logo
Can someone help me?
thank you

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Scientific word -Beamer - front matter - logo

Post by Stefan Kottwitz »

Hi superodge,

how do you include the logo? Perhaps show us the corresponding part of your code, a complete minimal working example would be the best.
Which document format does the logo have? pdf?
I would use \pgfdeclareimage and \pgfuseimage.

Stefan
LaTeX.org admin
superodge
Posts: 17
Joined: Tue Jun 24, 2008 3:01 pm

Re: Scientific word -Beamer - front matter - logo

Post by superodge »

Hello,
If I want to insert a logo named logo.jpg in the front matter (in any direction). What follows is the code.

\title[Test]{Presentation}
\subtitle{slide presentation}
\author{Superodge}
\institute[Institute]{University}
\date[06/08]{June 2006}
\maketitle

Thank you
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Scientific word -Beamer - front matter - logo

Post by Stefan Kottwitz »

Hi Superodge,

if you write those lines into your preamble:

Code: Select all

\pgfdeclareimage[height=1.2cm]{uni}{logo}
\logo{\pgfuseimage{uni}}
the logo will be used on all slides, its position is determined by the current theme.

Alternatively just use \pgfuseimage instead of \logo, like
\institute[Institute]{University\\ \pgfuseimage{uni}}
Stefan
LaTeX.org admin
superodge
Posts: 17
Joined: Tue Jun 24, 2008 3:01 pm

Scientific word -Beamer - front matter - logo

Post by superodge »

Code: Select all

\pgfdeclareimage[height=1.2cm]{uni}{logo}
\logo{\pgfuseimage{uni}}
Hi Stefan,
There is one detail I don't catch. In fact I'm not very familiar with the teX codes that's why I'm using scientific workplace, so my question is about the code above
- if the logo is a picture file named logo.jpg, what's uni and logo stand for in the code you gave me?

Thank you in advance
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: Scientific word -Beamer - front matter - logo

Post by Stefan Kottwitz »

Hi Superodge,

logo is used for the filename logo.jpg, uni ist the alias name created by me (university logo). After I declared that I can use the picture by the alias name uni. You could freely choose a different name instead of uni.

Stefan
LaTeX.org admin
superodge
Posts: 17
Joined: Tue Jun 24, 2008 3:01 pm

Scientific word -Beamer - front matter - logo

Post by superodge »

this is what I put in the dcument's preamble

Code: Select all

\pgfdeclareimage[height=1.2cm]{uni}{darin}
\logo{\pgfuseimage{uni}}
where darin is the picture file darin.jpg whis is located in the same folder as the .tex document.
When I typesetted, I got the following error message:

Package pgf Warning: File "darin" not found when defining image "uni".
(pgf) Tried all extensions in "pdf:jpg:jpeg:png" on input line 24.

What's wrong ?

thank you
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: Scientific word -Beamer - front matter - logo

Post by Stefan Kottwitz »

Are there really no uppercase letters in the filename of darin.jpg?

Stefan
LaTeX.org admin
superodge
Posts: 17
Joined: Tue Jun 24, 2008 3:01 pm

Re: Scientific word -Beamer - front matter - logo

Post by superodge »

no uppercases in darin...
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: Scientific word -Beamer - front matter - logo

Post by Stefan Kottwitz »

Strange ... could you post the logfile as attachment here?

Stefan
LaTeX.org admin
Post Reply