强制列保留在 LaTeX 中的同一页上
Forcing columns to remain on the same page in LaTeX
我有一张 a4 纸,它被分割成 2/3 是左边的一栏,1/3 是右边的另一栏。我还有一些东西要添加到两者,然后我就完成了,但是当我现在将数据添加到我的右手栏时,它会自动与右手栏分开并转到下一页。我需要强迫他们在一起,我该怎么做?
注意:我在 Overleaf
上使用 Jan Kuster 的 "Sidebar CV" 模板
\documentclass[10pt,a4]{article}
\usepackage[utf8]{inputenc}
\usepackage{xifthen}
\usepackage[light,math]{iwona}
\usepackage{array}
\usepackage[a4paper]{geometry}
\geometry{top=1cm, bottom=-.6cm, left=0.4cm, right=1cm}
\setlength{\headheight}{-5pt}
\setlength{\parindent}{0mm}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{array}
\newcolumntype{x}[1]{%
>{\raggedleft\hspace{0pt}}p{#1}}%
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{float}
\newcommand{\mpwidth}{\linewidth-\fboxsep-\fboxsep}
% This begins the first section
\fcolorbox{white}{white}{\begin{minipage}[c][0.95\textheight][t]{0.69\linewidth}
The columns in the two photos should be on the same page, with the smaller column on the right
This should be to the right of the other column in the previous photo
好吧,非常棘手的修复...但我最终做的是调整我正在使用的纸张的大小。所以最初我使用的是 A4 纸而不是 Letter,并针对所使用的各个 minipages 调整了尺寸。我调整了两者的大小并修剪了小页面的宽度,这解决了我的问题。
我有一张 a4 纸,它被分割成 2/3 是左边的一栏,1/3 是右边的另一栏。我还有一些东西要添加到两者,然后我就完成了,但是当我现在将数据添加到我的右手栏时,它会自动与右手栏分开并转到下一页。我需要强迫他们在一起,我该怎么做?
注意:我在 Overleaf
上使用 Jan Kuster 的 "Sidebar CV" 模板\documentclass[10pt,a4]{article}
\usepackage[utf8]{inputenc}
\usepackage{xifthen}
\usepackage[light,math]{iwona}
\usepackage{array}
\usepackage[a4paper]{geometry}
\geometry{top=1cm, bottom=-.6cm, left=0.4cm, right=1cm}
\setlength{\headheight}{-5pt}
\setlength{\parindent}{0mm}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{array}
\newcolumntype{x}[1]{%
>{\raggedleft\hspace{0pt}}p{#1}}%
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{float}
\newcommand{\mpwidth}{\linewidth-\fboxsep-\fboxsep}
% This begins the first section
\fcolorbox{white}{white}{\begin{minipage}[c][0.95\textheight][t]{0.69\linewidth}
The columns in the two photos should be on the same page, with the smaller column on the right This should be to the right of the other column in the previous photo
好吧,非常棘手的修复...但我最终做的是调整我正在使用的纸张的大小。所以最初我使用的是 A4 纸而不是 Letter,并针对所使用的各个 minipages 调整了尺寸。我调整了两者的大小并修剪了小页面的宽度,这解决了我的问题。