Skip to content

Commit

Permalink
ENH: Add multicol PDF (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinThoma authored Jan 3, 2024
1 parent 964fb47 commit f661fe2
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,7 @@ dmypy.json

# Pyre type checker
.pyre/

# LaTeX
*.aux
*.log
2 changes: 2 additions & 0 deletions 026-latex-multicolumn/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
make:
pdflatex multicolumn.tex
Binary file added 026-latex-multicolumn/multicolumn.pdf
Binary file not shown.
36 changes: 36 additions & 0 deletions 026-latex-multicolumn/multicolumn.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
\documentclass[twocolumn]{article}
\usepackage{lipsum}
\usepackage{booktabs}
\begin{document}

\title{Two-Column Document with Lorem Ipsum}
\author{Your Name}
\date{\today}

\maketitle

\begin{abstract}
This is a sample document with two columns filled with Lorem Ipsum text.
\end{abstract}


\lipsum[1-10] % Adjust the range to change the amount of Lorem Ipsum text

\pagebreak
\begin{table}[h]
\centering
\caption{EU Countries Information}
\begin{tabular}{lcccc}
\toprule
\textbf{Country} & \textbf{Population (millions)} & \textbf{Area (km\textsuperscript{2})} & \textbf{Capital} & \textbf{Official Language} \\
\midrule
Austria & 8.9 & 83,879 & Vienna & German \\
Belgium & 11.5 & 30,689 & Brussels & Dutch, French, German \\
Czech Republic & 10.7 & 78,866 & Prague & Czech \\
Denmark & 5.8 & 42,951 & Copenhagen & Danish \\
Finland & 5.5 & 338,424 & Helsinki & Finnish, Swedish \\
\bottomrule
\end{tabular}
\end{table}

\end{document}
10 changes: 10 additions & 0 deletions files.json
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,16 @@
"images": 1,
"forms": 0,
"annotations": {}
},
{
"path": "026-latex-multicolumn/multicolumn.pdf",
"producer": "pdfTeX-1.40.21",
"creation_date": "2024-01-03T09:38:26",
"encrypted": false,
"pages": 2,
"images": 0,
"forms": 0,
"annotations": {}
}
]
}

0 comments on commit f661fe2

Please sign in to comment.