Przykład
Transkrypt
Przykład
1. Preambuła
\documentclass[12pt]{mwart}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage[a4paper,top=1.5cm,foot=1.5cm,left=1.5cm,right=1.5cm]{geometry}
\usepackage[cp1250]{inputenc}
\usepackage{polski}
2. i po preambule
Przykład
znaki specjalne: \, $, #, %, &, , ˆ, ˜, {, }
i entery
znaki specjalne: $\backslash$, \$, \#, \%, \&, \_, \^{}, \~{}, \{, \}
i entery
Przykład
\section{},\subsection{},,\part{},\chapter{},
\verb!text!
aaaaaaaa
\hspace{5cm} a a a a a a a a a a a a a a a a a a
aaa
\hspace{5cm} a a a a a a a a a a a a a a a a a
\hspace*{5cm} a a a a a a a a a a a a a a a a a
\verb|\section{},\subsection{},,\part{},\chapter{}|,\hfill \verb|\verb!text!|\\
a a a a a a a a \hspace{5cm}\verb|\hspace{5cm}| a a a a a a a a a a a a a a a a
a a a a a\\
\hspace{5cm}\verb|\hspace{5cm}| a a a a a a a a a a a a a a a a a\\
\hspace*{5cm}\verb|\hspace*{5cm}| a a a a a a a a a a a a a a a a a\\
1
Przykład
Spis treści
1. Preambuła . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
2. i po preambule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
3. Matematyka . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1. inna matematyka . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
2
\tableofcontentsa \footnote{}
a
Spis treści
\tableofcontents
\verb|\tableofcontents|\footnote{Spis tre\’sci}\verb|\footnote{}|
Przykład
3. Matematyka
2
X
23
3
, lim x,
23 x→∞ n=1
\section{Matematyka }\label{zapamietamMIEJSCE}
$$\frac{2^3}{2_3},
\lim_{x\rightarrow\infty}x, \sum_{n=1}^{2}3$$
Przykład
3.1. inna matematyka
Z ±∞
, ·, . . . , · · · , tekst
−∞
\subsection{inna matematyka }
$$\int_{-\infty}^{\pm\infty}, \cdot, \dots, \dotsb,\text{tekst}$$
Przykład
„polski cudzysłów”
”zły cudzysłów”
\hfill, \hrulefill\vfill
,,polski cudzys\l \’ow’’\hfill "z\l y cudzys\l \’ow"\hrulefill
\verb|\hfill, \hrulefill\vfill|
2
Przykład
textrm , textbf , texttt , textit , textsl , textsc , textsf
\kroj{textrm}, \kroj{textbf}, \kroj{texttt}, \kroj{textit}, \kroj{textsl},
\kroj{textsc}, \kroj{textsf}
Przykład
tiny
,
scriptsize
, footnotesize , small , normalsize , large ,
Large , LARGE , huge ,
Huge .
\wielkosccz{tiny}, \wielkosccz{scriptsize}, \wielkosccz{footnotesize},
\wielkosccz{small}, \wielkosccz{normalsize}, \wielkosccz{large},
\wielkosccz{Large}, \wielkosccz{LARGE}, \wielkosccz{huge}, \wielkosccz{Huge}.
Przykład
A, B, C,\;\:\,\! D, E, F,
,\qquad G, H, I, J, K, L, Ł, M, N, O, P, ,\quad, R, S, T,
U, W, Z, a, b, c, d, e, f, g, h, i, j, k, l, Ł, m, n, o, p, r, s, t, u, w, z, A, B, C, D, E, F, G, H,
I, J, K, L, Ł, M, N, O, P, R, S, T, U, W, Y, Z, \uppercase{},\lowercase{}
A, B, C,\verb|\;\:\,\!| D, E, F,\qquad,\verb!\qquad! G, H, I, J, K, L, \L, M, N, O,
P,\quad,\verb!\quad!, R, S, T, U, W, Z, \lowercase{A, B, C, D, E, F, G, H, I, J, K,
L, \L, M, N, O, P, R, S, T, U, W, Z}, \uppercase{a, b, c, d, e, f, g, h, i, j,
k, l, \L, m, n, o, p, r, s, t, u, w, y, z,} \verb|\uppercase{},\lowercase{}|
3
Przykład
Lista numerowana
Lista numerowana
\bigskip
1. \begin{minipage}{5cm}
2. \begin{enumerate}
\begin{minipage}{6cm}
\begin{enumerate}
\item \verb|\begin{minipage}{5cm}|
\item \verb|\begin{enumerate}|
\end{enumerate}
\end{minipage}
Przykład
Lista nienumerowana
— j.w.
— \begin{itemize}
Lista nienumerowana
\medskip
\begin{minipage}{4cm}
\begin{itemize}
\item j.w.
\item \verb|\begin{itemize}|
\end{itemize}
\end{minipage}
Przykład
Lista z własnym opisem
11 j.w.
opis \begin{description}
Lista z w\l asnym opisem
\smallskip
\begin{minipage}{6cm}
\begin{description}
\item[11] j.w.
\item[opis] \verb|\begin{description}|
\end{description}
\end{minipage}
4
Przykład
2
1111 111 11111
1
longtable!
p
2222222222 222222222222
3
333333 3333333333
222222
3333
444
4444444444
44444 44444
444
\begin{tabular}{|*{2}{c||}r|||p{3cm}|}\hline
2&p&3&444\\ \hline
1111 111 11111&2222222222 222222222222&333333 3333333333&4444444444 44444 44444\\
\hline
1&2 2 2 2 2 2 &3 3 3 3 &4 4
4\\
\hline
\end{tabular}
longtable!
Przykład
x
f (x) =
y
$$f(x)=
\begin{cases}
x&x<1 \\
y& \text{je\.zeli co\’s nie wysz\l o}
\end{cases}
$$
x<1
jeżeli coś nie wyszło
Przykład
(
f (x) =
x x<1
y jeżeli coś nie wyszło
$$f(x)=
\left\{
\left(
\begin{aligned}
x&&&x<1 \\
y&&& \text{je\.zeli co\’s nie wysz\l o}
\end{aligned}
\right.
\right]
$$
#
5
Przykład
W rozdziale 3, na stronie 2 jest coś. A tutaj
są macierze:
!
1 2
,
3 4
"
#
1 2
,
3 4
(
)
1 2
,
3 4
1 2 ,
3 4 1 2
,
3 4
W rozdziale \ref{zapamietamMIEJSCE},
na stronie \pageref{zapamietamMIEJSCE}
jest co\’s.
A tutaj s\k{a} macierze:\\
$\begin{pmatrix}
1&2\\3&4
\end{pmatrix}$,\\
$\begin{bmatrix}
1&2\\3&4
\end{bmatrix}$,\\
$\begin{Bmatrix}
1&2\\3&4
\end{Bmatrix}$,
$\begin{vmatrix}
1&2\\3&4
\end{vmatrix}$,
$\begin{Vmatrix}
1&2\\3&4
\end{Vmatrix}$,
6
Przykład
sin2 x + cos2 x =
sin x · sin x + cos x cos x =
sin x sin x + cos x · cos x =
(sin sin x cos x + cos x · tg x) · (1 − e2πi ) + 1 =
(sin x + cos x)2 − 2 sin x cos x = 1 (1)
\begin{multline}
\sin^2 x+\cos^2 x=\\
\sin x \cdot \sin x+\cos x\cos x=\\
\sin x \sin x+\cos x\cdot \cos x=\\
(sin\sin x \cos x+\cos x\cdot \tg x)\cdot (1-e^{2\pi i})+1=\\
(\sin x +\cos x)^2-2\sin x \cos x=1
\end{multline}
Przykład
sin2 x + cos2 x =
sin x · sin x + cos x cos x =
sin x sin x + cos x · cos x =
(sin sin x cos x + cos x · tg x) · (1 − e2πi ) + 1 =
(sin x + cos x)2 − 2 sin x cos x = 1
\begin{multline*}
\sin^2 x+\cos^2 x=\\
\sin x \cdot \sin x+\cos x\cos x=\\
\sin x \sin x+\cos x\cdot \cos x=\\
(sin\sin x \cos x+\cos x\cdot \tg x)\cdot (1-e^{2\pi i})+1=\\
(\sin x +\cos x)^2-2\sin x \cos x=1
\end{multline*}
7
Przykład
Najlepszy pomysł na matematyke :
a=1+2+3
b+c=4+5
a+b+c=3+5
Najlepszy pomys\l{} na matematyk\kroj{e}:
\begin{equation}
\begin{split}
a&=1+2+3\\
b+c&=4+5\\
a+b+c&=3+5\\
\end{split}
\end{equation}
gwiazki!
(2)
gwiazki!
Przykład
a = 1 + 2 + 3 + 5 + 6 +4
b+c=4+5
+9
a+b+c=3
−1
\begin{equation}
\begin{aligned}
a&=1+2+3+5+6&+4\\
b+c&=4+5&+9\\
a+b+c&=3&-1\\
\end{aligned}
\end{equation}
(3)
Przykład
a=b
e=f
c=d
g =h
\begin{align}
a&=b &c=d\\
e&=f &g=&h\\
\end{align}
(4)
(5)
(6)
gwiazdki!
gwiazdki!
8