如何获取showframe生成的布局的位置信息

如何获取showframe生成的布局的位置信息

例如

\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}

相关内容