In this iText 5 example, we need to switch between different styles in the same document:
The best way to do this in iText 5, is to create a convenience method that creates a Chunk in the style that needs to be used frequently; see the createBgChunk() method:
public Chunk createBgChunk(String s,...