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

  • Context: LaTeX 
  • Thread starter Thread starter mech-eng
  • Start date Start date
  • Tags Tags
    Concept Latex Matlab
Click For Summary

Discussion Overview

The discussion revolves around the concept of LaTeX, its installation, usage, and comparison with other tools like MATLAB. Participants explore how to implement LaTeX in HTML files and seek guidance on understanding both LaTeX and HTML.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant expresses a desire to learn LaTeX and inquires about its installation and usage similar to MATLAB.
  • Another participant mentions the availability of free downloads for LaTeX and references websites that can process LaTeX code within HTML files.
  • Some participants discuss the differences between LaTeX as a documentation tool and MATLAB as a calculation tool.
  • There are questions about how to view the source code of HTML files, with suggestions to use text editors like Notepad or TextEdit.
  • Participants share methods for viewing the source code of web pages, including browser options and keyboard shortcuts.
  • One participant provides an example of LaTeX code embedded in an HTML file and describes how to use it.

Areas of Agreement / Disagreement

Participants generally agree on the basic functionalities of LaTeX and HTML, but there are varying levels of familiarity and understanding regarding their usage and implementation. The discussion remains unresolved regarding the best practices for integrating LaTeX into HTML.

Contextual Notes

Some participants express uncertainty about the technical aspects of HTML and LaTeX, indicating a need for further guidance and clarification on these topics.

mech-eng
Messages
826
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

  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 9 ·
Replies
9
Views
6K
Replies
18
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K