I use scrbook
class (see bellow) in my book and sometimes I need typeset wide equation.
\documentclass[%
,fontsize=12pt %
,a3paper % pagesize
,twocolumn
]{scrbook}
\areaset[5mm]{250mm}{350mm}
\unsettoc{toc}{twocolumn}
Is it possible to partially switch between one and two column formatting? I tried to use the library widetext
, but I'm afraid that it is not a part of the MiKTeX distribution. I would like to typeset wide equation in the text, not only at a bottom or top side. Is it possible?
MNWE: (added wide equation; for \setchaptertoc
see KOMA-Script (scrbook): onecolumn table of contents & minitoc in twocolumn document)
\documentclass[twocolumn]{scrbook}
\usepackage[nohints]{minitoc}
\usepackage{amsmath, amsthm, amssymb, amsfonts, amsbsy}
\usepackage{bigints}
\usepackage{mathtools}
\mtcsetrules{minitoc}{off}
\usepackage{lipsum}
\newcommand*{\setchaptertoc}{%
\setchapterpreamble{
\vspace{1.85\baselineskip} % workaround for removed rule
\smash{\makebox[\linewidth]{\hrulefill}} % workaround for removed rule
\vspace{-1.85\baselineskip} % workaround for removed rule
\minitoc
\vspace{-1.15\baselineskip} % workaround for removed rule
\smash{\makebox[\linewidth]{\hrulefill}} % workaround for removed rule
\vspace{1.15\baselineskip} % workaround for removed rule
}}
\newcommand{\dd}[1]{\hspace{2pt}d#1}
\begin{document}
\dominitoc
\tableofcontents
\setchaptertoc
\chapter{One}
\lipsum[1]
\begin{equation}\label{fyz:fey_eq_elstat18}
E_x(x_1, y_1, z_1) =
\int\limits_{\substack{\text{all}\\\text{area}}}\varrho(x_2, y_2, z_2)
\frac{x_1-x_2}{[(x_1-x_2)^2+(y_1-y_2)^2+(z_1-z_2)^2]^{\frac{3}{2}}}\dd{x_2}\dd{y_2}\dd{z_2}
\end{equation}
\lipsum[1]
\section{One, one}
\lipsum[2]
\subsection{One, one, one}
\lipsum[3]
\section{One, two}
\lipsum[4]
\setchaptertoc
\chapter{Two}
\lipsum[5]
\section{Two, one}
\lipsum[6]
\section{Two, two}
\subsection{two, two, one}
\lipsum[7]
\setchaptertoc
\chapter{Three}
\section{Three, one}
\lipsum[8]
\section{Three, two}
\lipsum[9]
\end{document}
scrbook
, so this is just a suggestion. it is unlikely that you can do what you want using thetwocolumn
option -- switching betweentwocolumn
andonecolumn
forces a page break with every change. instead, take a look at themulticol
package, which does allow such switching.widetext
, so I guess, the comment was removed. A simple search with your favorite searching engine should give you Geekery: Widetext in LaTeX (outside RevTeX4). The neededsttools
is part of MiKTeX or can be installed. If you had provided a minimal example I could have test it and write a full answer. For a working download link of “widetext.sty” see egreg’s answer to “Problems using widetext.sty”.