Latex O’zbek tilidagi tarjimasi 1 LaTeX nima?


Download 368.56 Kb.
bet14/15
Sana17.06.2023
Hajmi368.56 Kb.
#1525627
1   ...   7   8   9   10   11   12   13   14   15
Bog'liq
LateX UZB

\[x_1^2,y_2^3\]
x21,y32
\[\sqrt{x}\]
--
x
\[\sqrt[3]{x}\]
3√ --
x
\[\sqrt{\sqrt{x}}\]
∘ √--
x
\[\sqrt[n]{y_2^3}\]
--
n y32
\[\frac{x}{y}\]
x
y
\end{document}
29.4 Yunoncha harflar
\documentclass{article}
\begin{document}
\[\alpha, \beta\]
α,β
\[\gamma, \delta\]
γ,δ
\[\rho, \lambda\]
ρ,λ
\[\Delta, \nabla\]
Δ,∇
\[\epsilon, \theta\]
ϵ,θ
\[\eta, \tau\]
η,τ
\[\pi, \sigma\]
π,σ
\[\phi, \xi\]
ϕ,ξ
\end{document}

29.5 Umumiy to'plamlar
\documentclass{article}
\usepackage{bbm}
\begin{document}
\[\mathbbm{C,Z}\]
C,Z
\[\mathbbm{Q,R} \]
Q,R
\[\mathbbm{N,Z_+}\]
N,Z
+
\[\mathbbm{R^+,R^-}\]
R+, R-
\[\mathcal{P,T}\]
P,T
\end{document}
29.6 Common Symbols\Operators
\documentclass{article}
\begin{document}
\[\infty\]

\[\leq, \geq\]
≤, ≥
\[\neq, \ll\]
⁄=, ≪
\[\gg \]

\[ \prec, \preceq\]
≺, ≼
\[ \succ, \succeq\]
≻, ≽
\[\forall,\exists\]
∀,∃
\[\not\exists, \iff\]
⁄ ∃, ⇐ ⇒
\[\sim,\cong\]
~, ~=
\[\simeq,\approx\]
≃, ≈
\[\equiv\]

\[\perp, \parallel\]
⊥, ∥
\[\propto, \not\perp\]
∝, ⁄⊥
\[\wedge,\vee\]
∧,∨
\[\angle, \mid\]
∠, |
\[\bigwedge, \bigvee\]
∧, ∨
\[\pm,\times,\ast\]
▒, ×,*
\[\oplus,\ominus\]
⊕, ⊖
\[\oslash, \odot\]
⊘, ⊙
\[\otimes\]

\[\bigoplus,\bigotimes\]
⊕, ⊗
\[\bigodot\]

\[\triangle,\triangleleft\]
△, ⊲
\[\triangleright, \square\]
⊳,□
\[\bigtriangleup\]

\[\bigtriangledown\]

\[\circ, \bigcirc\]
∘,○
\end{document}
29.7 To'plamlar va to'plamlardagi operatsiyalar
\documentclass{article}
\begin{document}
\[\in, \ni\]
∈,∋
\[\setminus\]
\
\[\subset, \supset\]
⊂,⊃
\[\subseteq\]

\[\supseteq\]

\[\cup, \cap\]
∪,∩
\[\bigcup, \bigcap\]
⋃,⋂
\[\sqcup, \sqcap\]
⊔,⊓
\[\bigsqcup\]

\end{document}
29.8 AMS to'plami bilan bir nechta umumiy operatsiyalar
\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
\[\therefore\]

\[\because\]

\[\implies\]
= ⇒
\[\nless, \ngtr\]
≮,≯
\[\nleq, \ngeq\]
,
\[\nsubseteq\]

\[\nsupseteq\]

\[\subsetneq\]

\[\supsetneq\]

\[\nsubseteq\]

\[\nsupseteq\]

\[\subsetneq\]

\[\supsetneq\]

\[\nmid\]

\[\nparallel\]

\[\nsim\]

\[\ncong\]

\end{document}
29.9 Amsmath va centernotli inkor etuvchi belgilar\operatorlar
\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
\[\centernot\implies\]
=⁄⇒
\[\centernot\iff\]
⇐⁄⇒
\[\centernot\mid\]
⁄|
\[\centernot\perp\]
⁄⊥
\[\centernot\equiv\]
⁄≡
\[\centernot\parallel\]
⁄∥
\[\centernot\sim\]
⁄~
\[\centernot\cong\]
⁄~=
\end{document}
29.10 Qavslar
\documentclass{article}
\begin{document}
\[ \Biggl( \biggl( \Bigl( \bigl( (\]
\[) \bigr) \Bigr) \biggr) \Biggr) \]
\end{document}
Natijasi

\documentclass{article}


\begin{document}
\documentclass{article}
\begin{document}
\[ \Biggl[ \biggl[ \Bigl[ \bigl[ [ \]
\[ ] \bigr] \Bigr] \biggr] \Biggr] \]
\end{document}
Natijasi

\documentclass{article}


\begin{document}
\documentclass{article}
\begin{document}
\[ \Biggl| \biggl| \Bigl| \bigl| | \]
\[| \bigr| \Bigr| \biggr| \Biggr| \]
\end{document}
Natijasi

29.11 Umumiy funksiyalar


\documentclass{article}
\begin{document}
\[\sin, \cos \]
sin,cos
\[\tan, \cot\]
tan,cot
\[\sec, \csc \]
sec,csc
\[\arcsin \]
arcsin
\[\arccos \]
arccos
\[\arctan \]
arctan
\[\sinh \]
sinh
\[\cosh \]
cosh
\[\tanh \]
tanh
\[\log, \ln \]
log,ln
\[\exp \]
exp
\[\max, \min \]
max, min
\[\inf, \sup \]
inf,sup
\[a \equiv r(\bmod\; n) \]
a ≡ r(modn )
\end{document}

29.12 Funktsiyalarga bir nechta misollar


\documentclass{article}
\usepackage{bbm}
\begin{document}
\( f: \mathbbm{R} \setminus \{0\} \to \mathbbm{R}\)
defined as \\
\(f(x) = \frac{\sin{x}}{x} \)
\end{document}
Natijasi
f : R \{0} → R defined as
sinx
f(x) = -x-

\documentclass{article}


\usepackage{bbm}
\begin{document}
\( f: \mathbbm{R} \to \mathbbm{R}\)
defined as \\
\(f(x) =
\left\{
\begin{array}{ll}
x & \mbox{if } x \geq 0 \\
-x & \mbox{if } x < 0
\end{array}
\right. \)
\end{document}
Natijasi
f : R → R defined as
(
|| #####
||{ #####
f(x) = #x### if x ≥ 0
||||
( - x if x < 0)
29.13 gradusdagi burchaklar
\documentclass{article}
\usepackage{gensymb}
\begin{document}
\[90\degree\]
90░
\end{document}
29.14 Vergul paketi bilan mutlaq qiymatlar va normalar
\documentclass{article}
\usepackage{commath}
\begin{document}
\[\abs{x}\]
|x|
\[\norm{x}\]
∥x∥
\[\norm{\frac{x}{\abs{y}}}\]
∥ ∥
∥∥ x-∥∥
|y|
\end{document}
29.15 Urg'u
\documentclass{article}
\begin{document}
\[\bar{a}\]
пa
\[\vec{a}\]
a
\[\hat{a}\]
ˆa
\[\tilde{a}\]
˜a
\[\dot{a}\]
˙a
\[\ddot{a}\]
иa
\[\check{a}\]
ˇa
\[\acute{a}\]
┤a
\[\breve{a}\]
˘a
\end{document}

29.16 Nuqtalar, ustunlar\pastki chiziqlar, ortiqcha qavslar\osti qavslar va boshqalar.


\documentclass{article}
\begin{document}
\[a + b + c + \cdots \]
a + b+ c+ ⋅⋅⋅
\[a_0,a_1,a_2 \ldots\]
a0,a1,a2...
\[\overline{abc}\]
---
abc
\[\underline{abc}\]
abc
\[\overleftarrow{abc}\]
←a-bc
\[\overrightarrow{abc}\]
-a→bc
\[\widetilde{abc}\]
a^bc
\[\widehat{abc}\]
a^bc
\[\overbrace{abc}\]
◜◞◟◝
abc
\[\underbrace{abc}\]
abc
◟◝◜◞
\end{document}
29.17 Xulosa
\documentclass{article}
\begin{document}
\[\sum\]

\[\sum a + b + \cdots\]

a+ b+ ⋅⋅⋅
\[\sum_{n=1}^{3}n\]
∑3
n=1 n
\[\sum\limits_{n=1}^{n=3}n\]
n=∑3
n=1 n
\end{document}
\limitlardan foydalanishga e'tibor bering.

29.18 Binom koeffitsientlari


\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[\binom{n}{r}\]
(n)
r
\[^nC_r\]
nCr
\[^nP_r\]
nPr
\end{document}
29.19 Limitlar
\documentclass{article}
\begin{document}
\(\lim_{n \to \infty}n\)
limn →∞ n
\(\lim\limits_{n \to \infty}n\)
lim n
n→ ∞
\end{document}
\limitlardan foydalanishga e'tibor bering.

29.20 Hosila vositalari


\documentclass{article}
\begin{document}
\[\frac{dy}{dx}\]
dy-
dx
\[\frac{d^2y}{dx^2}\]
d2y-
dx2
\[\frac{\partial z}{\partial x}\]
∂z-
∂x
\[\frac{\partial^2 z}{\partial x^2}\]
∂2z-
∂x2
\[\frac{\partial^2 z}{\partial x \partial y}\]
∂2z-
∂x∂y
\end{document}
29.21 Integral
\documentclass{article}
\begin{document}
\[\int,\oint\]
∫ ,∮
\[\int f(x)\,dx\]
∫ f(x)dx
\[\int \!f(x)\,dx\]
∫ f(x)dx
\[\int_{0}^{2}x\,dx\]
∫ 2xdx
0
\[\int_{0}^{2}\!x\,dx\]
∫ 2xdx
0
\[\int\limits_{0}^{2}x\,dx\]
∫2xdx
0
\[\int_{0}^{2}\!x\,\mathrm{d}x\]
∫ 2
0 xdx
\end{document}
Tushunish uchun fikrlar:
1. \! ∫ va integratsiya orasidagi bo'shliqni kamaytirish uchun ishlatiladi.
2. \limitlar chiziqli tenglamalarda chegaralarni to'g'ri joylashtirish uchun ishlatiladi.
3. \mathrm differensialni to'g'ri formatlash uchun ishlatiladi d.
29.22 Ikki tomonlama integratsiya
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[\iint\]

\[\iint xy\]
∬ xy
\[\iint xy\,dx\,dy\]
∬ xydxdy
\[\iint_D f \]
∬ f
D
\[\iint\limits_D f\]
∬ f
D
\[\int_{a}^{b}\int_{c}^{d}\]
∫ b∫d
a c
\[\int\limits_{a}^{b}\int\limits_{c}^{d}\]
∫bd∫
a c
\[\iint \!f(x)\,dx\,dy\]

f (x)dxdy
\end{document}
\iiint uchlik integratsiya uchun ishlatiladi.
29.23 Matritsalar va determinantlar
\documentclass{article}
\begin{document}
\( A = \begin{array}{cc}
a_{11} & a_{12}\\
a_{21} & a_{22}
\end{array} \)
\end{document}
Ishlab chiqarilgan matritsa ...
A = a11 a12

a21 a22


\documentclass{article}
\begin{document}
\( A = \left(
\begin{array}{cc}
a_{11} & a_{12}\\
a_{21} & a_{22}
\end{array}
\right) \)
\end{document}
Ishlab chiqarilgan matritsa ...


\documentclass{article}
\begin{document}
\( A = \left[
\begin{array}{cc}
a_{11} & a_{12}\\
a_{21} & a_{22}
\end{array}
\right] \)
\end{document}

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\( A = \begin{matrix}
a_{11} & a_{12}\\
a_{21} & a_{22}
\end{matrix} \)
\end{document}

\documentclass{article}


\usepackage{amsmath}
\begin{document}
\( A = \begin{pmatrix}
a_{11} & a_{12}\\
a_{21} & a_{22}
\end{pmatrix} \)
\end{document}

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\( A = \begin{bmatrix}
a_{11} & a_{12}\\
a_{21} & a_{22}
\end{bmatrix} \)
\end{document}

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\( A = \begin{vmatrix}
a_{11} & a_{12}\\
a_{21} & a_{22}
\end{vmatrix} \)
\end{document}

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\( A = \begin{Vmatrix}
a_{11} & a_{12}\\
a_{21} & a_{22}
\end{Vmatrix} \)
\end{document}

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\( A = \begin{Bmatrix}
a_{11} & a_{12}\\
a_{21} & a_{22}
\end{Bmatrix} \)
\end{document}

30. Foydalanuvchi tomonidan belgilangan buyruqlar
\documentclass{article}
\begin{document}
\newcommand{\xyz}{ Bu foydalanuvchi tomonidan belgilangan buyruq.}
\xyz
\end{document}


\documentclass{article}
\begin{document}
\newcommand{\poly}{a_0+a_1x+\cdots+a_nx^n}
\[\poly\]
\end{document}

\documentclass{article}


\begin{document}
\newcommand{\polyd}[1]{a_0+a_1x+\cdots+a_#1x^#1}
\[\polyd{m}\]
\[\polyd{n}\]
\end{document}

\documentclass{article}


\begin{document}
\newcommand{\polyvd}[2]{a_0+a_1#1+\cdots+a_#2#1^#2}
\[\polyvd{x}{m}\]
\[\polyvd{y}{n}\]
\end{document}

\documentclass{article}


\begin{document}
\newcommand{\polycvd}[3]{#1_0+#1_1#2+\cdots+#1_#3#2^#3}
\[\polycvd{a}{x}{m}\]
\[\polycvd{b}{y}{n}\]
\[\polycvd{c}{z}{p}\]
\end{document}

Tushunadigan fikrlar: Buyruq formati:


\yangi buyruq{buyruq nomi}[arguumlar raqami]{ta'rif}
1 . buyruq nomi \ bilan boshlanadi
2 . argumentlar soni 1 dan 9 gacha bo'lgan butun sondir.
3 . Buyruq ta'rifidagi #n n-argument bilan almashtiriladi.
31 Buyruqlarni qayta aniqlash
\documentclass{article}
\begin{document}
\renewcommand{\textbf}{\textit}
\textbf{Italic text with redefined \textbackslash textbf!}
\end{document}

\documentclass{article}


\begin{document}
\newcommand{\xyz}{This is user defined command.}
\xyz
\renewcommand{\xyz}{This is redefined xyz command.}
\xyz
\end{document}

\documentclass{article}


\begin{document}
\newcommand{\xyz}{This is user defined command.}
\xyz
\renewcommand{\xyz}[2]{A redefined xyz command of
args. #1 and #2.}
\xyz{a}{b}
\end{document}
Tushunadigan fikrlar: Buyruq formati:
\renewcommand{qayta belgilash buyrug'i}[arguumlar soni]{ta'rif}
1 . argumentlar soni 1 dan 9 gacha bo'lgan butun sondir.
2 . Buyruq ta'rifidagi #n n-argument bilan almashtiriladi.
32 Oddiy xat
\documentclass{letter}
\signature{Your name}
\address{From: \\Line 1 \\ Line 2 \\ Line 3}
\begin{document}
\begin{letter}{To:\\ Line 1 \\ Line 2 \\ Line 3}
\opening{Dear Sir\textbackslash Madam,}
A content part
\closing{Yours Faithfully,}
\ps{P.S. Here goes your ps.}
\encl{Enclosures.}
\end{letter}
\end{document}

Maslahat: Sarlavha va altbilgini o'rnatish uchun fancyhdr paketidan foydalaning. Joriy sahifaga sarlavha va altbilgi kiritish uchun \thispagestyle{fancy} dan foydalanishingiz mumkin. 26-qismga murojaat qilishingiz mumkin.


33 Oddiy tadqiqot maqolasi
35-bo'limda tasvirlangan narsalarning aksariyati: Kitob hujjatlari sinfiga ega kitoblar maqolalar sinfiga ham tegishli. Masalan, mundarija, raqamlar ro'yxati, jadvallar ro'yxati, bibliografiya va boshqalarni yaratish. Mana tadqiqot maqolasining oddiy shabloni.
\documentclass[letterpaper]{article}
\usepackage{geometry,url,graphicx}
\title{A Sample Research Paper}
\author{X Y Z}
\date{dd-mm-yyyy}
\begin{document}
\maketitle
\abstract{An abstract}
\newpage
\tableofcontents
\newpage
\listoffigures
\newpage
\listoftables
\newpage
\section{Introduction}
An Introduction.
\section{Background and Preliminary}
A Background and Prelimnary
\section{First Main Section}
A first section
\subsection{Subsection of I Section}
A subsection
\subsection{Another Subsection of I Section}
Another subsection
\section{Second Main Section}
A second section
\subsection{Subsection of II Section}
A subsection
\subsection{Another Subsection of II Section}
Another subsection
\section{Conclusion}
A conclusion
\newpage
\begin{thebibliography}{99}
\bibitem{Ref1} Author 1., \textit{Book 1}, Publisher 1, Year 1.
\bibitem{Ref2} Author 2., \textit{Book 2}, Publisher 2, Year 2.
\end{thebibliography}
\end{document}

Maslahat: fancyhdr to'plami (26-bo'lim) sarlavha va altbilgilarni o'rnatish uchun ishlatilishi mumkin.


34.Imtihon hujjatlari sinfi bilan savol-javoblar
LaTeX savol qog'ozlarini tayyorlashni osonlashtiradi. Imtihon hujjatlari sinfida oson moslashtirilgan holda, yechimlar bilan bir qatorda turli xil savol qog'ozlari tayyorlanishi mumkin. Aralashtirish opsiyasi bilan turli xil savollar to‘plamini avtomatik yaratish, Yechimlar tanlovga qo‘shilishi yoki chiqarib tashlanishi, bir sahifada bir nechta to‘plamlarni chop etish va hokazo. Ushbu bo'limda biz imtihon hujjatlari sinfida mavjud bo'lgan asosiy buyruqlarni o'rganamiz. Tafsilotlar uchun imtihon sinfining paket hujjatlariga qarang.
34.1 Tasviriy savollar
\documentclass[addpoints,12pt]{exam}
\begin{document}
\begin{questions}
\question[10] I question
\question[15] II question
\end{questions}
\end{document}

\documentclass[addpoints,12pt]{exam}


\pointsinmargin
\begin{document}
\begin{questions}
\question[10] I question
\question[15] II question
\end{questions}
\end{document}

\documentclass[addpoints,12pt]{exam}


\pointsinrightmargin
\begin{document}
\begin{questions}
\question[10] I question
\question[15] II question
\end{questions}
\end{document}

\documentclass[addpoints]{exam}


\pointsinrightmargin
\begin{document}
\begin{questions}
\question[10] I question
\question
\begin{parts}
\part[5] I sub-question
\part[5] II sub-question
\part
\begin{subparts}
\subpart[3] I sub-question in (c)
\subpart[2] II sub-question in (c)
\end{subparts}
\end{parts}
\end{questions}
\end{document}

1. Imtihon hujjatlari sinfidagi \begin{questions} ... \end{questions} muhiti.


2. Belgilarni oʻng chetiga chop etish uchun \{pointsinrightmargin}.
3. Kichik savollar uchun:
\begin{ parts } ... \end{ parts } muhitda \begin{questions} ... \end{questions}.
\begin{subparts} ... \end{subparts} muhitda \begin{parts} ... \end{parts}.
34.2 Ko'p tanlovli savollar
\documentclass[addpoints]{exam}
\pointsinrightmargin
\begin{document}
\begin{questions}
\question[2] The correct option
\begin{choices}
\choice I Option
\choice II Option
\choice III Option
\choice IV Option
\end{choices}
\end{questions}
\end{document}

\documentclass[addpoints]{exam}


\pointsinrightmargin
\begin{document}
\begin{questions}
\question[2] The correct option \\
\begin{oneparchoices}
\choice I Option
\choice II Option
\choice III Option
\choice IV Option
\end{oneparchoices}
\end{questions}
\end{document}

\documentclass[addpoints]{exam}


\pointsinrightmargin
\begin{document}
\begin{questions}
\question[2] The correct option
\begin{checkboxes}
\choice I Option
\choice II Option
\choice III Option
\choice IV Option
\end{checkboxes}
\end{questions}
\end{document}

\documentclass[addpoints]{exam}


\pointsinrightmargin
\begin{document}
\begin{questions}
\question[2] The correct option \\
\begin{oneparchoices}
\choice I Option
\choice II Option
\choice III Option
\choice IV Option
\end{oneparchoices}
\end{questions}
\end{document}

\documentclass[addpoints]{exam}


\usepackage{amssymb}
\checkboxchar{\(\Box \)}
\pointsinrightmargin
\begin{document}
\begin{questions}
\question[2] The correct option
\begin{checkboxes}
\choice I Option
\choice II Option
\choice III Option
\choice IV Option
\end{checkboxes}
\end{questions}
\end{document}

\documentclass[addpoints]{exam}


\usepackage{amssymb}
\checkboxchar{\(\Box \)}
\pointsinrightmargin
\begin{document}
\begin{questions}
\question[2] The correct option \\
\begin{oneparchoices}
\choice I Option
\choice II Option
\choice III Option
\choice IV Option
\end{oneparchoices}
\end{questions}
\end{document}

Maslahatlar:


1.\boʻsh savollarni toʻldirish uchun toʻldiring.2.\begin{solution} …\end{solution} soʻrovdan keyin yechimlarni kiritish uchun. Yechimlarni chop etish yoki chop qilmaslik uchun savol muhitidan oldin \printanswers yoki \noprintanswers buyrug'i.3.Qismlar va kichik qismlar uchun raqamlash naqshini imtihon sinfidagi mos buyruqlarni yangilash orqali o'zgartirish mumkin.4.sarlavha va pastki ma'lumotlarni kiritish uchun Preambulada \pagestyle{headandfoot} buyrug'idan foydalaning va keyin \lhead{},\chead{},\rhead{},\lfoot{},\cfoot{},\rfoot{} dan foydalaning.
Shuningdek, joriy sahifadagi sarlavha va altbilgini istisno qilish uchun \thispagestyle{empty}. 26-qismga murojaat qilishingiz mumkin.
35. Kitob hujjati sinfiga ega kitoblar
LaTeX katta hujjatlarni osonlik bilan qayta ishlaydi. Bir necha soniya ichida yuzlab sahifalar qayta ishlanadi va bu butunning ko'rinishini o'zgartirish uchun bir nechta buyruqlarni o'zgartirish masalasidir. Bu kitob va tezislar yozish uchun eng mos platforma ekanligining sababi. Mundarijalar, indekslar, jadvallar ro'yxatlari, raqamlar ro'yxati, havolalar va o'zaro havolalar va boblar, bo'limlar, bo'limlarning aniq formatlanishi va hokazolarni avtomatik yaratish bularning barchasi kitob yozishni osonlashtiradi. Keyinchalik bo'limlar va boshqa kontent uchun alohida fayllarda ishlash mumkin. Ushbu bo'lim kitob hujjatlari sinfi bilan kitob yozish uchun qisqacha kirishni beradi.

35.1 Kitobning mazmuni qismi


\documentclass{book}
\begin{document}
\part{First Part}
\chapter{Preface}
\chapter{First main chapter}
\section{A section}
\section{Another section}
\subsection{A sub-section}
\subsubsection[Deeper level]{A sub-section at deeper level}
\chapter{Second main chapter}
\part{Second part}
\chapter{Third main chapter}
\chapter{Fourth main chapter}
\end{document}
\documentclass{book}
\begin{document}
\part{First Part}
\chapter*{Preface}
\chapter{First main chapter}
\section{A section}
\section{Another section}
\subsection{A sub-section}
\subsubsection[Deeper level]{A sub-section at deeper level}
\chapter{Second main chapter}
\part{Second part}
\chapter{Third main chapter}
\chapter{Fourth main chapter}
\end{document}

Tushunish uchun fikrlar:


1 . Tarkib qismining ierarxiyasi darajasi: Part ... chapter ... chapter ... subsection ... deeper level subsection
2 . Bo'lim raqamini o'tkazib yuborish uchun yulduzcha { chapter*}.
Maslahat: fancyhdr to'plami (section 26) sarlavha va altbilgilarni o'rnatish uchun ishlatilishi mumkin.

35.2 Sarlavha sahifasini yaratish


\documentclass{book}
\begin{document}
\begin{titlepage}
\noindent{\Huge Name of Book \\ \\ }
{\large edition \\ \\ \\}
{\Large Author\\}
\vfill
{\itshape year, Publisher}
\end{titlepage}
\end{document}

35.3 Mundarijani o'z ichiga olgan holda


\documentclass{book}
\begin{document}
\tableofcontents
\part{First Part}
\chapter*{Preface}
\chapter{First main chapter}
\section{A section}
\section{Another section}
\subsection{A sub-section}
\subsubsection[Deeper level]{A sub-section at deeper level}
\chapter{Second main chapter}
\part{Second part}
\chapter{Third main chapter}
\chapter{Fourth main chapter}
\section{A section in IV Chapter}
\end{document}

\documentclass{book}


\begin{document}
\tableofcontents
\part{First Part}
\chapter*{Preface}
\addcontentsline{toc}{chapter}{Preface}
\chapter{First main chapter}
\section{A section}
\section{Another section}
\subsection{A sub-section}
\subsubsection[Deeper level]{A sub-section at deeper level}
\chapter{Second main chapter}
\part{Second part}
\chapter{Third main chapter}
\chapter{Fourth main chapter}
\addtocontents{toc}{Some Description of Section}
\section{A section in IV Chapter}
\end{document}

Tushunish uchun fikrlar:



  1. \table of contents tarkibini kiritish.

  2. Mundarijaga qo'lda kiritish uchun \addcontentsline. U istalgan darajadagi tarkibga yozuvlar qo'shish uchun ishlatilishi mumkin. Buyruqning formati \addcontentsline{toc}{level}{Yozuv nomi} Daraja qism, bob, bo'lim yoki kichik bo'lim bo'lishi mumkin.

  3. \addcontents Mundarijaga sahifa raqamisiz qoʻlda kiritish uchun. Buyruqning formati

\addcontents{toc}{Name of Entry}


\documentclass{book}
\setcounter{tocdepth}{0}
\begin{document}
\tableofcontents
\part{First Part}
\chapter*{Preface}
\addcontentsline{toc}{chapter}{Preface}
\chapter{First main chapter}
\section{A section}
\section{Another section}
\subsection{A sub-section}
\subsubsection[Deeper level]{A sub-section at deeper level}
\chapter{Second main chapter}
\part{Second part}
\chapter{Third main chapter}
\chapter{Fourth main chapter}
\addtocontents{toc}{Some Description}
\section{A section in IV Chapter}
\end{document}

\documentclass{book}


\setcounter{tocdepth}{1}
\begin{document}
\tableofcontents
\part{First Part}
\chapter*{Preface}
\addcontentsline{toc}{chapter}{Preface}
\chapter{First main chapter}
\section{A section}
\section{Another section}
\subsection{A sub-section}
\subsubsection[Deeper level]{A sub-section at deeper level}
\chapter{Second main chapter}
\part{Second part}
\chapter{Third main chapter}
\chapter{Fourth main chapter}
\addtocontents{toc}{Some Description}
\section{A section in IV Chapter}
\end{document}

\documentclass{book}


\usepackage{hyperref}
\setcounter{tocdepth}{1}
\begin{document}
\tableofcontents
\part{First Part}
\chapter*{Preface}
\addcontentsline{toc}{chapter}{Preface}
\chapter{First main chapter}
\section{A section}
\section{Another section}
\subsection{A sub-section}
\subsubsection[Deeper level]{A
sub-section at deeper level}
\chapter{Second main chapter}
\part{Second part}
\chapter{Third main chapter}
\chapter{Fourth main chapter}
\addtocontents{toc}{Some Description}
\section{A section in IV Chapter}
\end{document}

\documentclass{book}


\usepackage[colorlinks=true, linkcolor=blue]{hyperref}
\setcounter{tocdepth}{1}
\begin{document}
\tableofcontents
\part{First Part}
\chapter*{Preface}
\addcontentsline{toc}{chapter}{Preface}
\chapter{First main chapter}
\section{A section}
\section{Another section}
\subsection{A sub-section}
\subsubsection[Deeper level]{A
sub-section at deeper level}
\chapter{Second main chapter}
\part{Second part}
\chapter{Third main chapter}
\chapter{Fourth main chapter}
\addtocontents{toc}{Some Description}
\section{A section in IV Chapter}
\end{document}

Points to Understand:

1. hyperref paketi avtomatik xatcho'plar va boblar, bo'limlar, kichik bo'limlar va hokazolarning giperhavolalarini yaratadi. Unda xatcho'plar va giperhavolalar ko'rinishini o'zgartirish uchun ixtiyoriy argumentlar mavjud.
2. \setcounter{tocdepth}{chuqurlik darajasi}
Mundarijaning chuqurlik darajasini belgilash uchun ishlatiladi.
Content Part Level


Download 368.56 Kb.

Do'stlaringiz bilan baham:
1   ...   7   8   9   10   11   12   13   14   15




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling