TransWikia.com

twocolumnfalse creates a new page

TeX - LaTeX Asked by Ilya Danilov on March 30, 2021

When using twocolumnfalse, the text of the new section begins on a new page, and I need to start on the same.
In my case, you just need to save this method with twocolumnfalse, but do it somehow differently
MWE:

 documentclass[twocolumn]{memoir}
 usepackage{blindtext}
 usepackage{polyglossia}[2014/05/21]           
 setmainlanguage[babelshorthands=true]{russian}  
 setotherlanguage{english}                       
 setmonofont{Courier New}
 newfontfamilycyrillicfonttt{Courier New}
 ifXeTeX
 defaultfontfeatures{Ligatures=TeX,Mapping=tex-text}
 else

 defaultfontfeatures{Ligatures=TeX}
 fi
 setmainfont{Times New Roman}
 newfontfamilycyrillicfont{Times New Roman}
 setsansfont{Arial}
 newfontfamilycyrillicfontsf{Arial}  


 begin{document}
 blindtext
 twocolumn[
 begin{@twocolumnfalse}
    begin{center}
        {REFERENCES}
    end{center}
    
    label{references}
end{@twocolumnfalse}
]

end{document}

it should be:
enter image description here

what is now:
enter image description here

p.s. I need to use exactly the twocolumnfalse method
I could not use the strip environment and the multicol package

One Answer

It is very simple with the strip environment, form the cuted package:

documentclass[twocolumn]{memoir}
 usepackage{blindtext}
 usepackage{polyglossia}[2014/05/21]
 setmainlanguage[babelshorthands=true]{russian}
 setotherlanguage{english}
 setmonofont{Courier New}
 newfontfamilycyrillicfonttt{Courier New}
 ifXeTeX
 defaultfontfeatures{Ligatures=TeX,Mapping=tex-text}
 else

 defaultfontfeatures{Ligatures=TeX}
 fi
 setmainfont{Times New Roman}
 newfontfamilycyrillicfont{Times New Roman}
 setsansfont{Arial}
 newfontfamilycyrillicfontsf{Arial}
usepackage{cuted}

 begin{document}
 blindtext
 begin{strip}
    begin{center}
        {REFERENCES}
    end{center}
Blindtext[6]
    label{references}
end{strip}
Blindtext[2}

end{document} 

enter image description here enter image description here

Answered by Bernard on March 30, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP