例如
\documentclass{article}% use option titlepage to get the title on a page of its own.
\usepackage{blindtext}
\usepackage{showframe}
\renewcommand*\ShowFrameColor{\color{blue}}
\title{The Triangulation of Titling Data in Non-Linear Gaussian Fashion via $\rho$ Series\thanks{No procrastination}}
\date{2017\\ December}
\author{John Doe\\ Magic Department\thanks{I am no longer a member of this department}, Richard Miles University
\and Richard Row, \LaTeX\ Academy}
\begin{document}
\maketitle
\section{Introduction}
\blindtext
\end{document}
输出:
showframe产生的信息在文档中描述如下:
输出中蓝色的线是showframe生成的,请问如何获取showframe生成的信息的位置坐标,比如头框的坐标,body框的坐标,脚线的坐标。
答案1
您可以将该layout
包与\layout
宏一起使用:
代码:
\documentclass{article}% use option titlepage to get the title on a page of its own.
\usepackage{blindtext}
\usepackage{showframe}
\usepackage{layout}
\renewcommand*\ShowFrameColor{\color{blue}}
\title{The Triangulation of Titling Data in Non-Linear Gaussian Fashion via $\rho$ Series\thanks{No procrastination}}
\date{2017\\ December}
\author{John Doe\\ Magic Department\thanks{I am no longer a member of this department}, Richard Miles University
\and Richard Row, \LaTeX\ Academy}
\begin{document}\layout
\maketitle
\section{Introduction}
\blindtext
\end{document}