Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Add multicol PDF #27

Merged
merged 1 commit into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": {}
}
]
}
Loading