11
May

自制Prosper样式:mytu

由于月底要开国际会议,开始着手准备幻灯片,一如既往,抛开PowerPoint,使用Latex+Prosper来生成PDF。今天做了一个新样式,因为打算把学校的校徽放上去,所以整体的颜色就以校徽的颜色为基调,像下面的样子,名字就以我的名字和大学的名字的头字母,mytu,来命名。

A new prosper style screenshot
Prosper样式:mytu。

样式的设计很简单,一个置顶的渐变蓝色背景,一条与校徽中间等高的渐变深蓝色窄条,标题使用白色底,细黑线勾边,这个功能使用了如下的命令:

\newcommand{\slidetitle}[1]{%
\rput[l](-1.4, 4.1){\pscharpath[fillstyle=solid,fillcolor=white,%
linecolor=black,linewidth=0.5pt]{\parbox{13cm}{\fontTitle{#1}}}}}

其中的\pscharpath是Ps-tricks的一个命令,需要pst-char包的支持。另外,\pscharpath与\parbox的顺序不能调换,如果\parbox在前,对于过长的标题就不会自动换行,这是花了好长时间才弄明白的。

校徽的插入并没有在样式中定义,是使用\Logo命令插入的,所以,用户可以自由放置自己学校的图案,宽度设置在1厘米时可达到最佳效果。

\Logo{\includegraphics[width=1cm]{tulogo.eps}}

如果您也是Prosper的用户,并喜欢此样式的话,欢迎下载使用。也许你要插入的Logo不是蓝色的,不要紧,你可以修改样式文件中的颜色定义,变成你喜欢的颜色。

下载此Prosper样式

我用此样式文件制作的PDF演示文稿,此文件曾于国际会议ISCAS05上演讲。

6 Comments so far

Leave a comment

Name(required)
Mail (will not be published)(required)
Website

Fields in bold are required. Email addresses are never published or distributed.

Some HTML code is allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
URIs must be fully qualified (eg: http://www.dupola.com) and all tags must be properly closed.

Line breaks and paragraphs are automatically converted.

Please keep comments relevant. Off-topic, offensive or inappropriate comments may be edited or removed.