How to remove heading numbers in Jupyter during pdf conversion?

为君一笑 提交于 2019-12-03 06:53:55

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!