![如何获取showframe生成的布局的位置信息](https://linux22.com/image/443933/%E5%A6%82%E4%BD%95%E8%8E%B7%E5%8F%96showframe%E7%94%9F%E6%88%90%E7%9A%84%E5%B8%83%E5%B1%80%E7%9A%84%E4%BD%8D%E7%BD%AE%E4%BF%A1%E6%81%AF.png)
例如
\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}