I need to paste a rotated image directly below a heading, but the image keeps pagebreaking. How to ensure the image stays on the same page? There’s enough space. Thank you!
Could you provide more information?
Do you really want to rotate the image’s caption? Apart from the heading, image and caption, is there any other content on this page?
edit: Also full code, I did not initially include the cation but it apparently plays a role here:
== Thermodynamic properties of chemicals
#align(center, rotate(
-90deg,
reflow: true,
[#figure(kind:table,
image("../figures_for_thesis_typst/appendix/chemicals_properties_mine_for_thesis.png",width: 95%),
caption: flex-caption([Gibbs free energy of formation of chemicals included in macrochemical equation calculation. For each chemical, its name and elemental formula with dominant charge species are listed. Values of thermodynamic properties from various sources are listed per column. Columns in bold are manually selected values used for calculations. Gf, Gibbs free energy of formation, Hf, enthalpy of of formation, Hc, enthalpy of combustion, Sf, entropy of formation. Sources: @Roger2018HandbookBiology, @Toure2016DeterminationTools, @Caspi2014TheDatabases, @Amend1997GroupPressures, @Kleerebezem2010, @Perisanu2020TheAcids]
,
[Values of thermodynamic properties of chemicals used in calculations])
) <fig_chems_Gf>],
)
)
#pagebreak()
Thanks for the screenshot and the code snippet, it really helps helping you quickly. If I may, providing a MWE that compiles and doesn’t require helpers to remove citations, code snippets such as flex-caption, etc. would ensure you get answers much faster.