Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[a4paper]{article}
- usepackage{tabularx}
- usepackage{minted}
- usepackage{fontspec}
- setmonofont{ubuntu Mono}
- usepackage[a4paper, total={6in, 8in}]{geometry}
- %opening
- title{texttt{printf} Format String Reference}
- date{}
- begin{document}
- maketitle
- section*{Format specifiers}
- begin{tabularx}{textwidth}{ |X|X|X| }
- hline
- texttt{%s} & mintinline{c}{printf("Hello %s", "World");} & texttt{Hello World} \
- hline
- texttt{%d} & mintinline{c}{printf("%d cats", 5);} & texttt{5 cats} \
- hline
- end{tabularx}
- end{document}
- l.20 end{tabularx}
- ! Package minted Error: Missing Pygments output; inputminted was
- probably given a file that does not exist--otherwise, you may need
- the outputdir package option, or may be using an incompatible build tool.
- See the minted package documentation for explanation.
- Type H <return> for immediate help.
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement