
Originally Posted by
danielel
I need to put black boxes over some parts of the text in my pdf file..
The package "color" provides the command colorbox : Code:
Bonjour, \colorbox{black}{Bonjour !} gives
. This command does what you want but it might create few problems because, to my knowledge, LaTeX does't break "colorboxes". In other words, if the piece of text you want to hide is wider than the page, LaTeX will create a single "colorbox" wider than the page, it won't break it into several "colorboxes" which could individually fit on a single line.