Hello,
(I'm german, sorry for my bad english)
I asked my question to the developers but maybe you are the right address. So can you help me with the following?

I tryed to use *.modul method. I want to use Lyx nesting, but I have to implement a COMMAND, not an environment.
There was another question: http://www.lyx.org/trac/ticket/6854  but it did'nt helped me.

  1. Can I use nesting in a COMMAND?
  2. How?
  3. if not, can I make a command  usable as environment?
  4. other work around?

If you want, answer in german :-)

following just the minimum example

OK, here is my example (child{} has to be nested):
I want to do this in Lyx:

\documentclass[a4paper]{scrartcl}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}

\node {Oberster Punkt}
  child {node {links}}
  child {node {rechts}
     child {node {unterpunkt}}
  }  
;\end{tikzpicture}

\end{document}

My first step was to do this:
\newenvironment{tikzpictureNew}
{\begin{tikzpicture}}
{ ; \end{tikzpicture}}    %  " ; " Semicolon!
It works, so I can use environment with the needed semicolon

But I can not do this:
\newenvironment{childNEW}
{ child{   }
{       }  }
to use environment and after that to use nesting in lyx :-)
I think - one step to have it.
Can anyone help me out?

Reply via email to