Kantlipsum on Ubuntu
Posted: Thu Jul 18, 2019 4:03 am
In the past, I've used an online Python generator for creating random text in Immanuel Kant style, every now and then.
Here's how to include this so called "Kant Lipsum" text in e.g. Markdown - generated by Pandoc when rendering to an output format!
First, here's the LaTeX template code.
Save this to "kant.tex":
Second, here's the Markdown template.
Save this to "kant.md":
Command to generate the output:
The "\kant" command can be parametrized and there are other commands available too.
See Kantlipsum package documentation "Commands" for details.
Related links:
Here's how to include this so called "Kant Lipsum" text in e.g. Markdown - generated by Pandoc when rendering to an output format!
First, here's the LaTeX template code.
Save this to "kant.tex":
Code: Select all
\documentclass{article}
\usepackage{kantlipsum}
\begin{document}
$body$
\end{document}
Save this to "kant.md":
Code: Select all
# Testing Kant
\kant
Command to generate the output:
Code: Select all
$ pandoc kant.md --template=kant.tex --latex-engine=xelatex -s -o kant.pdf
The "\kant" command can be parametrized and there are other commands available too.
See Kantlipsum package documentation "Commands" for details.
Related links: