mailing-list for TeXmacs Users

Text archives Help


Re: \usepackage with TikZ in session


Chronological Thread 
  • From: Massimiliano Gubinelli <address@hidden>
  • To: marc lalaude-labayle <address@hidden>
  • Cc: Alexandre Danescu <address@hidden>, texmacs-users <address@hidden>
  • Subject: Re: \usepackage with TikZ in session
  • Date: Sun, 8 Nov 2020 14:33:24 +0100

See Help->Manual->Use TeXmacs as an interface
and there section 4: Plug-ins as scripting language.

What you want is: Insert->Fold->Executable->TikZ

m


On 8. Nov 2020, at 14:21, marc lalaude-labayle <address@hidden> wrote:

Hi.

Thank you Massimilano : I didn't know that there was any help page for the add-ons directly within TeXmacs.

I ordered the jolly book and hope to convince my institutions to buy one too, and I think I'll find the answer to my following question in it. But, I'll ask it now. I'd like to display the picture that Tikz gives (for example) but don't want to see the code and the tikz prompt in the .tm (or in fine .pdf exported) document. Nonetheless, I'd like to edit the figure if changes are needed. Does anyone know how one can achieve this ?

Best regards.

Marc



Le dim. 8 nov. 2020 à 13:40, Massimiliano Gubinelli <address@hidden> a écrit :
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.

Top of page