126
Natija:
10.2-rasm. Gipersilkadan foydalanishga misol
Misoldan ko‘rinib
turibdiki, havolalarning standart tartibi unchalik jozibali
emas (esda
tutingki, havola matni atrofidagi ramka faqat hujjat ekranda
ko‘rsatilganda ko‘rsatiladi, lekin chop etilganda emas). Biroq, ularni \ hypersetup
buyrug‘i yordamida sozlash mumkin. Ushbu buyruqning
parametrida havolalar
ranglarini
va
ularning
PDF
hujjati
bilan
aloqasini
moslashtiradigan
o‘zgaruvchilarni belgilash imkoniyati mavjud.
Misol:
\documentclass[12pt]{article}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{xcolor} % rangni belgilash paketi
\usepackage{hyperref} % silka berish paketi
% silkalarni sozlash
\hypersetup{
colorlinks = true, % silkaga rang berish? - ha
linkcolor = {red!75!black}, %ichki silka –%qizil qora (75%)
urlcolor = blue, % tashqi silka
%( Internet) resursi bookmarks = true, % % mundarija PDF? - da
}
\begin{document}
Saytga
havola
\href{https://www.google.ru}{google.com}.
127
barcha bergilarning kelngligi bir xil:
\url{https://www.google.ru}.
Tushunarli \hyperref[formula]{formula \ref*{formula} }
\begin{equation}\label{formula}
\sin^2 x + \cos^2 x = 1.
\end{equation}
\end{document}