„UT“ „LaTeX“ - kaip tai veikia
„LaTeX“ negalima įvesti umlauts taip lengvai, kaip greitai pastebėsite rašydami vokišką tekstą. Šis praktinis patarimas parodo, kaip po kompiliavimo umlauts vis tiek rodomos.
Naudokite „umlauts“ netiesiogiai „LaTeX“
Jei netiesiogiai įvedate umlauts į „LaTeX“, galite lengvai redaguoti dokumentą skirtingose operacinėse sistemose. Tam jums nereikia jokių paketų. Šiame tekste visada formuojamas mažas „ö“. Analogiškai galite suformuoti ir kitus paveikslėlius. Pvz., Jei rašote raidę „Ä“, „o“ pakeiskite „A“.
- „Ö“ formuojate netiesiogiai su „o“ (pasvirasis brūkšnys, kabutės, o).
- Įdėkite ankstesnį variantą į garbanotas petnešas, jei jis neveikia: {\ "o}.
- Jei įtraukėte pakuotę „vokiečių kalba“ arba „ngermanas“, mažąją „ö“ galite suformuoti ir su „o“ (kabutės o).
Įdėkite umlauts į paketo „inputenc“ į „LaTeX“
Jei įtraukiate paketą „inputenc“, umlautes galite įvesti tiesiai į savo dokumentą ir nereikia jų perrašyti kodu. Kadangi skirtingos operacinės sistemos naudoja skirtingus kodavimus, jums čia reikia skirtingų „LaTeX“ komandų, kurias nukopijuojate priešais savo pradžią {dokumentas}.
- „Windows“ sistemoje dažniausiai naudojate kodavimo atsakymą. Atitinkamas kodas yra: \ usepackage [ansinew] {inputenc}.
- Paprastai naudojamas Linux „latin1“ kodavimas. Kodas, kurį turėtumėte įdėti prieš pradėdami {document}, yra: \ usepackage [latin1] {inputenc}.
- „Mac“ kompiuteryje turėtų būti naudojamas kodavimas „AppleMac“. Tada prieš nukopijuodami {dokumentą} turite nukopijuoti kodą \ usepackage [applemac] {inputenc}.
- Jei atitinkamas kodavimas neveikia arba jei norite naudoti savo „LaTeX“ dokumentą skirtingose sistemose, turėtumėte išbandyti UTF-8. Šį kodavimą integruojate su kodu \ usepackage [utf8] {inputenc}. Tačiau įsitikinkite, kad jūsų „LaTeX“ dokumentas iš tikrųjų užkoduotas UTF-8.
Užrašai matematikos aplinkoje
„LaTeX“ matematikos aplinkoje taip pat turėtumėte patirti nesklandumų. Tačiau atlikus paprastą triuką, juos taip pat galima pašalinti iš pasaulio.
- Naudojant komandą \ textrm {norimas tekstas} umlauts įprastoje matematikos aplinkoje nebekelia rūpesčių.
- Naudokite paketą „amsmath“, įdėkite norimą tekstą į komandos \ garbanotas skliaustelius \ tekstas {norimas tekstas}.
Mūsų atsisiuntimo srityje rasite „Texmaker“, patikimą „LaTeX“ redaktorių. Kitame praktiniame patarime mes jums parodysime, kaip naudoti „LaTeX“ norint sukurti įvairių tipų kabutes.