Умлаутс у ЛаТеКс-у - како то функционише
Уметање у ЛаТеКс не можете тако лако да унесете, као што ћете брзо приметити приликом писања немачког текста. Овај практични савет показује како су умлаути и даље приказани као такви након компилације.
Користите умлаутс индиректно у ЛаТеКс-у
Ако у ЛаТеКс индиректно унесете умлаутс, документ можете лако уређивати на различитим оперативним системима. За ово вам нису потребни никакви пакети. Мали „о“ је увек формиран у овом тексту. Можете аналогно формирати и друге умлауте. На пример, за капитал "А", замените "о" са "А".
- Формирате "о" индиректно са \ "о (коса црта, наводници, о).
- Ставите претходну варијанту у коврчаве заграде ако не ради: {\ "о}.
- Ако сте укључили пакет „немачки“ или пакет „нгерман“, мали о можете такође да формирате са „о (наводници о).
Укључите умлауте у пакет инпутенц у ЛаТеКс-у
Ако укључите пакет инпутенц, умлауте можете уносити директно у свој документ и не морате их преписивати са кодом. Будући да различити оперативни системи користе различите кодирање, овдје су вам потребне различите ЛаТеКс наредбе које копирате испред вашег \ бегин {доцумент}.
- У Виндовс-у обично користите кодирање "ансинев". Одговарајући код је тада: \ усепацкаге [ансинев] {инпутенц}.
- Обично се користи Линук "латин1" кодирање. Код који треба да поставите пре \ бегин {доцумент} је: \ усепацкаге [латин1] {инпутенц}.
- Кодирање "АпплеМац" требало би користити на вашем Мац-у. Затим морате копирати код \ усепацкаге [апплемац] {инпутенц} пре \ започети {документ}.
- Ако одговарајуће кодирање не функционира или ако желите да користите свој ЛаТеКс документ на различитим системима, покушајте са УТФ-8. Ово интегришете са кодом \ усепацкаге [утф8] {инпутенц}. Међутим, будите сигурни да је ваш ЛаТеКс документ заправо кодиран у УТФ-8.
Умлаут у математичким окружењима
Такође би требало да имате потешкоће са умлаутима у ЛаТеКс математичком окружењу. Једноставним триком, међутим, ови се могу елиминисати и из света.
- Са наредбом \ тектрм {жељени текст} умлаути у редовном математичком окружењу више нису брига.
- Користите пакет "амсматх", ставите жељени текст између завојитих заграда наредбе \ тект {жељени текст}.
У нашем подручју за преузимање наћи ћете Текмакер, солидан ЛаТеКс едитор. У другом практичном савету показаћемо вам како да користите ЛаТеКс за креирање различитих врста наводника.