liu2001 发表于 2009-3-23 15:51

请问如何在latex的报告首页加上logo,如大学图标?

我现在用latex写一个报告,用的是report模板。
请问如何在latex的报告首页加上logo,如大学图标?多谢

ithillad 发表于 2009-3-23 16:17

试试用minipage,然后用\includegraphics贴图

liu2001 发表于 2009-3-23 16:34

你好,请问报告中模板中如何加入,能够演示一下?多谢


\title{Manual for Snoopy2Prism Export}
\author{Liu}
\date{20 March 2009   
\maketitle

ithillad 发表于 2009-3-23 17:21

http://zoonek.free.fr/LaTeX/LaTeX_samples_title/0.html

liu2001 发表于 2009-3-24 08:05

多谢!

Lao 发表于 2009-3-24 09:08

这个直接来就可以了
\begin{titlepage}

\begin{center}
\begin{figure}
\centering \epsfig{file=Bilder/eps/图标.eps,
,height=3cm,width=16cm,angle=0}
\end{figure}
。。。
。。。
\end{titlepage}

liu2001 发表于 2009-3-24 10:51

多谢!

liu2001 发表于 2009-3-24 11:01

不好意思,还是弄不好。我把模板的内容拷下来,谁能帮我分析一下怎么回事:多谢了。
我就是想在标题的上方加上学校的图标和名称。

%% Based on a TeXnicCenter-Template by Gyorgy SZEIDL.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%----------------------------------------------------------
%
\documentclass{report}%
%
%----------------------------------------------------------
% This is a sample document for the standard LaTeX Report Class
% Class options
%       --Body text point size:
%                        10pt (default), 11pt, 12pt
%       --Paper size:letterpaper (8.5x11 inch, default)
%                        a4paper, a5paper, b5paper,
%                     legalpaper, executivepaper
%       --Orientation (portrait is the default):
%                     landscape
%       --Printside:oneside (default), twoside
%       --Quality:    final (default), draft
%       --Title page: titlepage, notitlepage
%       --Columns:    onecolumn (default), twocolumn
%       --Start chapter on left:
%                     openright(no), openany (default)
%       --Equation numbering (equation numbers on right is the default)
%                     leqno
%       --Displayed equations (centered is the default)
%                     fleqn (flush left)
%       --Open bibliography style (closed bibliography is the default)
%                     openbib
% For instance the command
%          \documentclass{report}
% ensures that the paper size is a4, fonts are typeset at the size 12p
% and the equation numbers are on the left side.
%
\usepackage{amsmath}%
\usepackage{amsfonts}%
\usepackage{amssymb}%
\usepackage{graphicx}
%----------------------------------------------------------
\newtheorem{theorem}{Theorem}
\newtheorem{acknowledgement}{Acknowledgement}
\newtheorem{algorithm}{Algorithm}
\newtheorem{axiom}{Axiom}
\newtheorem{case}{Case}
\newtheorem{claim}{Claim}
\newtheorem{conclusion}{Conclusion}
\newtheorem{condition}{Condition}
\newtheorem{conjecture}{Conjecture}
\newtheorem{corollary}{Corollary}
\newtheorem{criterion}{Criterion}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
\newtheorem{exercise}{Exercise}
\newtheorem{lemma}{Lemma}
\newtheorem{notation}{Notation}
\newtheorem{problem}{Problem}
\newtheorem{proposition}{Proposition}
\newtheorem{remark}{Remark}
\newtheorem{solution}{Solution}
\newtheorem{summary}{Summary}
\newenvironment{proof}{\textbf{#1.} }{\ \rule{0.5em}{0.5em}}
%----------------------------------------------------------
\begin{document}
\title{Manual forExport}
\author{Liu}
\date{20 March 2009   
\maketitle

liu2001 发表于 2009-3-24 11:05

不好意思,还是弄不好。我把模板的内容拷下来,谁能帮我分析一下怎么回事:多谢了。
我就是想在标题的上方加上学校的图标和名称。

%% Based on a TeXnicCenter-Template by Gyorgy SZEIDL.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%----------------------------------------------------------
%
\documentclass{report}%
%
%----------------------------------------------------------
% This is a sample document for the standard LaTeX Report Class
% Class options
%       --Body text point size:
%                        10pt (default), 11pt, 12pt
%       --Paper size:letterpaper (8.5x11 inch, default)
%                        a4paper, a5paper, b5paper,
%                     legalpaper, executivepaper
%       --Orientation (portrait is the default):
%                     landscape
%       --Printside:oneside (default), twoside
%       --Quality:    final (default), draft
%       --Title page: titlepage, notitlepage
%       --Columns:    onecolumn (default), twocolumn
%       --Start chapter on left:
%                     openright(no), openany (default)
%       --Equation numbering (equation numbers on right is the default)
%                     leqno
%       --Displayed equations (centered is the default)
%                     fleqn (flush left)
%       --Open bibliography style (closed bibliography is the default)
%                     openbib
% For instance the command
%          \documentclass{report}
% ensures that the paper size is a4, fonts are typeset at the size 12p
% and the equation numbers are on the left side.
%
\usepackage{amsmath}%
\usepackage{amsfonts}%
\usepackage{amssymb}%
\usepackage{graphicx}
%----------------------------------------------------------
\newtheorem{theorem}{Theorem}
\newtheorem{acknowledgement}{Acknowledgement}
\newtheorem{algorithm}{Algorithm}
\newtheorem{axiom}{Axiom}
\newtheorem{case}{Case}
\newtheorem{claim}{Claim}
\newtheorem{conclusion}{Conclusion}
\newtheorem{condition}{Condition}
\newtheorem{conjecture}{Conjecture}
\newtheorem{corollary}{Corollary}
\newtheorem{criterion}{Criterion}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
\newtheorem{exercise}{Exercise}
\newtheorem{lemma}{Lemma}
\newtheorem{notation}{Notation}
\newtheorem{problem}{Problem}
\newtheorem{proposition}{Proposition}
\newtheorem{remark}{Remark}
\newtheorem{solution}{Solution}
\newtheorem{summary}{Summary}
\newenvironment{proof}{\textbf{#1.} }{\ \rule{0.5em}{0.5em}}
%----------------------------------------------------------
\begin{document}
\title{Manual forExport}
\author{Liu}
\date{20 March 2009   
\maketitle

liu2001 发表于 2009-3-24 11:06

另外,我如果想用下面的模板,怎么能够加上图标呢?

\documentclass{report}
\usepackage{graphicx}

\makeatletter
% Une commande sembleble ?\rlap ou \llap, mais centrant son argument
\def\clap#1{\hbox to 0pt{\hss #1\hss}}%
% Une commande centrant son contenu (?utiliser en mode vertical)
\def\ligne#1{%
\hbox to \hsize{%
    \vbox{\centering #1}}}%
% Une comande qui met son premier argument ?gauche, le second au
% milieu et le dernier ?droite, la premi鑢e ligne ce chacune de ces
% trois boites co飊cidant
\def\haut#1#2#3{%
\hbox to \hsize{%
    \rlap{\vtop{\raggedright #1}}%
    \hss
    \clap{\vtop{\centering #2}}%
    \hss
    \llap{\vtop{\raggedleft #3}}}}%
% Idem, mais cette fois-ci, c'est la derni鑢e ligne
\def\bas#1#2#3{%
\hbox to \hsize{%
    \rlap{\vbox{\raggedright #1}}%
    \hss
    \clap{\vbox{\centering #2}}%
    \hss
    \llap{\vbox{\raggedleft #3}}}}%
% La commande \maketitle
\def\maketitle{%
\thispagestyle{empty}\vbox to \vsize{%
    \haut{}{\@blurb}{}   
    \vfill
    \ligne{\Large \@title}
    \vspace{5mm}
    \ligne{\Large \@author}
    \vspace{1mm}\ligne{\texttt{<\@email>}}
    \vspace{1cm}
    \vfill
    \vfill
    \bas{}{\@location, \@date}{}
    }%
\cleardoublepage
}
% Les commandes permettant de d閒inir la date, le lieu, etc.
\def\date#1{\def\@date{#1}}
\def\author#1{\def\@author{#1}}
\def\title#1{\def\@title{#1}}
\def\location#1{\def\@location{#1}}
\def\blurb#1{\def\@blurb{#1}}
\def\email#1{\def\@email{#1}}
% Valeurs par d閒aut
\date{\today}
\author{}
\title{}
\location{Paris}
\blurb{}
\email{no email address}
\makeatother
\title{La tour de Teichm黮ler--Grothendieck}
\author{Vincent \textsc{Zoonekynd}}
\email{zoonek@math.jussieu.fr}
\date{le 31 octobre 2000}
\location{Paris}
\blurb{%
   
    Universit?Paris 7 Denis Diderot \\
    UFR de Math閙atiques \\
    Th鑣e en vue de l'obtention du dipl鬽e de \\
    docteur de l'universit?de Paris 7 \\
    en math閙atiques \\
    Directeur de th鑣e : Georges \fsc{Maltsiniotis}
    }%
\begin{document}
\maketitle
\sometext
\end{document}
页: [1] 2
查看完整版本: 请问如何在latex的报告首页加上logo,如大学图标?