Skip to content

Commit f661fe2

Browse files
authored
ENH: Add multicol PDF (#27)
1 parent 964fb47 commit f661fe2

File tree

5 files changed

+52
-0
lines changed

5 files changed

+52
-0
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,7 @@ dmypy.json
127127

128128
# Pyre type checker
129129
.pyre/
130+
131+
# LaTeX
132+
*.aux
133+
*.log

026-latex-multicolumn/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
make:
2+
pdflatex multicolumn.tex

026-latex-multicolumn/multicolumn.pdf

76.8 KB
Binary file not shown.

026-latex-multicolumn/multicolumn.tex

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
\documentclass[twocolumn]{article}
2+
\usepackage{lipsum}
3+
\usepackage{booktabs}
4+
\begin{document}
5+
6+
\title{Two-Column Document with Lorem Ipsum}
7+
\author{Your Name}
8+
\date{\today}
9+
10+
\maketitle
11+
12+
\begin{abstract}
13+
This is a sample document with two columns filled with Lorem Ipsum text.
14+
\end{abstract}
15+
16+
17+
\lipsum[1-10] % Adjust the range to change the amount of Lorem Ipsum text
18+
19+
\pagebreak
20+
\begin{table}[h]
21+
\centering
22+
\caption{EU Countries Information}
23+
\begin{tabular}{lcccc}
24+
\toprule
25+
\textbf{Country} & \textbf{Population (millions)} & \textbf{Area (km\textsuperscript{2})} & \textbf{Capital} & \textbf{Official Language} \\
26+
\midrule
27+
Austria & 8.9 & 83,879 & Vienna & German \\
28+
Belgium & 11.5 & 30,689 & Brussels & Dutch, French, German \\
29+
Czech Republic & 10.7 & 78,866 & Prague & Czech \\
30+
Denmark & 5.8 & 42,951 & Copenhagen & Danish \\
31+
Finland & 5.5 & 338,424 & Helsinki & Finnish, Swedish \\
32+
\bottomrule
33+
\end{tabular}
34+
\end{table}
35+
36+
\end{document}

files.json

+10
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,16 @@
327327
"images": 1,
328328
"forms": 0,
329329
"annotations": {}
330+
},
331+
{
332+
"path": "026-latex-multicolumn/multicolumn.pdf",
333+
"producer": "pdfTeX-1.40.21",
334+
"creation_date": "2024-01-03T09:38:26",
335+
"encrypted": false,
336+
"pages": 2,
337+
"images": 0,
338+
"forms": 0,
339+
"annotations": {}
330340
}
331341
]
332342
}

0 commit comments

Comments
 (0)