Hi all,
I'd like have my LyX style pass arguments to the LaTeX environment named in
its "latex name". However, I can't get it to work. What would be the syntax
for the LaTeX style, and how would my LyX style call it?
For instance, this doesn't work:
\newenvironment{whiteargs}[2]%
{%
~\\[#1]%
~\\[#2]%
\setlength{\widthchange}{-2in}%
\setlength{\minipagewidth}{\textwidth}%
\addtolength{\minipagewidth}{\widthchange}%
\hspace{-0.5\widthchange}%
\begin{minipage}[]{\minipagewidth}%
\begin{bfseries}%%
\begin{center}Author's Note\\%
\end{center}%
\begin{tiny}%%
\setlength\parindent{16pt}%%
~\\[-.2in]
}%
{%
\par
\end{tiny}%
\end{bfseries}%
\end{minipage}%
}%
# %%% BottomNote Environment
Style BottomNote
LatexType Environment
LatexName whiteargs[1in, 3in]
### rest of this environment style is left out for clarity
End
What syntax mistakes have I made as far as passing the 1 inch and 3 inch
arguments, both in the LyX style and in the LaTeX environment? Please don't
worry about the uselessness of having both arguments skip space in the same
place -- this is just a proof of concept.
Thanks
SteveT
Steve Litt
Author:
* Universal Troubleshooting Process courseware
* Troubleshooting Techniques of the Successful Technologist
* Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
* Troubleshooters.Com
* http://www.troubleshooters.com