[texworks] Typesetting

Ferguson, Don fergdc at uleth.ca
Fri May 28 01:45:40 CEST 2010

Greetings  "Herbert Schulz" <herbs at wideopenwest.com>
On 27/05/2010 at 00:18 you wrote concerning
Re: [texworks] Typesetting

Hi Herb,

Thank you for the clarification. Clears that up!  :-)

HS> On May 26, 2010, at 4:50 PM, Ferguson, Don wrote:

HS>> Greetings  "Joseph Wright" <joseph.wright at morningstar2.co.uk>
HS>> On 22/05/2010 at 05:43 you wrote concerning
HS>> Re: [texworks] Typesetting
HS>> Hello Joseph,
HS>> <<snip>> 
HS>> JW> ..... Soemthing like
HS>> JW> \documentclass{article}
HS>> JW> \usepackage[T1]{fontenc}
HS>> JW> \usepackage{lmodern}
HS>> JW> \begin{document}
HS>> JW> \title{My title}
HS>> JW> \author{A.N. Other}
HS>> JW> \maketitle
HS>> JW> Some text for the paper here
HS>> JW> \end{document}
HS>> What is the purpose of including the line
HS>>   \usepackage{lmodern}
HS>> ?
HS>> Thank you and 
HS>> Cheers  Don (Green Dragon)

HS> Howdy,

HS> The lines

HS> \usepackage[T1]{fontenc}
HS> \usepackage{lmodern}

HS> tell TeX to use the Latin Modern fonts (an extension of the default Computer Modern fonts with accented characters [rather than building them]) using the T1 font encoding which makes those accented characters available directly. If you want to type with the accented characters directly (e.g., é instead of \'e) you also need to save the file as a special encoding (e.g., latin1 or utf-8) and tell TeX that the input file is in that special encoding by using the line

HS> \usepackage[latin1]{inputenc}

HS> or

HS> \usepackage[utf8]{inputenc}

HS> respectively.

HS> Good Luck,

HS> Herb Schulz
HS> (herbs at wideopenwest dot com)

Cheers  Don (Green Dragon)

More information about the texworks mailing list