![更改海报的尺寸](https://linux22.com/image/361794/%E6%9B%B4%E6%94%B9%E6%B5%B7%E6%8A%A5%E7%9A%84%E5%B0%BA%E5%AF%B8.png)
我想将以下 A1 海报的尺寸更改为 22 x 28 英寸。我不想只“拉伸”它以手动适应新尺寸,而是希望根据新尺寸重新排列文本。我尝试了许多不同的选项,但都失败了:
将尺寸更改为非比例的新尺寸(A1 为 23.4 X 33.1 且 22/23.4 不等于 28/33.1)- 因此几何不适合。
与 xclolr、itemize 和代码中的其他包配合良好。
以下是代码:
\documentclass[a1,portrait]{a0poster}
\usepackage{multicol}
\columnsep=100pt
\columnseprule=3pt
\usepackage{pdfposter}
\usepackage[svgnames]{xcolor}
\usepackage{times}
\usepackage{graphicx}
\graphicspath{{figures/}}
\usepackage{booktabs}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{amsfonts, amsmath, amsthm, amssymb}
\usepackage{wrapfig}
\begin{document}
\begin{minipage}[b]{0.75\linewidth}
\Huge \color{NavyBlue} \textbf{Title} \color{Black}\\
\huge\textit{Title}\\[2cm]
\huge \textbf{Name}\\[0.5cm]
\huge University\\[0.4cm]
\Large \texttt{email} \\
\end{minipage}
\begin{minipage}[b]{0.25\linewidth}
\includegraphics[width=20cm]{logo.png}\\
\end{minipage}
\vspace{1cm}
\begin{multicols}{3}
\color{Navy}
\section*{Research Question}
\begin{itemize}
\item blah blah
\end{itemize}
\color{SaddleBrown}
\section*{In This Paper}
\begin{itemize}
\item bla bla
\end{itemize}
\end{multicols}
\end{document}
答案1
仅仅改变纸张宽度是不够的,您还需要重置文本宽度。使用几何图形,它可以正常工作:
\documentclass[a1,portrait]{a0poster}
\usepackage{multicol}
\columnsep=100pt
\columnseprule=3pt
%\usepackage{pdfposter}
\usepackage[svgnames]{xcolor}
\usepackage{times}
\usepackage{graphicx}
\graphicspath{{figures/}}
\usepackage{booktabs}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{amsfonts, amsmath, amsthm, amssymb}
\usepackage{wrapfig,lipsum}
\usepackage{geometry}
\geometry{paperwidth=22in,paperheight=28in,margin=2cm}
\begin{document}
\lipsum[1]
\begin{minipage}[b]{0.75\linewidth}
\Huge \color{NavyBlue} \textbf{Title} \color{Black}\\
\huge\textit{Title}\\[2cm]
\huge \textbf{Name}\\[0.5cm]
\huge University\\[0.4cm]
\Large \texttt{email} \\
\end{minipage}
\begin{minipage}[b]{0.25\linewidth}
\includegraphics[width=20cm]{example-image}\\
\end{minipage}
\vspace{1cm}
\begin{multicols}{3}
\color{Navy}
\section*{Research Question}
\begin{itemize}
\item blah blah
\end{itemize}
\color{SaddleBrown}
\section*{In This Paper}
\begin{itemize}
\item bla bla
\end{itemize}
\end{multicols}
\end{document}
请注意,a0poster 插入的 postscript 特殊内容并不真正适合 pdflatex。在我看来,更明智的解决方案是使用 article.cls,使用 geometry 设置页面大小,并从 a0poster.cls 和 a0size.sty 复制字体大小所需的几行。
答案2
使用默认scrartcl
(文章)类
\documentclass[usegeometry,fontsize=30pt]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage{amsfonts, amsmath, amsthm, amssymb}
\usepackage{geometry}
\geometry{paperwidth=22in,paperheight=28in,margin=2cm}
\usepackage{multicol}
\columnsep=100pt
\columnseprule=3pt
\usepackage[svgnames]{xcolor}
\usepackage{graphicx}
\graphicspath{{figures/}}
\usepackage{booktabs}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{wrapfig,lipsum}
\begin{document}
\lipsum[1]
\begin{minipage}[b]{0.75\linewidth}
\Huge \color{NavyBlue} \textbf{Title} \color{Black}\\
\huge\textit{Title}\\[2cm]
\textbf{Name}\\[0.5cm]
University\\[0.4cm]
\Large \texttt{email} \\
\end{minipage}
\begin{minipage}[b]{0.25\linewidth}
\includegraphics[width=20cm]{example-image}\\
\end{minipage}
\vspace{1cm}
\begin{multicols}{3}
\color{Navy}
\section*{Research Question}
\begin{itemize}
\item blah blah
\end{itemize}
\color{SaddleBrown}
\section*{In This Paper}
\begin{itemize}
\item bla bla
\end{itemize}
\end{multicols}
\end{document}