Scribus Forums

Scribus => Scripts and Plugins => Topic started by: legoaddict1949 on November 22, 2022, 01:40:17 PM

Title: How to import LaTeX package?
Post by: legoaddict1949 on November 22, 2022, 01:40:17 PM
Greetings.

The Scribus wiki (https://wiki.scribus.net/canvas/Working_with_latex_frames#Placing_LaTeX_frames) states the following:

QuoteJust type your LaTeX code, but remember: The preamble and the end is added automatically during processing. So only add the parts between `\begin{document}` and `\end{document}`

If this is the case, how am I supposed to import additional LaTeX packages, given that these are normally called before the document begins?

I tried placing `\usepackage{chemfig}` in the LaTeX input, but that obviously resulted in a compilation error.

I've also tried using the `\chemfig{}` command without importing the package, but that obviously doesn't work either.

Thank you in advance for any help, and God bless.
Title: Re: How to import LaTeX package?
Post by: legoaddict1949 on November 22, 2022, 01:42:13 PM
Just figured it out. In the source editor there is a "Fonts/Headers" tab. There you can place package import headers.