TeX

Disambiguazione – Se stai cercando altri significati, vedi Tex.
Il titolo di questa pagina non è corretto per via delle caratteristiche del software MediaWiki. Il titolo corretto è TEX.
TEX
software
Logo
Logo
GenereDesktop publishing
Linguaggio di markup
SviluppatoreDonald Knuth
Data prima versione1978
Ultima versione3.141592653 (gennaio 2021)
Sistema operativoMultipiattaforma
LinguaggioPascal
SAIL
WEB
Licenzaliberamente modificabile, a patto che il programma risultante non si chiami TeX
(licenza libera)
Sito webwww.tug.org/

TEX (scritto anche TeX; /ˈtek/) è un programma di tipografia digitale, adatto alla stesura di testi scientifici e matematici. Creato da Donald Knuth nel 1978, TeX è scritto in WEB, un linguaggio che inframmezza Pascal e documentazione TeX. Per sfruttare la maggiore diffusione dei compilatori C, le distribuzioni TeX più recenti sono ottenute usando il programma Web2C per convertire il codice sorgente da WEB al Linguaggio C.

TEX ha conosciuto varie versioni, contraddistinte, per scelta del suo creatore, da un numero decimale finito che parte da 3.0 e converge a π. Al 2021 si è arrivati alla versione 3.141592653. Tutte le versioni successive alla 3.0 sono determinate dalla correzione di bug e non presentano novità sostanziali nell'architettura fondamentale, che è cristallizzata alla prima versione, avendo l'autore preferito garantire nel tempo l'uniformità di output, sacrificando a tale esigenza possibili migliorie e aggiunte da lui stesso ritenute utili.

Storia

Il programma venne creato da Donald Knuth nel 1978, contemporaneamente a METAFONT e ai tipi di carattere Computer Modern, affinché l'autore potesse disporre degli strumenti per un'editoria scientifica di alta qualità nella scrittura del libro The Art of Computer Programming.

È distribuito attualmente con una licenza di software libero e gode di ampia popolarità in campo universitario, specialmente nell'ambito della matematica, della fisica, e dell'informatica.

Origine del termine

La pronuncia del nome non è “tex”, bensì “tek”, poiché l'origine del nome TEX deriva dalla radice della parola greca τέχνη, téchnē, "arte, tecnica, tecnologia". La terminazione presente del nome è la lettera greca chi maiuscola (Χ) la cui grafia si confonde con quella della latina "ics" (X).

Programmi derivati

Dal programma e dal suo linguaggio di markup interno sono poi stati ricavati linguaggi di più alto livello, come LATEX e ConTeXt, al fine di permettere una più rapida composizione di documenti di alta qualità e non solamente votati alla matematica.

Manualistica

The TeXbook, sempre scritto da Donald Knuth, è il manuale d'uso di TEX e sicuramente uno dei libri più completi su questo programma.

Esempi di TEX

Per scrivere il tradizionale programma di esempio Ciao Mondo in plain TEX, basta creare un file ciao.tex con il seguente contenuto:

Ciao, Mondo!
\bye          % indica la fine del file; non è mostrato nell'output finale

Produzione di un documento con TEX

La produzione di un documento TEX prevede una prima fase di scrittura del codice sorgente, un file di testo puro ASCII contenente il testo del documento frammisto a istruzioni che saranno interpretate da TEX. La seconda fase della produzione prevede la compilazione del codice sorgente, salvato generalmente con estensione .tex, con il programma tex. Questo molto spesso avviene lanciando da un interprete dei comandi del proprio sistema operativo qualcosa di simile a:

$ tex nomefile.tex

(Il dollaro indica il prompt dei comandi). In questa seconda fase TEX produce alcuni file, detti codici oggetto, il più importante dei quali è il file dvi (DeVice Independent). Possiamo quindi ottenere file in formato PostScript, Portable Document Format (PDF) oppure HTML a partire dal file .dvi per mezzo di altri programmi accessori, quali dvips, dvipdf o latex2html. Alcuni programmi più recenti elaborano il file sorgente producendo direttamente il risultato in pdf, ad esempio, pdfTeX, XeTeX e LuaTeX.

Note

  1. ^ What is TeX?, su tex.ac.uk. URL consultato il 4 dicembre 2012 (archiviato dall'url originale il 16 novembre 2012).

Bibliografia

Voci correlate

Altri progetti

Collegamenti esterni

Controllo di autoritàVIAF (EN176276044 · LCCN (ENn92022754 · GND (DE4127872-0 · BNF (FRcb11966763c (data) · J9U (ENHE987007588788005171
  Portale Software libero: accedi alle voci di Wikipedia che trattano di Software libero

Read other articles:

Swedish multinational manufacturing company This article is about the Volvo Group (AB Volvo). For the separate manufacturer of passenger automobiles, see Volvo Cars. For other uses, see Volvo (disambiguation). AB VolvoCompany typeAktiebolagTraded asNasdaq Stockholm: VOLV A, Nasdaq Stockholm: VOLV BISINSE0000115446IndustryAutomotiveFounded1927; 97 years ago (1927)FoundersAssar Gabrielsson and Gustav LarsonHeadquartersGothenburg, SwedenArea servedWorldwideKey peopleCarl…

German poet, critic, philosopher, and Indologist (1772–1829) Friedrich SchlegelFriedrich Schlegel in 1801Born(1772-03-10)10 March 1772Hanover, Electorate of HanoverDied12 January 1829(1829-01-12) (aged 56)Dresden, Kingdom of SaxonyAlma mater University of Göttingen University of Leipzig Era19th-century philosophyRegionWestern philosophySchool Jena Romanticism German idealism[1] Epistemic coherentism[2] Coherence theory of truth[3] Historicism[4] Roman…

Election for Governor of Kentucky This article relies largely or entirely on a single source. Relevant discussion may be found on the talk page. Please help improve this article by introducing citations to additional sources.Find sources: 1895 Kentucky gubernatorial election – news · newspapers · books · scholar · JSTOR (February 2023) 1895 Kentucky gubernatorial election ← 1891 November 5, 1895 1899 →   Nominee William O'Connel…

Amay Gyan အမေဂျမ်းAmay Gyan statue in the Shwezigon PagodaBornChan-ThaShwedaung Village Pinya KingdomDiedAva (Inwa) Ava KingdomOther namesMa GyanOccupationnatParentShwedaung village chief (father) Amay Gyan (Burmese: အမေဂျမ်း; born Ma Chan-Tha, မချမ်းသာ) is a prominent Burmese nat (spiritual being). She is one of the five mother nats of Burma. The festival of Amay Gyan is held each year on the 13th and 14th waning days of the month of Nayon of…

この項目には、一部のコンピュータや閲覧ソフトで表示できない文字が含まれています(詳細)。 数字の大字(だいじ)は、漢数字の一種。通常用いる単純な字形の漢数字(小字)の代わりに同じ音の別の漢字を用いるものである。 概要 壱万円日本銀行券(「壱」が大字) 弐千円日本銀行券(「弐」が大字) 漢数字には「一」「二」「三」と続く小字と、「壱」「弐」…

Stasiun Obiori帯織駅Stasiun Obiori, Mei 2007LokasiObiori, Sanjō-shi, Niigata-ken 959-1117JapanKoordinat37°34′22″N 138°55′43″E / 37.5729°N 138.9286°E / 37.5729; 138.9286Koordinat: 37°34′22″N 138°55′43″E / 37.5729°N 138.9286°E / 37.5729; 138.9286Operator JR EastJalur■ Jalur Utama Shin'etsuLetak88.5 from NaoetsuJumlah peron2 side platformsJumlah jalur2Informasi lainStatusUnstaffedSejarahDibuka16 Juni 1898Lokasi pada petaS…

† Стеллерова корова Муляж стеллеровой коровы в Лондонском музее естествознания Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:Челюстноро…

هذه المقالة عن المجموعة العرقية الأتراك وليس عن من يحملون جنسية الجمهورية التركية أتراكTürkler (بالتركية) التعداد الكليالتعداد 70~83 مليون نسمةمناطق الوجود المميزةالبلد  القائمة ... تركياألمانياسورياالعراقبلغارياالولايات المتحدةفرنساالمملكة المتحدةهولنداالنمساأسترالياب…

French tennis player This biography of a living person needs additional citations for verification. Please help by adding reliable sources. Contentious material about living persons that is unsourced or poorly sourced must be removed immediately from the article and its talk page, especially if potentially libelous.Find sources: Sandrine Testud – news · newspapers · books · scholar · JSTOR (October 2011) (Learn how and when to remove this message) Sandrin…

土库曼斯坦总统土库曼斯坦国徽土库曼斯坦总统旗現任谢尔达尔·别尔德穆哈梅多夫自2022年3月19日官邸阿什哈巴德总统府(Oguzkhan Presidential Palace)機關所在地阿什哈巴德任命者直接选举任期7年,可连选连任首任萨帕尔穆拉特·尼亚佐夫设立1991年10月27日 土库曼斯坦土库曼斯坦政府与政治 国家政府 土库曼斯坦宪法 国旗 国徽 国歌 立法機關(英语:National Council of Turkmenistan) 土…

  关于与「內閣總理大臣」標題相近或相同的条目页,請見「內閣總理大臣 (消歧義)」。 日本國內閣總理大臣內閣總理大臣紋章現任岸田文雄自2021年10月4日在任尊称總理、總理大臣、首相、阁下官邸總理大臣官邸提名者國會全體議員選出任命者天皇任期四年,無連任限制[註 1]設立法源日本國憲法先前职位太政大臣(太政官)首任伊藤博文设立1885年12月22日,​…

تي-55 دبابة تي-55 بولندية النوع دبابة قتال رئيسية بلد الأصل  الاتحاد السوفيتي تاريخ الاستخدام فترة الاستخدام 1946–1980(T-54/الاتحاد الروسي) الحروب حرب الأيام الستة حرب أكتوبر حرب الخليج الأولى الأزمة السورية الحرب العراقية على الإرهاب الحرب الأهلية الليبية حرب الشيشان الأولى ت…

Political party in Poland Feminist Initiative Inicjatywa FeministycznaLeaderIwona Piątek, Elżbieta Jachlewska, Katarzyna KądzielaFounded11 January 2007Dissolved19 January 2020Headquartersal. „Solidarności” 115/2, 00-140 Warszawa WarsawIdeologySocial democracyFeminismWomen's rightsSocial progressivismPolitical positionCentre-leftNational affiliationEuropean CoalitionColoursBlueSejm0 / 460 Senate0 / 100 European Parliament0 / 51 Websiteinicjatywafeministyczna.plPolitics of PolandP…

Railway station located in Taichung, Taiwan Fengyuan豐原TRA railway stationChinese nameTraditional Chinese豐原TranscriptionsStandard MandarinHanyu PinyinFēngyuánBopomofoㄈㄥ ㄩㄢˊ General informationLocation1-1 Zhongzheng RdFengyuan District, TaichungTaiwanCoordinates24°15′15″N 120°43′25″E / 24.2542°N 120.7235°E / 24.2542; 120.7235Line(s)  Western Trunk lineDistance179.1 km to Keelung[1]Connections Local bus Coach Constru…

فاليتين     الإحداثيات 42°52′25″N 100°33′01″W / 42.873611111111°N 100.55027777778°W / 42.873611111111; -100.55027777778   [1] تاريخ التأسيس 1883  سبب التسمية إدوارد ك. فالنتاين[2]  تقسيم إداري  البلد الولايات المتحدة[4][5][3]  التقسيم الأعلى مقاطعة تشيري[4][5] …

Chemical compound CGS-20625Clinical dataRoutes ofadministrationBy mouthATC codenonePharmacokinetic dataBioavailability41%Identifiers IUPAC name 5,6,7,8,9,10-hexahydro-2-(4-methoxyphenyl)-cyclohepta[b]pyrazolo[3,4-d]pyridin-3(2H)-one CAS Number111205-55-1 YPubChem CID163844ChemSpider143700 NUNIIK9Q4R9S81OCompTox Dashboard (EPA)DTXSID30912046 Chemical and physical dataFormulaC18H19N3O2Molar mass309.369 g·mol−13D model (JSmol)Interactive image SMILES COC1=CC=C(C=C1)N2C(=O)C3=CN=C4…

Mussorgsky beralih ke halaman ini. Untuk kegunaan lain, lihat Mussorgsky (disambiguasi). Modest Petrovich Mussorgsky, 1870. Modest Petrovich Mussorgsky (juga dieja Musorgsky, Moussorgsky bahasa Rusia: Модест Петрович Мусоргский) (21 Maret [O.S. 9 Maret], 1839 – 28 Maret [O.S. 16 Maret] 1881) adalah satu dari lima komponis Rusia yang dikenal sebagai Lima Besar Rusia, dan seorang inovator dalam musik Rusia periode romantik. Ia berusaha menemukan identitas musikal khas…

University in Alberta, Canada This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: University of Lethbridge – news · newspapers · books · scholar · JSTOR (September 2009) (Learn how and when to remove this message) University of LethbridgeMottoLatin: Fiat LuxMotto in EnglishLet there be lightTypePublicEstablish…

1994 filmTeen Spirit: The Tribute to Kurt CobainOriginal VHS cover artDistributed byLabyrinth Medi LtdRelease date July 1994 (1994-07) Running time55:00 minutesLanguageEnglish Teen Spirit: The Tribute to Kurt Cobain is a documentary about Nirvana band leader Kurt Cobain.[1] Released in July 1994 it is significant as the first unofficial Kurt Cobain or Nirvana documentary to be available as a home video. Notable appearances The film features interviews with Charles Peterson who …

International athletics championship event2021 European Athletics Indoor ChampionshipsDates4–7 MarchHost cityToruń, PolandVenueArena ToruńLevelSeniorTypeIndoorEvents26Participation659 athletes from 46 nations← Glasgow 2019 Istanbul 2023 → The 2021 European Athletics Indoor Championships was held from 4 to 7 March 2021 at the Arena Toruń in Toruń, Poland.[1] This was the second time this event was held in Poland after the 1975 edition in Katowice. The four-day competitio…