Tuesday, September 18, 2007

GREEK AND ENGLISH FONTS IN SCIENTIFIC WORD

1. ON TOP OF THE TEX FILE:
documentclass{book}
usepackage[greek,english]{babel}
usepackage[iso-8859-7]{inputenc}

%TCIDATA{OutputFilter=LATEX.DLL}

input{tcilatex}
begin{document}

2. INSIDE THE DOCUMENT IN SW TO CHANGE LANGUAGE:
selectlanguage{greek}
selectlanguage{english}

To use the commands with SW easier you should create macros:
  • Insert -> Typeset Objects -> Tex Field -> copy-paste in the open window the first command (Greek)
  • Check the "Encapsulated" box, in the "Name" field use some word to identify the tag like "GR" click OK.
  • A gray tag [GR] was created.
  • Do the same to create the [EN] tag for English fonts.
  • Every time you want to change language:
    • Change your keyboard to Greek (usually by pressing alt+shift).
    • place the appropriate tag before the change.
To make it easier to use the [GR], [EN] tags:
  • Highlight the [GR] tag.
  • In the "Fragments" toolbar press the "save fragment" button and give a name to it e.g. "GREEK".
  • Do the same with the [EN] tag.
Now every time you want to switch languages you just select the fragments you saved from the drop-down
menu of the fragments toolbar.

3. SELECT GREEK
In "Typeset" -> "Expert Settings" -> "PDF Format Settings" -> "Add modify" -> "Character Set"
select "Greek"

4. INSTALL MIKTEX
Download from:
http://prdownloads.sourceforge.net/miktex/setup-2.6.2742.exe?download

5. SW AND MIKTEX
Then instruct SW to compile pdf using Miktex instead of the default TrueTex.
To do this you go to:

Typeset -> Expert Settings -> PDF Format Settings -> Add Modify -> In the "Executable Filename" ->
browse and select the executable pdflatex.exe included in Miktex. The path in my computer is at:

C:/Program Files/MiKTeX 2.6/miktex/bin/pdflatex.exe

Click OK.

6. USE PACKAGE TCILATEX.TEX
Then in compilation SW will ask for the routine tcilatex.tex. In order Miktex to run this you need
to find the file from SW's installation -use search- or usually it is in this path:

swp50TCITeXTeXLaTeXSWmacrostcilatex.tex

Copy the file and paste it in the directory in Miktex:

C:Documents and SettingsAll UsersApplication DataMiKTeX2.6texlatex

(if the folder latex does'nt exist, create it)

7. REFRESH MIKTEX
Finally you run the "Settings" from Miktex's program group and press the "Refresh FNDB"
button so that all the changes made in Miktex are taken into account by it.

--
Periklis Gogas
Department of International Economic
Relations and Development
Democritus University of Thrace
perrygogas@gmail.com




5 comments:

Anonymous said...

We are a bunch of volunteers and starting a brand new scheme in
our community. Your site provided us with valuable info to work
on. You've done a formidable job and our whole neighborhood might be thankful to you.
Here is my website xxxvideofix.com

Anonymous said...

I am sure this paragraph has touched all the internet people,
its really really nice paragraph on building up new webpage.
Also visit my website : Hello Mikity Naughty Asian teen pokes her pussy with a wine bottle

Anonymous said...

Asking questions are truly pleasant thing if you are not understanding anything completely, except this post
offers nice understanding yet.
Here is my page :: Lia 19

Anonymous said...

Heya this is kind of of off topic but I was wondering if blogs
use WYSIWYG editors or if you have to manually code with HTML.
I'm starting a blog soon but have no coding knowledge so I wanted to get advice from someone with experience. Any help would be greatly appreciated!
my website :: funnymariogames

Anonymous said...

hi!,I love your writing so much! proportion we keep in touch extra about your
post on AOL? I need an expert on this space to solve
my problem. Maybe that is you! Taking a look forward to see you.


Take a look at my blog post; lesbiansororityhouse.com