Skip to content

Instantly share code, notes, and snippets.

@jlduran
Last active Apr 29, 2021
Embed
What would you like to do?
pandoc booktabs minimal template (illustrative purposes only) (See: https://github.com/jgm/pandoc/pull/1076)

How big's your cloud? {-}


                    **Apple**    **Google**   **Microsoft**

Revenue1, $bn 34.6 22.3 58.4

Profit1, $bn 5.2 4.6 14.6

Market capitalisation 170.2 127.3 230.4 latest, $bn

Employees1 32,0002 19,786 93,000

Share of key 693 83 93 market, world, (digital (search) (operating % music) systems)


: Sources: Company reports; Net Applications; NPD Group

Footnotes

  1. Year ending June 30th 2009 2 3

  2. September 2008

  3. US only

\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
% Typeface settings
\usepackage{microtype}
\usepackage[T1]{fontenc}
\usepackage{paratype}
\renewcommand*\familydefault{\sfdefault}
\usepackage{amsmath}
% Footnote kerning
\usepackage{fnpct}
% Longtabe and friends
\usepackage{rotating,multirow,longtable,booktabs}
% Footnote symbols
\usepackage[bottom,para,symbol*]{footmisc}
% Page size and margins
\usepackage[paperwidth=8.5in,paperheight=8.5in,top=1in,bottom=1in,left=1in,right=1in]{geometry}
% Make links invisible, change metadata
\usepackage[pdftex,hidelinks,pdfproducer={pandoc}]{hyperref}
% Remove page numbers
\pagenumbering{gobble}
% Booktabs styling
\setlength\heavyrulewidth{1.5pt}% Thick top and bottom lines
\setlength{\defaultaddspace}{0.65ex}% Adjusted line spacing
\let\originaltoprule\toprule
\renewcommand{\toprule}{\originaltoprule[0pt]}% No top rule
% Dotted lines, load after longtable
\usepackage{arydshln}
\renewcommand*\cmidrule{\hdashline[.4pt/1pt]}% Dashed middle lines
% Adjust caption of floats (tables)
\usepackage{floatrow}
\floatsetup[longtable]{style=plaintop}% Does not work!
\begin{document}
$body$
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment