adding design pattern Command doc latex