我正在尝试创建一份“非传统”文档。我所说的“非传统”是指具有以下特征的书籍:
页面尺寸为 a3 或 a2 或 a1 或 a0,方向为“横向”
距离页面底部 1cm 的下边距
上边距距页面上边框 1cm
左边距距页面左边框 1cm
右边距距页面右边框 1cm
“书”的页面列数可控制。也就是说,我可以选择书的页面是 5 列、6 列还是 7 列……
柱子之间的距离是可控的。比如说,不大于1cm。
我可以在需要时使用命令来执行分栏操作(
\columnbreak
例如)。文档不会自动调整列的垂直长度。
我尝试使用下面的代码,但没有成功。发生了致命错误。当我尝试使用 a0poster 格式时,发生了以下不良情况:
我无法控制上下边缘。
扬声器的垂直尺寸会自动调整。
行距太长。
提前感谢您的贡献。
\documentclass[10pt,landscape,a3paper]{extbook}
%------Margins and columns ----------------------------
\usepackage[bottom=1.0cm,top=1.0cm,left=1.0cm,right=1.0cm]{geometry}
\usepackage{multicol} % This is so we can have multiple columns of text side-by-side
\columnsep=20pt % This is the amount of white space between the columns in the book.
%------PACKAGES FOR WRITTEN IN PORTUGUESE-------------------
\usepackage[latin1]{inputenc}
\usepackage[brazil]{babel}
%------PACKAGES OF AMERICAN MATHEMATICAL SOCIETY------------
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsxtra}
\usepackage{amsfonts}
\usepackage{amssymb}
%------MATH FONTS PACKAGES----------------------------------
\usepackage[T1]{fontenc}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
%------TIKZ PACKAGES----------------------------------------
\usepackage{dsfont}
\usepackage{tikz}
\usetikzlibrary{matrix}
\usepackage{graphicx}
%-----PACKAGE TO PUT THE CAPTIONS IN PICTURES---------------
\usepackage{caption}
\setlength{\captionmargin}{25pt}
%-----PACKAGE TO COMMENTS-----------------------------------
\usepackage{comment}
%-----PACKAGES FOR customize INDEX--------------------------
\usepackage{tocloft}
\usepackage{tocvsec2}
\usepackage{makeidx}
%------ BibTeX and bibliographystyle------------------------
\usepackage{natbib}
%------ Outers packages-------------------------------------
\usepackage{cite}
\usepackage{upref}
\usepackage{color}
\usepackage[active]{srcltx}
\usepackage{multicol}
\usepackage{enumerate}
\usepackage{hyperref}
\usepackage{MnSymbol}
%------- packet to write inside colored boxes-----
\usepackage{mdframed}
\usepackage{tcolorbox}
\definecolor{cinza}{gray}{0.95}
%\begin{tcolorbox}[colback=cinza,arc=0.0pt,outer arc=0.0pt,colframe=black,boxrule=0.0pt]
%\end{tcolorbox}
%
%----------------------------------------------------------
\newtheorem{theorem}[subsection]{Teorema}
\newtheorem{definition}[subsection]{Definição}
\newtheorem{lema}[subsection]{Lema}
\newtheorem{proposition}[subsection]{Proposição}
\newtheorem{observation}[subsection]{Observação}
\newtheorem{notation}[subsection]{Notação}
\newtheorem{corollary}[subsection]{Corolário}
\newtheorem{exercise}{Exercício}
\newtheorem{exemple}[section]{Exemplo}
\newtheorem{question}[section]{Questão}
%%%---------------------------------------------------
\usepackage{multirow}
\usepackage{colortbl}
%%%---------------------------------------------------
\begin{document}
\begin{multicols}{6}
\fontsize{3.0mm}{3.4mm}
\begin{tcolorbox}[colback=cinza,arc=0.0pt,outer arc=0.0pt,colframe=black,boxrule=0.0pt]
\begin{theorem}
Exemple of theorem.
\end{theorem}
\end{tcolorbox}
\end{multicols}
\end{document}
答案1
所有评论合并试试这个
\documentclass[10pt,landscape,a3paper]{extbook}
%------Margins and columns ----------------------------
\usepackage[bottom=1.0cm,top=1.0cm,left=1.0cm,right=1.0cm]{geometry}
\usepackage{multicol} % This is so we can have multiple columns of text side-by-side
\columnsep=20pt % This is the amount of white space between the columns in the book.
%------PACKAGES FOR WRITTEN IN PORTUGUESE-------------------
\usepackage[utf8]{inputenc}
\usepackage[english,brazil]{babel}
%------PACKAGES OF AMERICAN MATHEMATICAL SOCIETY------------
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsxtra}
\usepackage{amsfonts}
\usepackage{amssymb}
%------MATH FONTS PACKAGES----------------------------------
\usepackage[T1]{fontenc}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
%------TIKZ PACKAGES----------------------------------------
\usepackage{dsfont}
\usepackage{tikz}
\usetikzlibrary{matrix}
\usepackage{graphicx}
%-----PACKAGE TO PUT THE CAPTIONS IN PICTURES---------------
\usepackage{caption}
\setlength{\captionmargin}{25pt}
%-----PACKAGE TO COMMENTS-----------------------------------
\usepackage{comment}
%-----PACKAGES FOR customize INDEX--------------------------
\usepackage{tocloft}
\usepackage{tocvsec2}
\usepackage{makeidx}
%------ BibTeX and bibliographystyle------------------------
\usepackage{natbib}
%------ Outers packages-------------------------------------
\usepackage{cite}
\usepackage{upref}
\usepackage{color}
\usepackage[active]{srcltx}
\usepackage{lipsum}
\usepackage{enumerate}
\usepackage{MnSymbol}
%------- packet to write inside colored boxes-----
\usepackage{mdframed}
\usepackage{tcolorbox}
\definecolor{cinza}{gray}{0.95}
%\begin{tcolorbox}[colback=cinza,arc=0.0pt,outer arc=0.0pt,colframe=black,boxrule=0.0pt]
%\end{tcolorbox}
%
%----------------------------------------------------------
\newtheorem{theorem}[subsection]{Teorema}
\newtheorem{definition}[subsection]{Definição}
\newtheorem{lema}[subsection]{Lema}
\newtheorem{proposition}[subsection]{Proposição}
\newtheorem{observation}[subsection]{Observação}
\newtheorem{notation}[subsection]{Notação}
\newtheorem{corollary}[subsection]{Corolário}
\newtheorem{exercise}{Exercício}
\newtheorem{exemple}[section]{Exemplo}
\newtheorem{question}[section]{Questão}
%%%---------------------------------------------------
\usepackage{multirow}
\usepackage{colortbl}
\usepackage{hyperref}%%---------------------------------------------------
\begin{document}
\begin{multicols*}{6}
\fontsize{3.0mm}{3.4mm}
\begin{tcolorbox}[colback=cinza,arc=0.0pt,outer arc=0.0pt,colframe=black,boxrule=0.0pt]
\begin{theorem}
Exemple of theorem.
\end{theorem}
\end{tcolorbox}
\lipsum[1-12]
\vspace{3cm}
\lipsum[1-8]
\end{multicols*}
\end{document}
可以嵌套多列,但一般建议不要这样做,因为下游可能会出现问题,但有些用户发现,只要小心避免从一个列溢出到另一个列,就可以满足他们的需求。重新评估目标用途并找到其他方式(包)来放置框和浮动框可能会更简单,也许可以看看大型海报(baposter tikzposter 等)如何处理此类问题