OpenMS / Tutorials

Tutorials as used in the user meetings. (Please assign a git tag for the revision used for the UM)
BSD 3-Clause "New" or "Revised" License
13 stars 19 forks source link

Placement of code examples via minted #194

Closed oliveralka closed 2 years ago

oliveralka commented 2 years ago

We have to check if the code examples (minted environment) have the correct placement. It seems that they float and are not in the places in the text, where they should be.

Any suggestions?

Example 1: Screenshot 2021-07-19 at 19 36 59 Example 2: Screenshot 2021-07-19 at 19 36 09

jpfeuffer commented 2 years ago

I guess something like putting it inside a non-floating environment instead might work: https://tex.stackexchange.com/questions/254044/caption-and-label-on-minted-code/254177 https://tex.stackexchange.com/questions/12428/code-spanning-over-two-pages-with-minted-inside-listing-with-caption/53540