路人丙分享 http://blog.sciencenet.cn/u/kainingwu 食无求饱,居无求安,敏于行而慎于言,就有道而正焉。

博文

Latex 系统找不到指定文件--解决方案

已有 10192 次阅读 2017-10-18 09:41 |系统分类:科研笔记

今天使用beamer做一个幻灯片, 运行时,总出现“系统找不到指定文件”。百度一下,发现了一些解决方案,但对我的问题不起作用。仔细查看了一些问题提示,发现找不到的文件,已经明确提示了,找不到gbk2uni.exe。于是下载一个对应的文件,粘贴的对应的miktex\bin下,搞定。


顺便还做了一个warsaw主题的添加页码。代码如下(个人喜欢的风格,而异,可以自己设定)。导言区添加

\pgfdeclareimage[height=0.25cm]{XXX}{fig/XXXX}

\makeatletter

\usefoottemplate{

 \vbox{\tiny%

   \hbox{%

     \setbox\beamer@linebox=\hbox to\paperwidth{%

       \hbox to.45\paperwidth{\hfill\tiny\color{white}\textbf{\insertshortauthor\quad\insertshortinstitute}\hskip.1cm\lower 0.35em\hbox{\pgfuseimage{hit}}\hskip.5cm}%

       \hbox to.45\paperwidth{\hskip.3cm\tiny\color{white}\textbf{\insertshorttitle}}%

       \hbox to.1\paperwidth{\hskip.3cm\tiny\color{white}\textbf{\insertframenumber{}/\inserttotalframenumber}}\hfill}%

     \ht\beamer@linebox=2.625ex%

     \dp\beamer@linebox=0pt%

     \setbox\beamer@linebox=\vbox{\box\beamer@linebox\vskip1.125ex}%

     \color{structure}\hskip-\Gm@lmargin\vrule width.45\paperwidth height\ht\beamer@linebox

     \color{structure!70}\vrule width.45\paperwidth  height\ht\beamer@linebox

      \color{structure!50}\vrule width.1\paperwidth  height\ht\beamer@linebox

     \hskip-\paperwidth%

     \hbox{\box\beamer@linebox\hfill}\hfill\hskip-\Gm@rmargin}

 }

}


LaTeX初级,高手见笑。



https://blog.sciencenet.cn/blog-229837-1081314.html

上一篇:稍闲
收藏 IP: 129.127.52.*| 热度|

1 王振亭

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-25 05:39

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部