Blog Archives

Counting the number of words in a LaTeX file with stringi

In my recent post I promised to present the most interesting features of the stringi package in more detail. Here's one of such jolly features. Many LaTeX users may find it very useful. Loading a text file with encoding auto-detection

Tagged with: , , , ,
Posted in Blog/LaTeX, Blog/R, Blog/R-bloggers

ShareLaTeX now supports knitr

ShareLaTeX (click here to register a free account) is a wonderful and reliable on-line editor for writing and compiling LaTeX documents “in the cloud” as well as working together in real-time (imagine Google Docs supporting LaTeX => you get ShareLaTeX).

Tagged with: , , , ,
Posted in Blog/LaTeX, Blog/R, Blog/R-bloggers, Blog/R-knitr

knitr documents with tikzDevice graphics

Setting up tikzDevice output in knitr may be a frustrating task, but gives outstandingly aesthetic, LaTeX-like figures.

Tagged with: , , , ,
Posted in Blog/LaTeX, Blog/R, Blog/R-bloggers, Blog/R-knitr

Configure Kile for knitr under GNU/Linux

Kile – a convenient LaTeX editor – may also be used to prepare knitr-generated reports. Here is how we may make our work much more efficient with a convenient compile-on-keypress feature.

Tagged with: , , ,
Posted in Blog/LaTeX, Blog/R-bloggers, Blog/R-knitr

How to reduce vertical margin before/after knitr output in LaTeX

Annoyed with knitr output taking too much space in your LaTeX documents? Here’s a solution.

Tagged with: , ,
Posted in Blog/LaTeX, Blog/R-knitr

Setting up LaTeX for preparing documents in Polish

Each country has different standards for documents’ typesetting. These include the way we format table of contents, captions for figures and tables, etc. In this post I present my favourite settings for LaTeX documents in Polish.

Tagged with: ,
Posted in Blog/LaTeX

LaTeX: Polish babel and amssymb conflict

If you get the following error message while compiling your LaTeX file: ! LaTeX Error: Command `\lll` already defined. it is most probably due to a conflict between the amssymb and Polish babel package.

Tagged with: ,
Posted in Blog/LaTeX

LaTeX: Bold font series with fixed-width family

How to enable bold font series option for my favorite teletype (fixed-width) font family (e.g. {\tt Test \textbf{test} test}) in LaTeX?

Tagged with: ,
Posted in Blog/LaTeX