Preview shows old posts mixed with new tex-formatted material

  • Thread starter Thread starter gnome
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
11 replies · 2K views
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
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.
 
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:
 
: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.