Difference between revisions of "Talk:LaTeX"

From PrattWiki
Jump to navigation Jump to search
Line 13: Line 13:
  
 
%% Be sure to check spelling!</source> <br>which means you inadvertently put a "7" in front of the first comment.  That confuses LaTeX  :)  [[User:DukeEgr93|DukeEgr93]] 17:31, 10 October 2009 (EDT)
 
%% Be sure to check spelling!</source> <br>which means you inadvertently put a "7" in front of the first comment.  That confuses LaTeX  :)  [[User:DukeEgr93|DukeEgr93]] 17:31, 10 October 2009 (EDT)
 +
 +
*{{Q}} How can I prevent LaTeX from moving my inserted .eps and .ps files all over the document? I'd like to keep them in the order I specify. [[User:Ajw27|Ajw27]] 20:48, 15 February 2010 (EST)

Revision as of 01:48, 16 February 2010

  • When I try to view lab1 in its processed (.dvi) format, it said it cant open the file because it has type application/x-zerosize. Last night I had the same problem, but after 5 or so tries it changed its mind and worked. Today, not the case. I'm using Leopard 10.5. Devontownsend 12:05, 28 August 2008 (EDT)
    • Make sure that latex lab1.tex actually completed - usually a zerosize means the .dvi file wasn't even created. DukeEgr93 14:34, 28 August 2008 (EDT)
  • How do I make it so that a command, such as \hat{a} shows up in the actual text of what I'm writing? Everytime I tried, it gave me an error... Rasesh.joshi 23:24, 26 August 2009 (EDT)
    • If you want literal text, you can either use the verbatim environment, or you can use the $\backslash$ command to do backslash\[\hat{a} \mbox{ vs. } \backslash hat\{ a\}\]DukeEgr93 10:48, 27 August 2009 (EDT)
  • How do I get a new .dvi file to run for lab3? I typed stuff into emacs and saved it, but I could not get the file to load as a kdvi and such. What do I do?Asc35 11:24, 6 September 2009 (EDT)
    • Did you make your own copy? That is, in your ~/EGR53/lab3 directory, did you type
      cp Lab3Sample_F09.tex lab3.tex
      
      first? DukeEgr93 16:15, 7 September 2009 (EDT)
  • When I run latex blah.tex command in PuTTy, I get the error
    !LaTeX error: Missing \begin{document}
    
    although there is clearly the begin command in my file. When I ignore the error and run it, the first page goes blank and the actual first page goes to the second page. RickyPark 16:56, 10 October 2009 (EDT)
    • Questions that are this specific are probably best e-mailed to a TA -- be sure to include your NET ID and what file to check so the TA can figure out where to go. In your specific case, however, the first few lines of your document are:

      7%% IMPORTANT: Once working, run latex 3 times to get listoffigures to work
      
      %% Be sure to check spelling!
      

      which means you inadvertently put a "7" in front of the first comment. That confuses LaTeX :) DukeEgr93 17:31, 10 October 2009 (EDT)
  • How can I prevent LaTeX from moving my inserted .eps and .ps files all over the document? I'd like to keep them in the order I specify. Ajw27 20:48, 15 February 2010 (EST)