74da92b ←53f71a3antonApr 18, 2026 api

create basics.tex via macOS

A /docs/undefined +94 -0
A /docs/undefined +94 -0
1\documentclass[12pt]{article}
2\usepackage[utf8]{inputenc}
3\usepackage{hyperref}
4
5\title{LaTeX Basics}
6\author{sublimated}
7\date{}
8
9\begin{document}
10\maketitle
11
12\section{Headings}
13
14Sections create the document hierarchy. LaTeX supports several levels.
15
16\subsection{Subsection}
17
18Use \verb|\subsection| for the second level.
19
20\subsubsection{Subsubsection}
21
22And \verb|\subsubsection| for the third.
23
24\paragraph{Paragraph heading.} The fourth level is inline.
25
26\section{Text Formatting}
27
28\textbf{Bold text} uses \verb|\textbf{}|.
29\textit{Italic text} uses \verb|\textit{}|.
30\texttt{Monospace text} uses \verb|\texttt{}|.
31\underline{Underlined text} uses \verb|\underline{}|.
32\textsc{Small Caps} uses \verb|\textsc{}|.
33
34Combine them: \textbf{\textit{bold italic}}, \textit{\texttt{italic mono}}.
35
36\section{Lists}
37
38\subsection{Unordered}
39
40\begin{itemize}
41 \item First item
42 \item Second item
43 \item Third item with nested list:
44 \begin{itemize}
45 \item Nested item one
46 \item Nested item two
47 \end{itemize}
48\end{itemize}
49
50\subsection{Ordered}
51
52\begin{enumerate}
53 \item First step
54 \item Second step
55 \item Third step
56\end{enumerate}
57
58\subsection{Description}
59
60\begin{description}
61 \item[LaTeX] A document preparation system
62 \item[Typst] A modern alternative to LaTeX
63 \item[Markdown] Lightweight markup language
64\end{description}
65
66\section{Quotations}
67
68\begin{quote}
69The purpose of computing is insight, not numbers.
70
71--- Richard Hamming
72\end{quote}
73
74\section{Links}
75
76Visit \href{https://sublimated.com}{sublimated.com} for more.
77
78See also \url{https://www.latex-project.org/}.
79
80\section{Footnotes}
81
82LaTeX handles footnotes automatically.\footnote{This appears at the bottom of the page.}
83
84Multiple footnotes are numbered sequentially.\footnote{Like this second one.}
85
86\section{Verbatim}
87
88\begin{verbatim}
89This is verbatim text.
90 Whitespace is preserved.
91 No commands are interpreted: \textbf{this stays literal}.
92\end{verbatim}
93
94\end{document}