How do you extend article document class in LaTeX?

前端 未结 3 615
执念已碎
执念已碎 2021-02-04 07:40

I don\'t really need a lot of changes to the default article document class. All I want is:

  • redefine page margins (I want them to be the same on all pages, but dif
3条回答
  •  耶瑟儿~
    2021-02-04 07:53

    You start with

    \NeedsTeXFormat{LaTeX2e}
    \ProvidesClass{classname}[2009/02/24]
    \LoadClass{article}
    

    and add any customizations after that.

    UPDATE: I recommend you to read LaTeX2e for class and package writers: PDF, HTML. The examples in Section 3 (The structure of a class or package) should be helpful.

提交回复
热议问题