Just insert a full valid tex document with header and preamble if you need further customization. See the examples in the help.
Best
mg
> On 8. Nov 2020, at 12:29, <address@hidden> <address@hidden> wrote:
>
> Hello,
>
> The TikZ session in TeXmacs work well with a script like
>
> \uselibrary{...}
> \begin{tikzpicture}
> ...
> \end{tikzpicture}
>
> but the use of additional packages, like
>
> \usepackage{3dplots}
> \begin{tikzpicture}
> ...
> \end{tikzpicture}
>
> gives an error message "\usepackage can olny be used in the preamble".
>
> Does anybody know how to include \usepackage in the preamble (or the exact
> location of the preamble...) or how to overcome this issue ?
>
> Best wishes,
>
> Alexandre
Archive powered by MHonArc 2.6.19.