WestCoastProjects
WestCoastProjects

Reputation: 63062

How to specify the font of markdown tables (or optionally using pandoc)?

I would like to display tables in the crisp format of pandas: very small but clear fonts. The default markdown uses the same font as the surrounding text - which is far too large.

Either a document-level or a table-by-table directive and either native markdown or pandoc would be fine/helpful to use.

The output is pdf : here is the command presently being used:

pandoc --toc -V fontsize=9pt --pdf-engine xelatex 
-V geometry:"left=1.5cm,right=1.5cm,top=2cm,bottom=2cm" -o Task1.pdf Task1.md

Upvotes: 1

Views: 1897

Answers (1)

WestCoastProjects
WestCoastProjects

Reputation: 63062

Inserting tex directives actually helps here

\tiny
cola|colb|colc
---|---|---
a|b|c
\normalsize

I wonder if there were a way to specify what \tiny resolves to - since I'd like it even smaller.

Upvotes: 4

Related Questions