Ievietojiet LaTeX grieķu burtus - kā tas darbojas
LaTex jūs varat rakstīt atsevišķus grieķu burtus, grieķu teksta sadaļas un pat pilnīgus dokumentus grieķu alfabētā. Uz mainīgajiem lielumiem formulās, fiziskajās vienībās un pamattekstā attiecas dažādas konvencijas. Mēs jums parādīsim, kā rakstīt grieķu valodu.
Rakstiet grieķu burtus LaTeX
Pati par sevi grieķu burtu ievietošana LaTeX dokumentos nav grūta. Bet atkarībā no konteksta burti jāformatē atšķirīgi. Jūs rakstāt mainīgos slīprakstā un ar atstarpi starp diviem mainīgajiem lielumiem vienības vienmēr nav slīprakstā, bet pamatteksti nav slīprakstā un ar parasto rakstzīmju atstarpi. Mums ir risinājums katram no šiem gadījumiem:
- Atsevišķus grieķu burtus var rakstīt matemātikas režīmā un vienādojumos, izrakstot tos ar slīpsvītru:
- Attēla augšējās divas līnijas parādās šādi: $ \ theta $ un $ \ vartheta $
- Parasti rakstzīmes matemātikas vidē ir slīprakstā. Lieli grieķu burti ir izņēmums.
- Tomēr jūs varat izmantot slīprakstu, lai lielo burtu lietošanā izmantotu grieķu burtus, izmantojot "\ mathit": $ \ mathit {\ Theta} $
- Visu grieķu burtu komandas var atrast, piemēram, Wikibooks.
- Ievietojiet Upgreek pakotni sava LaTeX dokumenta preambulā, izmantojot "\ usepackage {upgreek}".
- Tagad jūs varat ievietot grieķu burtus "vienkāršs", ti, ne slīprakstā: $ \ uptheta $, $ \ upvartheta $
- Lai rakstītu veselas teksta sadaļas ar grieķu burtiem, ielādējiet paketi "Betababel", izmantojot "\ usepackage [ngerman] {betababel}". Tagad jūs varat rakstīt "\ bcode {}" Grieķijas apgabalā.
- Attēlā jūs varat redzēt, ko pakete dara ar kodu "\ bcode {CHIP Online Practical Tips}".
- Ja vēlaties, lai viss jūsu dokuments tiktu uzrakstīts grieķu alfabētā, izmantojiet paketi "\ usepackage {betababel}" bez iespējas "[ngerman]". Sākotnēji viss dokuments ir uzrakstīts grieķu valodā.
Turpmākos CHIP tiešsaistes praktiskajos padomos mēs izskaidrosim, kā formatēt tekstu LaTex, piemēram, mainot fonta lielumu, ievietojot umlauts vai mainot fontu.