Latex下怎么加信头呢?

来源:百度知道 编辑:UC知道 时间:2024/05/30 19:16:16
单位信头是图片格式的, 想请教下Latex下如何加上去, 多谢啦.
PS. 我使用的是CTex

Graphics in Page Header/Footer

The commands in the fancyhdr package can insert graphics in the headers and footers.

For example, after splitting the eps le file.eps into the two le file.h and file.ps
as described in Section 15.1, the commands
\documentclass{article}
\usepackage{fancyhdr,graphicx}
\renewcommand{\headheight}{0.6in} %% must be large enough for graphic
\renewcommand{\textheight}{7.5in}
% Define PostScript graphics command
\special{header=file.h}
% Save graphics in LaTeX box
\newsavebox{\mygraphic}
\sbox{\mygraphic}{\includegraphics[totalheight=0.5in]{file.ps}}
\pagestyle{fancy}
\fancyhead{} % clear all header fields
\fancyhead[L]{\usebox{\mygraphic}}
\fancyfoot{} % clear all footer fields
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footr