问题
When I use the heading tags (# ##, etc) using markdown, they are always converted to numbered sections during pdf-latex conversion.
How to indicate unnumbered headings in markdown in Jupyter Notebook (IPython)?
I realize this can be done by adding a '*' right next to each section directly in the latex document, but is there any other way to do this?
回答1:
You can write an unnumbered heading by appending {-}
or {.unnumbered}
to the Markdown cell, e.g.:
Heading {-}
The output is a heading without a number, like so:
Heading
This is documented in Pandoc's Markdown which is an extended and slightly revised version of the original Markdown syntax.
回答2:
If you have the nb extensions active, you can see the contents on the left hand side. Just before the contents (but after the title "Contents"), there is a small letter "n". If you press the n, it removes the numbering from the headers.
回答3:
You can clic the Table Of Contents icon.
A panel should open in the left side. Clic on the "configuration" icon 1
De-select Automatically number headings [2]
See the screenshot
来源:https://stackoverflow.com/questions/35077571/how-to-remove-heading-numbers-in-jupyter-during-pdf-conversion