Code: Select all
Code, edit and compile here:
\documentclass[a4paper,oneside]{memoir}\usepackage[portrait,hmargin={2cm,2cm},vmargin={1cm,1cm}]{geometry}\usepackage{lipsum}\RequirePackage[draft]{flowfram}\RequirePackage{color}\RequirePackage{graphicx}\usepackage{tikz}\pagestyle{empty}\renewcommand{\chapterfirstpagestyle}{empty}\ffvadjustfalse\onecolumninarea[1]{0.7\textwidth}{\textheight}{0pt}{0pt}% if I changed onecolumninarea to twocolumninarea as following% then no problem% \twocolumninarea[1]{0.7\textwidth}{\textheight}{0pt}{0pt}\twocolumninarea[>1]{\textwidth}{\textheight}{0pt}{0pt}\newdynamicframe[1]{0.29\textwidth}{0.8\textheight}{0.71\textwidth}{0.1\textheight}[tocframe]\setdynamiccontents*{tocframe}{\lipsum[1]}\begin{document}\includegraphics[scale=0.1]{uplogo}\lipsum[1-10]\chapter{Introduction}\lipsum\lipsum\chapter{Introduction}\lipsum\lipsum\end{document}