81
\begin{figure}[h]
\begin{minipage}[h]{0.49\linewidth}
\center{\includegraphics[width=0.5\linewidth]{kapalak} \\ a)}
\end{minipage}
\hfill
\begin{minipage}[h]{0.49\linewidth}
\center{\includegraphics[width=0.5\linewidth]{kapalak} \\ b)}
\end{minipage}
Rasm maydonida formula kiritish
Rasm joylashtiriladigan maydonda formula
kiritish uchun rasm obyekti
o’rniga formula yozish kifoya.Albatta formula yoziladigan joy to’g’ri ko’rsatilishi
shart.Masalan:
\setlength{\unitlength}{0.8cm}
\begin{picture}(6,5)
\put(3.5,0.4){$\displaystyle
s:=\frac{a+b+c}{2}$}
\put(1,1){\includegraphics[
width=2cm,height=2cm]{kapalak}}
\end{picture}
Box(maxsus quti)lar o’lchamini o’zgartirish
Box o’lchamlari quyidagi buyruq orqali aniqlanadi:
\resizebox{
kenglik}{
balandlik}{
matn}
Bu usul juda qulay bo’lib istalgan matn qismlarida kerakli qismni ajratib
ko’rsatish uchun foydalanish mumkin.Masalan:
\resizebox{4cm}{8mm}{BDU}
82
Kenglik va balandlik o’rtasidagi munosabatni moslashtirish uchun !
belgisidan foydalaniladi.Masalan:
\resizebox{3cm}{!}{BDU}\\
Transformatsiyalash
Matnni transformatsiyalash \scalebox buyrug’i orqali amalga oshiriladi.Bu
buyruq ko’rinishi quyidagicha:
\scalebox{
h-o’lcham}[
v-o’lcham]{
matn}
Bunda
h-o’lcham yozuv gorizontal o’lchami ,
v-o’lcham esa
yozuv vertikal
o’lchami hisoblanadi.Har ikkala o’lcham ham
manfiy qiymat qabul qilishi
mumkin.Bunda yozuv oynada akslangandek ko’rinish hosil qiladi.
matnda
istalgancha yozuv yozish mumkin(probel
bilan
ham).Masalan:
\scalebox{-1.5}[3]{BDU} \scalebox{1.5}%
[-3]{BDU}