Fonts in MikTex - Mobile Cloud Family

Download Report

Transcript Fonts in MikTex - Mobile Cloud Family

Tips for Easy LaTeXing
By
Saeid Abolfazli
Faculty of Computer Science and IT, University Malaya, Malaysia.
Email: [email protected]
Website: www.mobilecloudfamily.com
LaTeX Blog: http://www.mobilecloudfamily.com/blog
1- Fonts: What is the Challenge?
• One of the most important and challenging tasks
while preparing a paper for publication is to
embed all required fonts, otherwise in most of
the cases you are unable to process for
publication.
• Without Embedding fonts into pdf file, users
might not be able to see the correct content from
various computers.
• If the fonts are embedded, the .pdf file can be
seen and printed from any machine, any OS, and
any printer.
Where the problem comes from?
• The problem raises from several aspects
A) You are generating .pdf file on a machine
rather than the one you prepared your file.
B) Fonts are not defined to be embedded.
C) Files are unavailable in your machine.
• While producing the .pdf file, if the font is not
available on your machine, by default they are
changed by some other fonts.
Is font embedded?
• We should be able to know if the fonts are
embedded correctly or not. To do so, we
should do the following steps.
• Open .pdf using adobe acrobat
• Open file > properties > fonts.
Not embedded
Embedded Fonts
How to embed all fonts
•
•
•
•
•
•
Check if all the fonts you are using are installed on OS.
Open .ps file using gsview
File->convert
Select pdfwrite
Select desired resolution e.g.=720,
Select all pages-> select all (click the first and then shift+click on
last)
• Go to properties and set the following properties accordingly
–
–
–
–
CompatibilityLevel: 1.3
PDFSETTINGS : /prepress
EmbedAllFonts : true
SubsetFonts : true
• OK->OK. -> save the file as a PDF.
2-Installing Dictionary for TexStudio
• You can perform spell checking using
Dictionaries available in
http://wiki.openoffice.org/wiki/Dictionaries
• Download your dictioinary and store it inside
the Dictionary folder in your TexStudio
software
• Go to general tab in option menu and correct
the address.
3- LaTex Templates
• It is possible to need certain template, but
cannot find.
• You can browse number of LaTex template
here
• http://www.latextemplates.com/
• Download the tex file and start modifying the
text
4- Online Table
• http://truben.no/latex/table/
• Do you need more?
• Okay, just create your own table in word, fill all
the content and use every facility that word gives
you.
• Export your file to Excel
• Use the Excel2Latex.XLA to convert it to a latex
format.
• Download Excel2Latex from CTAN.
5- Symbol Classifier
• What is the problem?
• Inserting special characters inside the text or
references,
• European or Russian names
What is the Solution?
• LaTex provides commands for major special characters
for in-text insertion.
• Not useful for references,
• Solution? Use its code based on ISO standard
• http://www.blooberry.com/indexdot/html/tagpages/e
ntities/charentity32-64.htm
• Trick: Insert “\” before any & or # or $ when appears.
For instance, for
Character
ISO Code
LaTex format
§
§
\&\#167
µ
µ
\&\#181;
Ó
Ó
\&\#211;
What is the Solution?
• If you don’t know what a Symbol is called
while you know how it looks, it is a joyful way
of finding it.
• http://detexify.kirelabs.org/classify.html
• Not happy?
• Try this one: http://shapecatcher.com/
6-Clickable Links in LaTeX
If your url has _ and it breaks the link,
Use %5F instead of _ when appears
in URL of a citation
7-External PDF Viewer
• When your pdf file is open, you cannot compile
your file and should close pdf and then open it
again. Get rid of it using Sumarta pdf:
• Download Sumatra PDF
(http://sourceforge.net/projects/sumatrapdf.mirr
or/)
• Modify the External PDF Viewer
• Go to optionsconfigure texstudio->commands
and change external pdf viewer to:
“c:/Program files/SumatraPDF /SumatraPDF.exe" reuse-instance %.pdf
7-External PDF Viewer
7-External PDF Viewer
• Go to options-> Configure Texstudio->build>pdf viewer and set its value to
• External Pdf Viewer
8-Footnotes
• Link between authors name and addresses
9-Check Graphics in IEEE
• http://graphicsqc.ieee.org/
10-Making Blind text
• If you are practicing and need to generate
some useless text to occupy the file go a head
and use the following command by importing
relevant package
• \usepackage{blindtext}
• \blindtext
11-WYSIWYG editor for LaTex
• What You See Is What You Get
• Lyx is excellent open source, free tools for
doing LaTeXing with excellent experience.
• Download it from
http://mobilecloudfamily.com/latex/
• Under LaTeX Tools menu at the right side of
the blog
• Enjoy
12-Left Quote
• In Latex left quote is ` and not ‘
• So you should write `Something’ instead of
saying ‘Something’ (it works in office but not
in LaTeX.
13-\thanks
• \thanks{This paper is submitted}
Tip:
• Usually there is a * mark next to the Authors name, or title
name where the footnote should be called.
• We should use the \thanks{} right in the place we want to
have the *
Prepare Scholarly Articles Using LATEX - By
Saeid Abolfazli, Hassan Keshavarz
23
14-Export your doc file to LaTex
• You can use the Grindeq add on to do that.
http://www.grindeq.com/
15-Subversion
• Using this feature, several authors can work
on a single document without crash and
conflict.
• For more detail please read the following link.
• http://tex.stackexchange.com/questions/6131
/is-there-a-latex-editor-supportingsubversion-out-of-the-box
More Question?
• Visit the tex forum for lovely Q&A
• Divulge yourself in
http://tex.stackexchange.com/
and enjoy ;)
16-Keep Updating
• Try to update all your tools as frequently as
possible
• Update your IDE, DB manager, and image
processors to get the maximum benefits
• TexStudio is rapidly moving as far as I
observed