我一直在使用beamer
,其中我的使用columns
方式如下:
\begin{columns}[t]
\justifying
\column{0.45\textwidth}
something1
\column{0.45\textwidth}
something2
\end{columns}
编译时返回错误report
:
! LaTeX Error: Environment columns undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
我怎样才能将其修改为report
?
这里平均能量损失:
\documentclass[12pt,twoside]{report}
\usepackage[headheight=18pt,a4paper, width=150mm, top=25mm, bottom=25mm, bindingoffset=6mm, headsep=18pt]{geometry}
\usepackage[spanish,es-noquoting]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{adjustbox}
\usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=1100,stretch=10,shrink=10]{microtype}
\begin{document}
\begin{columns}[t]
\justifying
\column{0.45\textwidth}
something
ni
ce
\column{0.45\textwidth}
something2
ni
ce
\end{columns}
\end{document}
有什么帮助吗?
答案1
您可以使用多色包裹:
\documentclass[12pt,twoside]{report}
\usepackage[headheight=18pt,a4paper, width=150mm, top=25mm, bottom=25mm, bindingoffset=6mm, headsep=18pt]{geometry}
\usepackage[spanish,es-noquoting]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{adjustbox}
\usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=1100,stretch=10,shrink=10]{microtype}
\usepackage{multicol}
\begin{document}
\begin{multicols}{2}% 2 => 2 columns, justified
something
ni
ce
\columnbreak
something2
ni
ce
\end{multicols}
\end{document}