可能与物理打印有关,与 LaTex 无关。谷歌搜索该问题没有找到任何解决该问题的答案。希望这里可能有人遇到过类似的问题并能够解决它。
pdf
当通过以下代码生成美国信函尺寸时LuaTex
,pdf measure tool
布局尺寸的测量结果非常准确。但是当将相同的 pdf 发送到打印机时,(Actual size, US letter, portrait settings)
打印机会保持垂直测量(打印的物理页面)非常准确(23.1 cm)
,但水平测量会进一步拉长 2 毫米(即16.7 cm
),而不是 16.5 厘米。
因此,如果在物理页面上打印一个圆圈,它看起来是椭圆形,但在 pdf 文件上看起来像圆形(打印时纵横比会丢失)。
\RequirePackage[l2tabu, orthodox]{nag}
\RequirePackage{fix-cm}
\overfullrule=1mm
\documentclass[11pt,draftclsnofoot,onecolumn,conference]{IEEEtran}
\usepackage[showframe,pass]{geometry}
\usepackage[]{layout}
\usepackage{graphicx}
\usepackage[cmex10]{amsmath}
\interdisplaylinepenalty=2500
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{subcaption}
\usepackage[noadjust]{cite}
\usepackage{epstopdf}
\usepackage[x11names]{xcolor}
\usepackage{setspace}
\usepackage[obeyDraft,colorinlistoftodos]{todonotes}
\usepackage[T1]{fontenc}
%\usepackage[utf8]{inputenc}
\usepackage{charter}
\usepackage{environ}
\usepackage{tikz}
\usetikzlibrary{calc,matrix}
\usepackage[section]{placeins} % it keeps the figures in the respective section
\usepackage{stackengine}
\usepackage{microtype}
\usepackage[colorlinks]{hyperref}
\hypersetup{%
colorlinks = true,
citecolor=Green4,
linkcolor = blue
}
%SPECIAL FONT INITILIZATION
\pagebreak
% *** GRAPHICS RELATED PACKAGES ***
%
\ifCLASSINFOpdf
% \usepackage[pdftex]{graphicx}
% declare the path(s) where your graphic files are
% \graphicspath{{../pdf/}{../jpeg/}}
% and their extensions so you won't have to specify these with
% every instance of \includegraphics
% \DeclareGraphicsExtensions{.pdf,.jpeg,.png}
\else
% or other class option (dvipsone, dvipdf, if not using dvips). graphicx
% will default to the driver specified in the system graphics.cfg if no
% driver is specified.
% \usepackage[dvips]{graphicx}
% declare the path(s) where your graphic files are
% \graphicspath{{../eps/}}
% and their extensions so you won't have to specify these with
% every instance of \includegraphics
% \DeclareGraphicsExtensions{.eps}
\fi
% graphicx was written by David Carlisle and Sebastian Rahtz. It is
% required if you want graphics, photos, etc. graphicx.sty is already
% installed on most LaTeX systems. The latest version and documentation can
% be obtained at:
% correct bad hyphenation here
\hyphenation{}
\begin{document}
\layout
\end{document}