当我使用“twocolumn”选项编译 examdesign 类的 tex 文档时,我遇到了问题,并且我的电脑上有 Debian-8 (Jessie)。我有 XFCE 4.10 桌面,以防万一信息有用。
当我在 Debian Jessie、examdesign 和 twocolumn 中将 tex 文件转换为 pdfLaTeX 格式时,输出结果的尺寸很奇怪,就好像它必须放在比 A4 纸长得多的纸上一样。例如,第 1 页的输出被截断,纸张用完,但缺失的文本不在第 2 页中。这就像系统期望 pdf 上的纸张大小不同一样。添加选项 a4paper 也无济于事。
奇怪的是,examdesign+twocolumn 组合与 Debian-7(Wheezy,带有 XFCE 4.8)、Ubuntu 14、mac 版 texlive 和 Windows 版配合良好。
此外,在 Debian Jessie 上,只有一列的考试设计也能很好地运行。
在 Debian Jessie 上,其他类别(例如 article)也适用于单列以及双列选项。
所以这似乎是一个奇怪的组合 Debian Jessie + examdesign + twocolumn
我已经在三个系统中测试了同一个 tex 文件。
- 装有 Debian-8 的 PC 一台
- 前者上的 VBox,使用 Debian-7
- 一台 Mac,安装 OSX 10.8.5
仅在第一个(Debian-8)中出现问题。
pdfTeX 的版本在所有版本上都不同。我们可以看到 Debian-8 系统上的版本号小数点后一位多。可能是这个原因吗?
从相应的日志文件:
在 Debian-8 上这是 pdfTeX,版本 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian) (预加载格式=pdflatex 2014.12.11) 2015 年 1 月 19 日 13:55
在 Debian 7 上这是 pdfTeX,版本 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian) (format=pdflatex 2015.1.9) 2015 年 1 月 19 日 14:06
在 Mac 上这是 pdfTeXk,版本 3.1415926-1.40.9 (Web2C 7.5.7) (format=pdflatex 2009.10.4) 2015 年 1 月 19 日 14:01
下面是产生上述结果的 tex 文件。它相当长,因为我想生成几页。这是一份 20 个问题的测试,所有问题都相同。
非常感谢
安东尼奥
%\documentclass[12pt]{examdesign}
\documentclass[10pt,twocolumn]{examdesign}
\setlength{\textwidth}{17cm} \setlength{\textheight}{25cm}
\setlength{\oddsidemargin}{2cm} \setlength{\hoffset}{-3cm}
\setlength{\voffset}{-2cm}
\NoRearrange
%\setrandomseed
%\ContinuousNumbering
\DefineAnswerWrapper{}{}
\NumberOfVersions{1}
\ShortKey
%\OneKey
%\NoKey
\begin{document}
\begin{examtop}
\begin{center}
\textbf{\Large{Title exam}}\qquad
\textbf{\Large{TYPE }}:~\fbox{\Huge{\textsf{\arabic{version}}}}
\end{center}
\end{examtop}
\begin{keytop}
\begin{center}
\textbf{\Large{Title exam}}\qquad
%\examtype,
\Large{\textbf{TYPE}}:~\fbox{\Huge{\textsf{\arabic{version}}}}
\end{center}
\end{keytop}
\begin{multiplechoice}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\begin{question}
Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement. Question statement.
\choice{First choice}
\choice{Second choice}
\choice[!]{Third choice}
\choice{Forth choice}
\end{question}
\end{multiplechoice}
\end{document}