Tex Problem? Troubleshooting Preview Issues

  • Thread starter Thread starter gnome
  • Start date Start date
gnome
Messages
1,031
Reaction score
1
I'm working on a post involving a lot of tex-formatted material, but each time I try to preview what I've written, the preview shows me stuff I wrote in previous posts, in different threads, completely unrelated to the tex material I just wrote (but mixed in with the ordinary text of the new post). What's going on?
 
Physics news on Phys.org
Hmmm anyone else? Unfortunately it seems out tex expert has left the building. :frown:
 
I guess I'll just wait until this clears up. Otherwise the post will just be jibberish. (Of course, it may be that anyway). :rolleyes: :rolleyes:
 
gnome said:
I'm working on a post involving a lot of tex-formatted material, but each time I try to preview what I've written, the preview shows me stuff I wrote in previous posts, in different threads, completely unrelated to the tex material I just wrote (but mixed in with the ordinary text of the new post). What's going on?

I have encountered the same problem many times.
Advice:
Don't write too many code lines one after another.With so many consecutive symbols ("}" i mean),it will be very hard to spot errors.

Daniel.

P.S.By that behavior,the compiler shows you you've give him a wrong code.It's not its fault by any chance.
 
Is there something wrong with this (other than that the tex tags are replaced by quote tags):
\begin{array}{cc}\text{Variable} & \text{Meaning}\\
Q[i,k] &\text{At time i, M is in state q_k}\\
H[i,j] &\text{At time i, the read-write head}\\
&\text{ is scanning tape square j}\\
S[i,j,k] &\text{At time i, the contents of}\\
&\text{tape square j is symbol s_k}\end{array}

because when I preview ONLY that, it shows me the graphic for this INSTEAD:
\Gamma, \Sigma, b, Q , q_0, q_Y, q_N, \text{and}\; \delta
which is a piece of inline tex code that I was previewing in the post I'm trying to format.
 
When you edit a correct tex code and introduce an error, an old formula is displayed. I also had this problem already.

I previewed both codes you have posted: the second one is correct, but for the first one I see the last latex formula I have posted in the homework forum... Thus I assume there is something wrong, but I cannot tell you where the error is.
 
gnome said:
Is there something wrong with this (other than that the tex tags are replaced by quote tags):


because when I preview ONLY that, it shows me the graphic for this INSTEAD:

which is a piece of inline tex code that I was previewing in the post I'm trying to format.

[tex]\begin{array}{cc} \text{Variable} & \text{Meaning}\\<br /> <br /> Q[i,k] & \text{At time "i"} \ \text{M is in state} \ q_{k} \\ <br /> <br /> H[i,j] & \text{At time "i"} & \text{the read-write head} \ \text{is scanning tape square "j"}\\ <br /> <br /> S[i,j,k] & \text{At time "i", the contents of} \ \text{tape square "j" is symbol} \ s_{k} \end{array}[/tex]



Is that better...?

Daniel.
 
Last edited:
Not really. I'm trying to get the entries in each column to be left-aligned, and to be able to have some entries in the second column extend to several lines leaving the first column blank on those "continuation" lines.


Anyway, I didn't mean for this thread to become a new competing tex-formatting discusssion. I just wanted to alert the Admins to what I think is a board problem. Let's restrict the discussion here to whether this is a board issue or a code issue.

If anyone has suggestions on how to fix my code, let's continue that discussion in the "sticky" Latex typesetting thread in General Physics. Thanks all.
 
It was a code problem. Solved.
 
  • #10
It's always the human's fault,well,for intelligent software,for Windows...


Daniel.
 
  • #11
Into which category would you put the fact that subscripts can be used in \mbox, and they can be used in {array}, but not in \mbox in an {array}? :rolleyes: :rolleyes:
 
  • #12
:smile: Human error of course:It's not the compiler's fault,but this time,the programmer's...

ALWAYS HUMAN ERRORS.NOT NECESSARILY USER'S... :-p


Daniel.
 

Similar threads

Replies
11
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K