I have a wonderfully formatted Latex CV that I made from scratch which looks perfect in TexShop (Mac)'s compiled preview version, the text is sharp to the highest zoom, etc.
Unfortunately when actually created as a PDF, the entire document takes on a hazy blurriness, completing ruining the entire purpose of using Latex for me.
I have come to realize this is likely because I'm using a non-standard font (I'm using a system font I downloaded) and using XeLatex.
1. I'm wondering if there's anyway I can use this font but maintain the same appearance of the compiled preview document - I'm rather upset it looks so great on my computer, but I can't "get" THAT document to export into some format I can show others!
2. If not... I have tried changing the preamble to change the font, but I seem unable to get it to compile. I have been able to produce a NEW document which compiles with one of the default fonts, and it looks FINE in PDF, but when I basically copy this preamble to MY (heavily customized) document, it doesn't work - I can't figure out why...
Any help would be MUCH appreciated.
Thank you!
This is my document preamble - I have included everything because I don't know if something is causing a conflict; I also cannot get it to work, so I don't have a 'working example'.
Basically I'm trying to SWITCH this to default fonts, instead of 'baskerville' which I have used here...
Code: Select all
\documentclass[letter,12pt]{article} %letter paper and 12 size font default
%A Few Useful Packages
\usepackage[margin=0.9in]{geometry}
\usepackage{marvosym}
\usepackage{fontspec} %for loading fonts %%RESET
\usepackage{xunicode,xltxtra,url,parskip} %other packages for formatting
\RequirePackage{color,graphicx}
\usepackage[usenames,dvipsnames]{xcolor}
%\usepackage[big]{layaureo} %better formatting of the A4 page
% an alternative to Layaureo can be ** \usepackage{fullpage} **
\usepackage{supertabular} %for Grades
\usepackage{titlesec} %custom \section\
\usepackage{tabularx}
\usepackage{array}
\newfontfamily\smallcaps{Baskerville Small Caps SSi} %I had to DL a small caps version of Baskerville so it would work - this is the command to call that completely different font (but it's supposedly the correct matching 'small caps' font
%%reset above
\usepackage{enumitem}
\newcolumntype{R}{>{\raggedleft\arraybackslash}X}%
%This is for the Personal Data Section - not sure about using 'X'...
%Setup hyperref package, and colours for links
\usepackage{hyperref}
\definecolor{linkcolour}{rgb}{0,0.2,0.6}
\hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour}
%FONTS
\defaultfontfeatures{Mapping=tex-text} %% RESET
\setmainfont{Baskerville} %%reset
%CV Sections inspired by:
%http://stefano.italians.nl/archives/26
\titleformat{\section}{\Large\scshape\raggedright}{}{0em}{}[\titlerule]
\titlespacing{\section}{0pt}{3pt}{3pt}
%Tweak a bit the top margin
%\addtolength{\voffset}{-1.3cm}
\newenvironment{packed_enum}{ %THIS IS THE BULLET FORMAT FOR THE BULLET SECTIONS IN THE TABLE PART
\begin{itemize}[topsep={-10pt}, partopsep={0pt}, leftmargin={10pt}, labelindent={0pt}, itemindent={0pt}]
\setlength{\itemsep}{1pt}
\setlength{\parskip}{0pt}
\setlength{\parsep}{0pt}
}{\end{itemize}}\vspace{-\baselineskip}