Editing
LaTeX
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= LaTeX Tips = LaTeX in 30 minutes: https://www.overleaf.com/learn/latex/Learn_LaTeX_in_30_minutes '''To compile/process a file in Linux:''' To compile a TeX file called example.tex, you just need to type: latex example.tex xdvi example.dvi The first command will compile the TeX file and create a dvi file. If any typo/error appears on the TeX file, the errors will appear on the screen. The second command will open the output file with dvi. You could use the command dvipdf to convert the dvi to pdf, or dvips to convert it to ps. You could directly form the pdf from the TeX file by using: pdflatex example.tex '''To edit a LaTeX file:''' You can edit it with any text editor: vi, emacs, xedit, ... (see [[Linux & Unix]] section) Different text editors have different advantages. If you like emacs, you may like the tool auctex. Auctex uses colour codes to distinguish between words and commands, and has help options available. '''To include references:''' To include references in your text file, you will need to create a bibtex file, i. e. name.bib. This file should contain the references in a special format. You can create it by hand, or you can use [[JabRef]]. To know more about the format, how to compile it, etc http://www.bibtex.org/Using/ '''To correct typos: the babel package''' To check the typos, you need to define the language at the beginning of the document with: \documentclass[catalan]{article} \usepackage{babel} \begin{document} ... \end{document} or \usepackage[catalan,activeacute]{babel} and to have the corresponding package available in your computer. By the default the language is English. To check the typos just close the tex file and use the command: ispell namefile.tex
Summary:
Please note that all contributions to Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information