LaTeX'teki Umlauts - nasıl çalışır
Almanca bir metin yazarken kolayca fark edebileceğiniz kadar LaTeX'te yer alan metinleri yazamazsınız. Bu pratik ipucu, derlemeden sonra halihazırda nasıl göründüğünü gösterir.
LaTeX'te dolaylı olarak lamelleri kullanma
LaTeX'e dolaylı olarak umlauts girerseniz, belgenizi farklı işletim sistemlerinde kolayca düzenleyebilirsiniz. Bunun için herhangi bir pakete ihtiyacınız yok. Bu metinde her zaman küçük "ö" oluşur. Benzer şekilde diğer mermiler oluşturabilirsiniz. Örneğin, büyük "Ä" harfleri için "o" harfini "A" ile değiştirin.
- "Ö" yi dolaylı olarak \ "o (ters eğik çizgi, tırnak işaretleri, o) ile oluşturursunuz.
- Önceki değişkeni işe yaramazsa süslü parantez içine alın: {\ "o}.
- "German" paketini veya "ngerman" paketini eklediyseniz, küçük ö öğesini "o (tırnak işaretleri o) ile de oluşturabilirsiniz.
LaTeX'teki paket girişine yer imleri ekleyin
Paket girişini eklerseniz, doğrudan belgenize işaretler girebilir ve bunları kodla yeniden yazmanız gerekmez. Farklı işletim sistemleri farklı kodlamalar kullandığından, burada \ begin {document} öğenizin önüne kopyaladığınız farklı LaTeX komutlarına ihtiyacınız vardır.
- Windows'da genellikle "ansinew" kodlamasını kullanırsınız. İlgili kod şöyledir: \ usepackage [ansinew] {inputenc}.
- Linux "latin1" kodlaması normalde kullanılır. \ Begin {document} tarihinden önce koymanız gereken kod: \ usepackage [latin1] {inputenc}.
- "AppleMac" kodlaması Mac'inizde kullanılmalıdır. Daha sonra \ belge {\} başlamadan önce \ usepackage [applemac] {inputenc} kodunu kopyalamalısınız.
- İlgili kodlama çalışmıyorsa veya LaTeX belgenizi farklı sistemlerde kullanmak istiyorsanız UTF-8'i denemelisiniz. Bu kodlamayı \ usepackage [utf8] {inputenc} koduyla entegre edersiniz. Ancak, LaTeX belgenizin UTF-8'de gerçekten kodlandığından emin olun.
Matematik ortamlarındaki görseller
Ayrıca LaTeX matematik ortamında imleçlerle ilgili zorluklarınız olmalıdır. Bununla birlikte, basit bir hile ile bunlar dünyadan da çıkarılabilir.
- \ Textrm {istediğiniz metin} komutuyla normal matematik ortamında artıklar artık endişe verici değildir.
- "Amsmath" paketini kullanın, istediğiniz metni \ text {istediğiniz metin} komutunun süslü köşeli parantezlerinin arasına koyun.
İndirme alanımızda sağlam bir LaTeX editörü olan Texmaker'ı bulacaksınız. Başka bir pratik ipucunda, farklı türlerde tırnak işaretleri oluşturmak için LaTeX'in nasıl kullanılacağını göstereceğiz.