انتقل إلى المحتوى

multicol في Scissor LaTeX

تعمل حزمة multicol في معظمها في Scissor LaTeX: ينضّد \begin{multicols}{3} نصه في ثلاثة أعمدة (يعمل من عمودين إلى ستة)، ويمتد العنوان الاختياري عبر الأعمدة، ويبدأ \columnbreak العمود التالي. تُملأ الأعمدة واحدًا بعد الآخر بدل موازنتها، فأنهِها بـ \columnbreak حيث تريد.

ماذا تفعل الحزمة

تمنحك multicol البيئة multicols، التي تنضّد جزءًا من الصفحة في عمودين أو أكثر متوازنين: \begin{multicols}{3} ... \end{multicols}. ويضع وسيط اختياري عنوانًا يمتد عبر كل الأعمدة، ويفرض \columnbreak الانتقال إلى العمود التالي.

ما الذي يعمل هنا

الميزةفي Scissor LaTeXملاحظات
\begin{multicols}{n} ... \end{multicols}في معظمهمن عمودين إلى ستة. يُملأ كل عمود قبل أن يبدأ التالي؛ ولا تُوازَن الأعمدة.
multicols*في معظمهمثل multicols.
\begin{multicols}{2}[\section{...}]يعمليمتد العنوان عبر الأعمدة.
\columnbreakيعمليبدأ العمود التالي.
\columnsepجزئيًااضبط الفراغ بـ \usepackage[columnsep=1cm]{geometry}؛ ويُتجاهل \setlength{\columnsep}.
\columnsepruleيُحذفلا خط بين الأعمدة.
\documentclass[twocolumn]{article}يعملالمستند كله في عمودين. راجع تخطيط الصفحة.

في تخطيطات المؤتمرات والمجلات، تُبقي multicols نصها في عمود واحد كما كان من قبل.

أمثلة

ثلاثة أعمدة يمتد فوقها عنوان، وتنتهي بـ \columnbreak:

ثلاثة أعمدة و\columnbreak

\begin{multicols}{3}[\section{Notes}]
Erika Mustermann wrote the first part of these notes, about the
setup of the 44 test runs.
\columnbreak

John Doe wrote the second part, about the results.
\columnbreak

Hans Mustermann wrote the last part, about the next study.
\end{multicols}
نضّده Scissor LaTeX: ثلاثة أعمدة و\columnbreak

دون \columnbreak يمتلئ العمود الأول قبل أن يبدأ الثاني، فيبقى النص القصير في العمود الأول. والعنوان المكتوب قبل البيئة يعمل في المكانين:

العنوان قبل multicols

\section{Notes}
\begin{multicols}{2}
The heading above spans the page, as it would in a TeX installation.
\columnbreak

This paragraph starts the second column.
\end{multicols}
نضّده Scissor LaTeX: العنوان قبل multicols

لمستند في عمودين، استخدم خيار الصنف:

خيار الصنف twocolumn

\documentclass[twocolumn]{article}
\title{Two Columns}
\author{Erika Mustermann}
\begin{document}
\maketitle
\section{Introduction}
This document is set in two columns with the \texttt{twocolumn}
option of the class. Every paragraph flows from the left column to
the right one. Lorem ipsum dolor sit amet, consectetuer adipiscing
elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae,
felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy
eget, consectetuer id, vulputate a, magna.
\section{Method}
John Doe measured 44 samples. Donec vehicula augue eu neque.
Pellentesque habitant morbi tristique senectus et netus et malesuada
fames ac turpis egestas. Mauris ut leo.
\end{document}
نضّده Scissor LaTeX: خيار الصنف twocolumn

التوافق

  • من تثبيت TeX إلى هنا: يحصل النص الموجود في multicols على أعمدته، لكنها غير متوازنة: أضف \columnbreak حيث ينبغي أن ينتهي العمود.
  • من هنا إلى تثبيت TeX: تُترجَم المستندات هناك دون تغيير، بأعمدة متوازنة.

الدليل الكامل موجود على CTAN: ctan.org/pkg/multicol. راجع أيضًا تخطيط الصفحة والهوامش وحجم الورق.

انظر أيضًا تخطيط الصفحة وenumitem وparalist والحزم غير المدعومة.

أسئلة وأجوبة

كيف أحصل على عمودين في Scissor LaTeX؟

استخدم \documentclass[twocolumn]{article} للمستند كله، أو \begin{multicols}{2} لجزء من الصفحة.

لماذا كل نصي في العمود الأول؟

تُملأ الأعمدة هنا واحدًا بعد الآخر، ولا تُوازَن. ضع \columnbreak حيث ينبغي أن يبدأ العمود التالي.

كل مثال في هذه الصفحة ينضّده Scissor LaTeX عند بناء الموقع. آخر تحديث: 2026-11-07.