I am using blindtext package to draw out how the layout of the document will look like and then swapping the "dummy" parts with real text. Problem is that I would like to give some style to these text blocks to visually differentiate them from already written text.

I used simply:


which worked fine until I wanted to add some arguments or use \Blindtext, which internally calls \blindtext with arguments.

I found several possibilities to handle optional arguments using \xparse or \NewDocumentCommand, but none of them was enough descriptive. And I still have some blind believe it must be possible to do using standard \renewcommand. I also believe that this will be useful for more people so I am asking new question.

What is the correct way of styling blindtext, for example adding gray color?

  • 1
    The color is not grouped, it will also color your usual text. – Johannes_B Mar 20 '16 at 10:10

You have to be careful in redefining commands with an optional argument; instead of \let one should use \LetLtxMacro (see When to use \LetLtxMacro?).

\usepackage{lipsum}% for simulating real text









  • Thanks! It worked fine. I spend too much time searching in the problem in the \renewcommand, and didn't realize there might be problem with the \let part. – Jakuje Mar 20 '16 at 10:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.