-
When using one of the theorem divs, then in the HTML output the corresponding "theorem-title" is sometimes in its own paragraph and sometimes not. Specifically, if the div just consists of a single paragraph, then the title is in a separate paragraph. Otherwise it is merged into the first paragraph. As a concrete example consider:
I have simply inserted the snippet above into the
Rendered in a browser it looks like this: Note that the text of the first exercise starts in a new paragraph while the second exercise starts in the same paragraph as the title. Is this difference by design? Can I somehow switch between these layouts? I would like a consistent layout, preferably with the theorem-title in its own paragraph. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Somehow, the content of the div is not taken as a whole because of the breakline, e.g., the following examples work properly (to note, with or without level 2 heading which is the part in parentheses next to the label produce the same behaviour):
|
Beta Was this translation helpful? Give feedback.
-
I believe this to be by design. Theorems are often titled in math papers and those titles tend to appear inline next to the theorem name. I agree that it would be useful to have an option of an "unnamed" theorem, but I'm not sure that it exists right now. |
Beta Was this translation helpful? Give feedback.
-
Just for the record, this has been fixed by: #1926 Thanks everyone for your help! |
Beta Was this translation helpful? Give feedback.
Just for the record, this has been fixed by: #1926
Thanks everyone for your help!