Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
LaTeX
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
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!
==Typesetting system== LaTeX attempts to follow the design philosophy of [[Separation of presentation and content|separating presentation from content]], so that authors can focus on the content of what they are writing without attending simultaneously to its visual appearance. In preparing a LaTeX document, the author specifies the logical structure using simple, familiar concepts such as ''chapter'', ''section'', ''table'', ''figure'', etc., and lets the LaTeX system handle the formatting and layout of these structures. As a result, it encourages the separation of the layout from the content β while still allowing manual typesetting adjustments whenever needed. This concept is similar to the mechanism by which many [[word processor]]s allow styles to be defined globally for an entire document, or the use of [[Cascading Style Sheets]] in styling HyperText Markup Language ([[HTML]]) documents. The LaTeX system is a [[markup language]] that handles typesetting and rendering,<ref>The design of LaTeX owes something to earlier markup systems such as [[Scribe (markup language)|Scribe]].</ref> and can be arbitrarily extended by using the underlying [[macro language]] to develop custom macros such as new environments and commands. Such macros are often collected into ''packages,'' which could then be made available to address some specific typesetting needs such as the formatting of complex mathematical expressions or graphics (e.g., the use of the <code>align</code> environment provided by the <code>amsmath</code> package to produce aligned equations). To create a document in LaTeX, a user first creates a file, such as <code>document.tex</code>, typically using a [[text editor]].<ref>{{cite web |last1=Van Dyke |first1=Jackson |title=Getting started with LaTeX and Vim |url=https://web.ma.utexas.edu/users/vandyke/notes/getting_started_latex_vim/getting_started.pdf |access-date=21 February 2024}}</ref> The user then gives their <code>document.tex</code> file as input to the TeX program (with the LaTeX macros loaded), which prompts TeX to write out a file suitable for onscreen viewing or printing.<ref>PDF output is common, but TeX can output other formats such as DVI ("Device independent" format).</ref> This write-format-preview cycle is one of the chief ways in which working with LaTeX differs from the [[WYSIWYG|What-You-See-Is-What-You-Get]] (WYSIWYG) style of document editing. It is similar to the code-compile-execute cycle known to computer programmers. Today, many LaTeX-aware editing programs make this cycle a simple matter through the pressing of a single key while showing the output preview on the screen beside the input window. Some online LaTeX editors even automatically refresh the preview,<ref>{{Cite web |title=Overleaf |url=//www.overleaf.com}}</ref><ref>{{Cite web |title=Seeveeze |url=//www.seeveeze.com/}}</ref><ref>{{Cite web |title=LaTeX Base |url=//latexbase.com}}</ref> while other online tools provide incremental editing in-place, mixed in with the preview in a single window.<ref>{{Cite web |title=Authorea |url=//www.authorea.com/}}</ref>
Summary:
Please note that all contributions to Niidae 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
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
LaTeX
(section)
Add topic