Re: TikZ
You have to activate instant preview beforehand, going to Tools -> Preferences -> Look and Feel -> Display. Paul On Tue, Sep 27, 2022 at 4:12 PM Daniel CLEMENT via lyx-users wrote: > > Le mardi 27 septembre 2022 à 09:29 +0100, José Matos a écrit : > > On Fri, 2022-09-23 at 06:40 +, M.B. Schiekel wrote: > > > Hallo Dan, > > > > > > LaTeX-Preamble: > > >\usepackage{tikz} > > >\usepackage{braids} > > > > > > this works perfect - or what support do you wish? > > > bernhard > > > > If you insert the tikz code inside a preview box the figure will be > > shown immediately, if you click over it you will see the code. > > > > The preview box can be inserted in the same way as the tex code: > > > > Insert -> TeX Code > > Insert -> Preview > > Hmm... PFMJI, but I'd like to give this a try. Exactly how should it be > done? > > If I put the tikz code inside the Preview, I just get the code in the > output. If I put it inside TeX Code, I get an error ("control sequence > never def'd" about tkzTabInit) > > I know my tikz code is OK because I was able to preview its result and > export to eps from the Qtikz utility. But it would be sooo much simpler > to get that directly under LyX! > > > > You are still responsible for adding the correct tikz code... > > > > -- > > José Abílio > -- > Daniel CLEMENT > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: TikZ
Am Dienstag, dem 27.09.2022 um 17:06 +0200 schrieb Daniel CLEMENT via lyx-users: > Le mardi 27 septembre 2022 à 09:29 +0100, José Matos a écrit : > > On Fri, 2022-09-23 at 06:40 +, M.B. Schiekel wrote: > > > Hallo Dan, > > > > > > LaTeX-Preamble: > > >\usepackage{tikz} > > >\usepackage{braids} > > > > > > this works perfect - or what support do you wish? > > > bernhard > > > > If you insert the tikz code inside a preview box the figure will be > > shown immediately, if you click over it you will see the code. > > > > The preview box can be inserted in the same way as the tex code: > > > > Insert -> TeX Code > > Insert -> Preview > > Hmm... PFMJI, but I'd like to give this a try. Exactly how should it > be > done? > > If I put the tikz code inside the Preview, I just get the code in the > output. If I put it inside TeX Code, I get an error ("control > sequence > never def'd" about tkzTabInit) > > I know my tikz code is OK because I was able to preview its result > and > export to eps from the Qtikz utility. But it would be sooo much > simpler > to get that directly under LyX! > > You are still responsible for adding the correct tikz code... > > > > -- > > José Abílio > -- > Daniel CLEMENT See the attached sample file. Tobias tikz.lyx Description: application/lyx -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: TikZ
Le mardi 27 septembre 2022 à 09:29 +0100, José Matos a écrit : > On Fri, 2022-09-23 at 06:40 +, M.B. Schiekel wrote: > > Hallo Dan, > > > > LaTeX-Preamble: > > \usepackage{tikz} > > \usepackage{braids} > > > > this works perfect - or what support do you wish? > > bernhard > > If you insert the tikz code inside a preview box the figure will be > shown immediately, if you click over it you will see the code. > > The preview box can be inserted in the same way as the tex code: > > Insert -> TeX Code > Insert -> Preview Hmm... PFMJI, but I'd like to give this a try. Exactly how should it be done? If I put the tikz code inside the Preview, I just get the code in the output. If I put it inside TeX Code, I get an error ("control sequence never def'd" about tkzTabInit) I know my tikz code is OK because I was able to preview its result and export to eps from the Qtikz utility. But it would be sooo much simpler to get that directly under LyX! > > You are still responsible for adding the correct tikz code... > > -- > José Abílio -- Daniel CLEMENT -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Running a command from within Lyx/Beamer
\usepackage{multimedia} in the preamble comes to mind. el On 27/09/2022 14:24, UD K wrote: > Is there a (simple) way of running a (linux) command from within a > Lyx/Beamer presentation? > I have tried the href latex command but it did not do anything, although > I included the \includepackage{hyperref} in the preamble. I want to use > it as a (simple) way of running a video from within a presentation. > Thanks, > Ehud Kaplan > > -- > > -- To email me replace 'nospam' with 'el' -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Running a command from within Lyx/Beamer
Is there a (simple) way of running a (linux) command from within a Lyx/Beamer presentation? I have tried the href latex command but it did not do anything, although I included the \includepackage{hyperref} in the preamble. I want to use it as a (simple) way of running a video from within a presentation. Thanks, Ehud Kaplan -- -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: TikZ
On Fri, 2022-09-23 at 06:40 +, M.B. Schiekel wrote: > Hallo Dan, > > LaTeX-Preamble: > \usepackage{tikz} > \usepackage{braids} > > this works perfect - or what support do you wish? > bernhard If you insert the tikz code inside a preview box the figure will be shown immediately, if you click over it you will see the code. The preview box can be inserted in the same way as the tex code: Insert -> TeX Code Insert -> Preview You are still responsible for adding the correct tikz code... -- José Abílio -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users