我这里有一个乳胶代码:
\documentclass{article}
\usepackage{multicol}
\usepackage{enumitem,amssymb}
\usepackage{pdfpages}
\usepackage[thinlines]{easytable}
\newlist{todolist}{itemize}{2}
\setlist[todolist]{label=$\square$}
\begin{document}
\begin{multicols}{2}
\begin{itemize}
\item Immediate plan of action.
\begin{todolist}
\item List item 1 goes here.
\item List item 2 goes here.
\begin{todolist}
\item Sublist item 1 goes here.
\item Sublist item 2 goes here.
\end{todolist}
\item List item 3 goes here
\item List item 4 goes here.
\end{todolist}
\end{itemize}
\columnbreak
\begin{TAB}(r,1cm,1cm)[5pt]{|cccccccccc|}{|cccccccccc|}
A & I & I & R & D & A & T & O & Y & T \\
C & O & M & M & U & T & A & T & O & R \\
P & S & Y & A & I & C & R & G & B & S \\
D & R & Q & U & O & T & I & E & N & T \\
E & O & A & A & B & E & L & I & A & N \\
M & I & D & C & O & A & P & A & A & H \\
I & T & U & P & R & O & D & U & C & T \\
M & O & N & G & W & A & R & T & T & T \\
R & T & T & A & P & I & T & O & A & T \\
S & E & M & I & G & R & O & U & P & C \\
\end{TAB}
\end{multicols}
\begin{multicols}{2}
\begin{itemize}
\item 1.
\begin{todolist}
\item List item 1 goes here.
\item List item 2 goes here.
\begin{todolist}
\item Sublist item 1 goes here.
\item Sublist item 2 goes here.
\end{todolist}
\item List item 3 goes here
\item List item 4 goes here.
\end{todolist}
\end{itemize}
\columnbreak
\begin{TAB}(r,1cm,1cm)[5pt]{|cccccccccc|}{|cccccccccc|}
A & I & I & R & D & A & T & O & Y & T \\
C & O & M & M & U & T & A & T & O & R \\
P & S & Y & A & I & C & R & G & B & S \\
D & R & Q & U & O & T & I & E & N & T \\
E & O & A & A & B & E & L & I & A & N \\
M & I & D & C & O & A & P & A & A & H \\
I & T & U & P & R & O & D & U & C & T \\
M & O & N & G & W & A & R & T & T & T \\
R & T & T & A & P & I & T & O & A & T \\
S & E & M & I & G & R & O & U & P & C \\
\end{TAB}
\end{multicols}
\end{document}
右边的列好像不是正方形,如何才能让它变成正方形,并且字体大小要固定,如何才能缩小页面边距?
如何减少第一列的宽度以便为第二列提供更多空间?
答案1
使用环境b
中的选项TAB
,产生“相等的行高和相等的列宽”(来自文档)。这样表格看起来会更方正。您也可以考虑使用等宽字体(如\ttfamily
)。
对于保证金调整,请考虑使用geometry
,可以在包加载时设置边距(通过可选参数),也可以通过\geometry{...}
。边距可以单独设置(left
,right
,top
,bottom
),成对设置(hmargin
,vmargin
)或整体设置(margin
)。
\documentclass{article}
\usepackage{lipsum}% Just for this example
\usepackage{multicol}
\usepackage[thinlines]{easytable}
\usepackage[margin=1in]{geometry}
\begin{document}
\begin{multicols}{2}
\lipsum[1]
\columnbreak
\begin{TAB}(b)[5pt]{|cccccccccc|}{|cccccccccc|}
A & I & I & R & D & A & T & O & Y & T \\
C & O & M & M & U & T & A & T & O & R \\
P & S & Y & A & I & C & R & G & B & S \\
D & R & Q & U & O & T & I & E & N & T \\
E & O & A & A & B & E & L & I & A & N \\
M & I & D & C & O & A & P & A & A & H \\
I & T & U & P & R & O & D & U & C & T \\
M & O & N & G & W & A & R & T & T & T \\
R & T & T & A & P & I & T & O & A & T \\
S & E & M & I & G & R & O & U & P & C
\end{TAB}
\end{multicols}
\end{document}
答案2
可以使用 geometry 包减少页面边距。示例如下:
\usepackage[信纸,内部=1 英寸,外部=.75 英寸,顶部=1 厘米,底部=1.5 厘米]{几何}