AuthorTools`MakeContents`
AuthorTools`MakeContents`

MakeContents

MakeContents[nb|proj,format]

writes a table of contents for the specified notebook or project in the given format.

更多信息和选项

  • The first argument can be a notebook object, a notebook file, or a project file.
  • Possible formats include "Simple", "Book", or "BookCondensed". The default format is "Simple".
  • "Simple" lists all the entries without page numbers or any special formatting. This format is useful for checking that all topics are in the right order before generating a table of contents in one of the other two styles.
  • "Book" resembles a table of contents in a typical book, with each topic and subtopic on a separate line.
  • "BookCondensed" combines multiple subtopics on the same line to achieve a more compact appearance.
  • The following options can be given:
  • ContentsFileNameTOC.nbContentsFileName is an option to MakeContents that specifies the name of the generated contents file
    CellTagPrefixc:CellTagPrefix is an option for MakeContents that specifies the string that will start all cell tags added by MakeContents
    SelectedCellStyles{Title,Section,Subsection,Subsubsection}SelectedCellStyles is an option that determines what cells from the user's notebook are itemized when building a table of contents or browser categories; it can be set to a list of style names
Wolfram Research (2002),MakeContents,Wolfram 语言函数,https://reference.wolfram.com/language/AuthorTools/ref/MakeContents.html.

文本

Wolfram Research (2002),MakeContents,Wolfram 语言函数,https://reference.wolfram.com/language/AuthorTools/ref/MakeContents.html.

CMS

Wolfram 语言. 2002. "MakeContents." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/AuthorTools/ref/MakeContents.html.

APA

Wolfram 语言. (2002). MakeContents. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/AuthorTools/ref/MakeContents.html 年

BibTeX

@misc{reference.wolfram_2024_makecontents, author="Wolfram Research", title="{MakeContents}", year="2002", howpublished="\url{https://reference.wolfram.com/language/AuthorTools/ref/MakeContents.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_makecontents, organization={Wolfram Research}, title={MakeContents}, year={2002}, url={https://reference.wolfram.com/language/AuthorTools/ref/MakeContents.html}, note=[Accessed: 21-December-2024 ]}