Subject: mailing-list for TeXmacs Users
List archive
From : Alexandre Danescu <address@hidden>- To: marc lalaude-labayle <address@hidden>
- Cc: Frank <address@hidden>, texmacs-users <address@hidden>
- Subject: Re: \usepackage with TikZ in session
- Date: Sun, 8 Nov 2020 20:37:44 +0100
Hi Marc,
Try this example in a TikZ session :
===
documentclass[tikz]{standalone}
\usepackage{tikz-3dplot}
\begin{document}
\tdplotsetmaincoords{60}{120}
\begin{tikzpicture}[scale=3,tdplot_main_coords,axis/.style={->,blue,thick},
vector/.style={-stealth,red,very thick},vector
guide/.style={dashed,red,thick}]
%standard tikz coordinate definition using x, y, z coords
\coordinate (O) at (0,0,0);
%tikz-3dplot coordinate definition using r, theta, phi coords
\tdplotsetcoord{P}{.8}{55}{60}
%draw axes
\draw[axis] (0,0,0) -- (1,0,0) node[anchor=north east]{$x$};
\draw[axis] (0,0,0) -- (0,1,0) node[anchor=north west]{$y$};
\draw[axis] (0,0,0) -- (0,0,1) node[anchor=south]{$z$};
%draw a vector from O to P
\draw[vector] (O) -- (P);
%draw guide lines to components
\draw[vector guide] (O) -- (Pxy);
\draw[vector guide] (Pxy) -- (P);
\end{tikzpicture}
\end{document}
=====
Best regards,
Alexandre
-- 使用 K-9 Mail 发送自我的Android设备。On 8. Nov 2020, at 15:09, Frank <address@hidden> wrote:
That does not seem to be quite customizable, in my opinion. You see that the preamble is hard-coded in the Python plugin, and I don't see any way to modify it from the .tm file. For even as easy as adding a \usepackage, I can only modify that Python code on my computer, which restricts the portability of document. Best, Frank 于 November 8, 2020 1:35:08 PM UTC, Massimiliano Gubinelli <address@hidden> 写到: Btw, you want also to give a look to the "Graph" plugin which is a
generic interface to plenty of graphing plugins, including latex and
tikz. In the Graph plugin Help you find also some more information on
"Foldable" tags.
Max
On 8. Nov 2020, at 14:21, marc lalaude-labayle<address@hidden> wrote:
for the add-ons directly within TeXmacs.
Hi.
Thank you Massimilano : I didn't know that there was any help page
one too, and I think I'll find the answer to my following question in
I ordered the jolly book and hope to convince my institutions to buy
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 ?
<address@hidden <mailto:address@hidden>> a écrit :
Best regards.
Marc
Le dim. 8 nov. 2020 à 13:40, Massimiliano Gubinelli
Just insert a full valid tex document with header and preamble if youneed further customization. See the examples in the help.
<mailto:address@hidden>> <address@hidden
Best
mg
On 8. Nov 2020, at 12:29, <address@hidden
<mailto:address@hidden>> wrote:
preamble".
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
the exact
Does anybody know how to include \usepackage in the preamble (or
location of the preamble...) or how to overcome this issue ?
Best wishes,
Alexandre
- \usepackage with TikZ in session, alexandre.danescu, 11/08/2020
- Re: \usepackage with TikZ in session, Massimiliano Gubinelli, 11/08/2020
- Re: \usepackage with TikZ in session, marc lalaude-labayle, 11/08/2020
- Re: \usepackage with TikZ in session, Massimiliano Gubinelli, 11/08/2020
- Re: \usepackage with TikZ in session, Massimiliano Gubinelli, 11/08/2020
- Re: \usepackage with TikZ in session, Frank, 11/08/2020
- Re: \usepackage with TikZ in session, Massimiliano Gubinelli, 11/08/2020
- Re: \usepackage with TikZ in session, marc lalaude-labayle, 11/08/2020
- Re: \usepackage with TikZ in session, Massimiliano Gubinelli, 11/08/2020
- Re: \usepackage with TikZ in session, Alexandre Danescu, 11/08/2020
- Re: \usepackage with TikZ in session, marc lalaude-labayle, 11/08/2020
- Re: \usepackage with TikZ in session, Massimiliano Gubinelli, 11/08/2020
- Re: \usepackage with TikZ in session, alexandre . danescu, 11/09/2020
- Re: \usepackage with TikZ in session, Giovanni Piredda, 11/09/2020
- Re: \usepackage with TikZ in session, Alexandre Danescu, 11/09/2020
- Re: \usepackage with TikZ in session, marc lalaude-labayle, 11/08/2020
- Re: \usepackage with TikZ in session, Massimiliano Gubinelli, 11/08/2020
- Re: \usepackage with TikZ in session, Frank, 11/08/2020
- Re: \usepackage with TikZ in session, marc lalaude-labayle, 11/08/2020
- Re: \usepackage with TikZ in session, Massimiliano Gubinelli, 11/08/2020
Archive powered by MHonArc 2.6.19.