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:
\let\oldbt\blindtext
\renewcommand{\blindtext}[1]{\textcolor{gray}{\oldbt{}}}
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?