How to solve "LaTex:\headheight is too small"
2015-11-07 11:53
295 查看
From url: http://nw360.blogspot.com/2006/11/latex-headheight-is-too-small.html
Latex: \headheight is too small
You never know what you will meet when you use Latex, luckily, we can search Google or Yahoo to find the answer. However, it cannot help all the times. There is a problem you may come across using package fancyhdr:Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 14.49998pt.
We now make it that large for the rest of the document.
It was not easy to find the answer via either Google or Yahoo. Here is the solution. Insert
\setlength{\headheight}{15pt}
in the preamble, i.e. before \begin{document}.
Tips:
\headheight defines the height of the header.
\setlength{len-cmd}{length}
The \setlength command is used to set the value of a length command, len-cmd, which is specified as the first
argument. The length argument can be expressed in any terms of length LaTeX understands, i.e., inches (in), millimeters (mm), points (pt), etc.
相关文章推荐
- Ubuntu12.04 安装LaTex(TexLive+TexMaker+中文环境) 4000
- Miktex 2.9 + Texmaker 中文显示
- 有关LaTeX参考文献的一些问题
- LaTeX实用宏命令
- LaTeX使用小结
- Sublime text 3 + MacTex + Skim 中文显示问题
- 关于LATEX插入图的处理,仅供参考
- LaTeX新人教程,30分钟从完全陌生到基本入门
- LaTeX入门笔记
- 经测可用的3个网页插入Latex公式在线编辑器
- latex 备忘
- (排bug)CTex+TeXstudio中文乱码问题
- 在Windows和Linux下使用LaTeX
- TeX排版记录 多行长公式 括号 对齐 问题
- Synctex无效的问题
- 将jpg/jpeg文件转换为eps格式,在latex文档中插入eps
- 使用LaTex/Ctex遇到的几个问题--内存不足、pgfplots安装等
- .cls vs. .sty
- [20140311]CSDN不能”原生“支持LaTex公式吗?
- 学习LaTeX