LyX ⇒ Undefined control sequence
Undefined control sequence
Hi,
I get an "Undefined control sequence" error in LyX, when trying to convert to pdf.. the full error message is attached..
Thanks!
Asaf
I get an "Undefined control sequence" error in LyX, when trying to convert to pdf.. the full error message is attached..
Thanks!
Asaf
- Attachments
-
- LyX_error.jpg (32.23 KiB) Viewed 6472 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10321
- Joined: Mon Mar 10, 2008 9:44 pm
Undefined control sequence
Hi Asaf,
the command \alphatests is not defined. In my whole TeX Live 2009 installation there's no macro called \alphatests or \alphatest. Did you call that command or a package?
Stefan
the command \alphatests is not defined. In my whole TeX Live 2009 installation there's no macro called \alphatests or \alphatest. Did you call that command or a package?
Stefan
LaTeX.org admin
Re: Undefined control sequence
Thanks, Stefan,
I didn't mean "\alphatests" as a Latex command.. I was trying to type a Greek "alpha", followed by the word "tests", as appers in the current attachment. As you see, in the LyX window this looks perfectly fine.. but I still get the error.
Thank you,
Asaf
I didn't mean "\alphatests" as a Latex command.. I was trying to type a Greek "alpha", followed by the word "tests", as appers in the current attachment. As you see, in the LyX window this looks perfectly fine.. but I still get the error.
Thank you,
Asaf
- Attachments
-
- alphatests.jpg (11.7 KiB) Viewed 6461 times
Re: Undefined control sequence
LyX can be deceiving...
(Sorry, I couldn't help myself.)
Seriously, though, if you just put a space in front of "tests", it should be fine. What happens is that the inline math display of LyX tends to have padding around it, which makes it look like you have a space, when you really don't, and should. Although, looking at your image more carefully, the space between "\alpha" and "tests" does seem to be bigger than just the inline equation padding.
Try what I said, but if that's not the problem, would you mind sending us the source code of that part?
Regards,
ChE

Seriously, though, if you just put a space in front of "tests", it should be fine. What happens is that the inline math display of LyX tends to have padding around it, which makes it look like you have a space, when you really don't, and should. Although, looking at your image more carefully, the space between "\alpha" and "tests" does seem to be bigger than just the inline equation padding.
Try what I said, but if that's not the problem, would you mind sending us the source code of that part?
Regards,
ChE
- Stefan Kottwitz
- Site Admin
- Posts: 10321
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Undefined control sequence
Right, it looks like there are just spaces missing.
Stefan
Stefan
LaTeX.org admin
Undefined control sequence
Hi,
-Nope, i do have a space there...
Here is the source:
\noindent We will now suggest three different procedures for constructing
two-sided confidence intervals for $\theta=E(Y).$ All three utilize
the duality between a family of level $\alpha$ tests of the hypothesis
$EX=\theta$ and a level $(1-\alpha)$ confidence procedure (Lehman,
1986), by first constructing a family of acceptance regions, and then
inverting them to obtain confidence intervals.
2. I now get another error, as you can see in the attached...
Sorry guys, and thanks again!
Asaf
-Nope, i do have a space there...
Here is the source:
\noindent We will now suggest three different procedures for constructing
two-sided confidence intervals for $\theta=E(Y).$ All three utilize
the duality between a family of level $\alpha$ tests of the hypothesis
$EX=\theta$ and a level $(1-\alpha)$ confidence procedure (Lehman,
1986), by first constructing a family of acceptance regions, and then
inverting them to obtain confidence intervals.
2. I now get another error, as you can see in the attached...
Sorry guys, and thanks again!
Asaf
- Attachments
-
- Font error.JPG (123.49 KiB) Viewed 6449 times
Re: Undefined control sequence
Hmmm... That code works when I use it as an ERT in LyX. Why does the second pic you posted show a different error from the first one?
Are you using any weird packages or such? What's in your preamble?
I'm running out of ideas here... :/
Regards,
ChE
Are you using any weird packages or such? What's in your preamble?
I'm running out of ideas here... :/
Regards,
ChE
Re: Undefined control sequence
Hi ChE,
Well, forget about it, It seems OK now. .. Strangely, I canged a different part in the code that was suspicious to me, and exporting worked fine..
Tnx so much,
Assaf
Well, forget about it, It seems OK now. .. Strangely, I canged a different part in the code that was suspicious to me, and exporting worked fine..
Tnx so much,
Assaf