هل أفادك هذا الدرس؟ اطرح سؤالك أو ملاحظتك — إجابتك قد تساعد طالبًا آخر.
💬 اذهب إلى التعليقاتMultirow and Multicol in tabular
📅 10 December 2024 👁️ المشاهدات: 239 💬 التعليقات
📄 ماذا ستجد في هذه الصفحة؟
• ملف الدرس بصيغة PDF يمكنك معاينته هنا مباشرةً دون تنزيله.
• يمكنك تنزيل الملف من زر التحميل أسفل الصفحة والاحتفاظ به على جهازك.
• ستجد أيضًا دروسًا وامتحانات وتمارين ذات صلة تساعدك على المراجعة وتعميق الفهم.
• أُدرج مصدر LaTeX الكامل أسفل الصفحة لتتمكن من الاطلاع عليه أو تعديله والاستفادة منه.
• هل تحتاج تنسيقًا احترافيًا لموادك الخاصة؟ أقدم خدمة كتابة LaTeX — أرسل المحتوى المطلوب لتحصل على ملف PDF منسق وملف المصدر.
The \multicolumn{3}{alignment}{content} command in LaTeX allows a single cell to span multiple columns. The first argument (3) specifies the number of columns the cell will span, meaning it will cover three adjacent columns. The second argument (|c|) determines the alignment and borders of the spanned cell, where c centers the content, and | adds vertical borders on both sides. The third argument (content) is the text or content of the spanned cell. Similarly, the \multirow{2}{*}{content} command lets a single cell span multiple rows. The first argument (2) specifies the number of rows the cell spans, and the second argument (*) indicates that the width is automatically adjusted to fit the content. The third argument (content) is the actual content of the spanned cell. Together, these commands allow flexible and well-organized table designs in LaTeX.
\documentclass{standalone}
\standaloneconfig{margin=4mm}
\usepackage[utf8]{inputenc}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{array}
\begin{document}
\begin{tabular}{|c|c|c|}
\hline
\multicolumn{3}{|c|}{Multicol and multirow in tabular}\\
\hline
$t_i$ & $\ddot{y}(t_i)$ & $P[t_{i};t_{i-1}]$ \\ \hline
$t_n$ & $\ddot{y}(t_n)$ & \multirow{2}{*}{\(\frac{\ddot{y}(t_n) - \ddot{y}(t_{n-1})}{t_n - t_{n-1}}\)} \\
$t_{n-1}$ & $\ddot{y}(t_{n-1})$ & \\ \hline
\end{tabular}
\end{document}
تنزيل الدرس بصيغة PDF
📥 تنزيل Multirow and Multicol in tabular بصيغة PDFيمكنك الاطلاع على المزيد من موارد LaTeX للمستوى أشكال LaTeX.
📄 هل تحتاج تنسيقًا بـ LaTeX؟
أرسل لي واجبك أو امتحانك أو تمارينك وسأحوّلها إلى ملف PDF احترافي.
اعرف المزيد ←أحدث الدروس
الأكثر مشاهدة
Tous les sujets des suites numériques des examens nationaux 2008 - 2022
views: 3.18K
امتحان • Maths • 2 Bac Science
Control 01 S01 En arithmétiques et Calcul vectoriel - A 2025-2026
views: 2.18K
امتحان • Maths • Tronc Commun Sciences
DM 1 - Arithmetiques, Calcul vectoriel et projection
views: 2.00K
امتحان • Maths • Tronc Commun Sciences
MATHEMATIQUES Examens nationaux 2003-2021 2 Bac.Sciences expérimentales
views: 1.99K
امتحان • Maths • 2 Bac Science
Recent Articles
A Conky Classroom Clock for Tracking Lesson Time
19 Nov 2026
A Tiny Bash Todo List That Greets Every Terminal
19 Nov 2026
Most Viewed Articles
The Ultimate Vim Setup (My 2024 vimrc ) : Essential Commands, Configurations, and Plugin Tips
Views: 1.50K
12 Apr 2024
Complete Tutorial: Creating Categories and Subcategories Using Pages in Pelican
Views: 1.15K
24 Jun 2025
اترك تعليقًا