I took the diagram from #5 from the PDF '888 Miniature Studies' by Kasparian. Diagrams looking relatively similar to those of #5 and #9 can be generated like this:
chess.stackexchange.com/questions/14686/high-quality-not-bitmap-diagram-software/19335#19335