LaTeX Concept and subject of latex and its usage and related questions on latex

AI Thread Summary
LaTeX is a document preparation system distinct from MATLAB, which is primarily a computational tool. Users can install LaTeX on their PCs, and there are free downloads available. LaTeX code can also be embedded in HTML files, which can be processed by web browsers using specific JavaScript libraries like MathJax. To view the source of an HTML file, users can open it in a text editor like Notepad, allowing them to see the raw code instead of the rendered output. HTML files can be saved in various formats, such as .html or .mhtml, and can be viewed in text editors or web browsers. For those unfamiliar with HTML, web browsers typically offer a "view source" option to access the underlying code directly.
mech-eng
Messages
825
Reaction score
13
latex.png
Hi, I have newly encountered with a subject called LaTeX. I try to learn it. I know it is a document preparation program. Can I install on my PC and start to use it like Matlab? For example where can I use this code?

http://en.wikipedia.org/wiki/AMS-LaTeX

Thank you.
 
Physics news on Phys.org
There is a pinned thread right at the top...have you read that one?
 
I am examining that topic now. this concept is so unfamiliar to me and even students around me haven't heard name of it.

Thank you.
 
Whereas LaTeX is a documentation tool, MATLAB is a very powerful calculation tool.
Can I install on my PC and start to use it like Matlab? For example where can I use this code?
There are free downloads available. There are also web sites that you can reference in an HTML file that will process LaTex code that you put into that html file. I forget how that is done, but if you look at the source of a simple HTML file displaying LaTex, you will see it.
 
FactChecker said:
Whereas LaTeX is a documentation tool, MATLAB is a very powerful calculation tool.

There are free downloads available. There are also web sites that you can reference in an HTML file that will process LaTex code that you put into that html file. I forget how that is done, but if you look at the source of a simple HTML file displaying LaTex, you will see it.

I am not a very good computer user. Up until now I have never dealt with HTML files, just saved them on my PC. How can I look at a source of a simple HTML file, If it is only for Website design, should I follow a source for HTML? It seems that I need more guidance on Latex and maybe HTML.

Thank you.
 
If you have a HTML file saved on your disk and you open it with the Windows notepad, you will see it as the source, not as a rendered page.
 
Borek said:
If you have a HTML file saved on your disk and you open it with the Windows notepad, you will see it as the source, not as a rendered page.

Are HTML files(or what are their general names, because there are MHTML files) dropped into two categories and rendered file is that which we see in web browser such as internet explorer and source file is that which we open in a writing editör such as notepad, ms Word?

Thank you
 
What you see in the web browser is the image rendered interpreting the source file. I am not aware of other formats (that is, when you save a page from the browser it can do some tricks and save in its own format, but these are not exactly standardized).
 
mech-eng said:
Are HTML files(or what are their general names, because there are MHTML files) dropped into two categories and rendered file is that which we see in web browser such as internet explorer and source file is that which we open in a writing editör such as notepad, ms Word?

Thank you
Microsoft Word can save files in a number of formats, including
  • Single file Web page (*.mht or *mhtml)
  • Web page (*.htm or *.html)
  • Word XML (*.xml)
  • PDF (*.pdf)
and several others.
Many of these formats, such as the HTML and XML formats, are text that can be viewed in Notepad (as Borek suggested) or other text editors.
 
  • #10
This is example LaTeX code in an HTML file. Remove the begin and end verbatim lines. Put this into a file with extension .htm and double click it. Your web browser will read it and sent the LaTex to the link shown for interpretation. Sometimes there is a delay while the website interpretes the LaTeX. That is why you often see the raw LaTeX for a while before it is turned into math equations.

\begin{verbatim}
<html>
<body>

\Delta \theta = \omega_0 t + \frac{1}{2} \alpha t^2.
y = a x^2 + bx + c

<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/2.2-...//www.physicsforums.com/mathjax/mjsettings.js"></script>

</body>
</html>
\end{verbatim}

Here is what it should look like.
\Delta \theta = \omega_0 t + \frac{1}{2} \alpha t^2.
y = a x^2 + bx + c
 
Last edited:
  • #11
mech-eng said:
How can I look at a source of a simple HTML file

As others have noted, if you save a web page from your browser as a .html file, you should be able to open it in a text editor like Notepad (Windows) or TextEdit (Mac OS).

Also, I think most or all web browsers have an option to view the source code of the current page. In Firefox (Mac OS), from the menu bar: Tools --> Web Developer --> Page Source.
 
  • #12
Often just Ctrl-U.
 

Similar threads

Back
Top