LyX ⇒ Undefined control sequence
Undefined control sequence
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 6515 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Undefined control sequence
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
Re: Undefined control sequence
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 6504 times
Re: Undefined control sequence

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: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Undefined control sequence
Stefan
Undefined control sequence
-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 6492 times
Re: Undefined control sequence
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
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