如何让Beamer的logo放在右上角
2016-05-30 20:04
891 查看
# 位置
需要导入包
```
\usepackage{beamerfoils}
\usepackage{tikz}
\usepackage{pgf}
\MyLogo{%
%\includegraphics[height=0.15\textwidth]{fig/school.jpg}
\pgfputat{\pgfxy(0,8)}{\pgfbox[right,base]{\includegraphics[height=0.1/textcm]{fig/school.jpg}}}
}
```
# 首先是如何让有些页面有logo
使用上面的\MyLogo然后对需要的frame开启和关闭
```
\LogoOn
\begin{frame}
\titlepage
\end{frame}
\LogoOff
```
# 完整例子
```
\documentclass[t]{beamer}
\usepackage{tikz}
\usepackage{beamerfoils}
\usepackage{pgf}
\MyLogo{
\pgfputat{\pgfxy(0,8)}{\pgfbox[right,base]{\includegraphics[height=1cm]{school.jpg}}}
}
\begin{document}
{
\LogoOn
\begin{frame}[t]{Hello world}
\tableofcontents
\end{frame}
\LogoOff
}
\section{Section 1}
\begin{frame}[t]{Hello world}
\begin{enumerate}
\item Item 1
\item Item 2
\item Item 3
\end{enumerate}
\end{frame}
\section{Section 2}
\begin{frame}[t]{Hello world}
\begin{enumerate}
\item Item 1
\item Item 2
\item Item 3
\end{enumerate}
\end{frame}
\end{document}
```
来自为知笔记(Wiz)
需要导入包
```
\usepackage{beamerfoils}
\usepackage{tikz}
\usepackage{pgf}
\MyLogo{%
%\includegraphics[height=0.15\textwidth]{fig/school.jpg}
\pgfputat{\pgfxy(0,8)}{\pgfbox[right,base]{\includegraphics[height=0.1/textcm]{fig/school.jpg}}}
}
```
# 首先是如何让有些页面有logo
使用上面的\MyLogo然后对需要的frame开启和关闭
```
\LogoOn
\begin{frame}
\titlepage
\end{frame}
\LogoOff
```
# 完整例子
```
\documentclass[t]{beamer}
\usepackage{tikz}
\usepackage{beamerfoils}
\usepackage{pgf}
\MyLogo{
\pgfputat{\pgfxy(0,8)}{\pgfbox[right,base]{\includegraphics[height=1cm]{school.jpg}}}
}
\begin{document}
{
\LogoOn
\begin{frame}[t]{Hello world}
\tableofcontents
\end{frame}
\LogoOff
}
\section{Section 1}
\begin{frame}[t]{Hello world}
\begin{enumerate}
\item Item 1
\item Item 2
\item Item 3
\end{enumerate}
\end{frame}
\section{Section 2}
\begin{frame}[t]{Hello world}
\begin{enumerate}
\item Item 1
\item Item 2
\item Item 3
\end{enumerate}
\end{frame}
\end{document}
```
来自为知笔记(Wiz)
相关文章推荐
- Django 进阶(装饰器,Mixin,信号,模式)
- mongo 启动方式
- Django 的文件存储
- 论删除gmscore后可能出现的问题
- GPS坐标互转:WGS-84(GPS)、GCJ-02(Google地图)、BD-09(百度地图)
- go语言版的猜数字游戏
- Django 前后台的数据传递
- Google Guava之--cache
- 【转】google play上传应用
- DrawerLayout+NavigationView打造Google原生Material Design风格侧滑菜单
- Design Patterns Overview
- Savitzky-Golay平滑去噪
- [SimHash] the Hash-based Similarity Detection Algorithm
- golang学习之文件上传
- 基因数据处理41之mango使用失败
- GO语言获取utc时间戳(time_t)
- django-got an unexpected keyword argument ‘maxlength’
- django中cookies和session
- GOLANG IMPORT使用入门
- goLang 如何开发 windows 窗口界面