Advertisement
Guest User

Untitled

a guest
Oct 8th, 2015
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. documentclass[a4paper]{article}
  2. usepackage{tabularx}
  3. usepackage{minted}
  4. usepackage{fontspec}
  5. setmonofont{ubuntu Mono}
  6. usepackage[a4paper, total={6in, 8in}]{geometry}
  7. %opening
  8. title{texttt{printf} Format String Reference}
  9. date{}
  10. begin{document}
  11. maketitle
  12. section*{Format specifiers}
  13.  
  14. begin{tabularx}{textwidth}{ |X|X|X| }
  15. hline
  16. texttt{%s} & mintinline{c}{printf("Hello %s", "World");} & texttt{Hello World} \
  17. hline
  18. texttt{%d} & mintinline{c}{printf("%d cats", 5);} & texttt{5 cats} \
  19. hline
  20. end{tabularx}
  21.  
  22. end{document}
  23.  
  24. l.20 end{tabularx}
  25.  
  26. ! Package minted Error: Missing Pygments output; inputminted was
  27. probably given a file that does not exist--otherwise, you may need
  28. the outputdir package option, or may be using an incompatible build tool.
  29.  
  30. See the minted package documentation for explanation.
  31. Type H <return> for immediate help.
  32. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement