+ "the other way\u2014in short, the period was so far like the present "
+ "period, that some of its noisiest authorities insisted on its "
+ "being received, for good or for evil, in the superlative degree "
+ "of comparison only.";
Chunk ck = new Chunk(text);
HyphenationAuto auto = new HyphenationAuto("en", "GB", 2, 2);
ck.setHyphenation(auto);
Paragraph p = new Paragraph(ck);
p.setAlignment(Paragraph.ALIGN_JUSTIFIED);
document.add(p);
document.newPage();
ck = new Chunk(text);
auto = new HyphenationAuto("en", "US", 2, 2);
ck.setHyphenation(auto);
p = new Paragraph(ck);
p.setAlignment(Paragraph.ALIGN_JUSTIFIED);
document.add(p);
} catch (DocumentException de) {