Convert to Xelatex












3














I have a document I want to convert using Xelatex. Based on the info here, I've gone through the file and made a number of changes. However, while it will output a new PDF, the conversion fails to pick up any text formatting, such as Bold.



In my Makefile, I am simply pointing Xelatex at the source file - e.g, make foo.pdf.



preamble.sty



ProvidesPackage{preamble}

PassOptionsToPackage{hyphens}{url}
usepackage[xelatex]{hyperref}
hypersetup{
colorlinks=true,
urlcolor=blue,
}
urlstyle{same}
usepackage[margin=1.905cm]{geometry}
usepackage{fontspec}
usepackage{mathptmx}
usepackage{ulem}
usepackage[none]{hyphenat} % This style needs to be in the repo, It's not in BasicTex
usepackage{enumitem} % This style needs to be in the repo, It's not in BasicTex
pagenumbering{gobble}
defmyauthor{Christopher M. Finazzo}
defmycopyright{2018}
endinput


Code



documentclass[letterpaper,11pt]{article}
usepackage{preamble}
begin{document}
begin{center}
textbf
{small{CHRISTOPHER M. FINAZZO}} \
end{center}
begin{raggedleft}
noindent {973.906.0496}
end{raggedleft}
hfill hfill {chris@chrisfinazzo.com}\
begin{raggedright}
{http://www.linkedin.com/in/chrisfinazzo}
end{raggedright}
begin{center}
textbf
{PROFESSIONAL OBJECTIVE}
end{center}
begin{center}
Communications Analyst
end{center}
noindent
begin{center}
textbf{PREFERRED FUNCTIONS}
end{center}
begin{center}
begin{tabular}{lll}
Marketing Communications & Internal Communications & Client Communications\
end{tabular}
end{center}
begin{center}
textbf{POSITIONING STATEMENT}\
end{center}
begin{raggedright}
Results driven individual with a passion for conveying complex ideas to technical and nontechnical audiences in a way that is accurate, clear, and concise. Proven ability to create audience appropriate messages with a range of authoring tools. Strong verbal and written communication skills as well as the ability to multitask, set priorities, and meet deadlines.\
end{raggedright}
begin{center}
textbf{COMPETENCIES}
end{center}
begin{center}
begin{tabular}{lll}
textbf{Writing & Editing} & textbf{Authoring Tools} & textbf{Project Management}\
AP & APA Style & HTML, CSS, & SASS & Requirements Gathering\
Research Skills & Content Management Systems & Estimating Project Scope\
Creating a Written Narrative & Social Media & Audience Analysis\
end{tabular}
end{center}
begin{center}
textbf{TARGET MARKET CHARACTERISTICS}
end{center}
textbf{Geographic Location:} New York Metro area, Should be commutable via public transit.\
textbf{Industry or Type of Organization:} Communications, Financial Services, Insurance, Technology\
textbf{Size of Organization:} Medium to Large\
textbf{Organizational Culture:}\
Values employees\
Encourages employee autonomy and individual initiative\
Provides opportunities for personal and professional growth\
Leveraging technology to engage with target audiences\
begin{center}
textbf{TARGET LIST}
end{center}
begin{center}
begin{tabular}{ll}
textbf{Financial Services/Insurance} & textbf{Communications/Tech/Other}\
ACE Insurance Group & Bloomberg\
AIG & Columbia University\
American Express & Coyne Public Relations\
Bank of America & Discovery Communications\
BlackRock & Edelman\
BNY Mellon & Facebook\
Chubb & Google\
Citigroup & HP\
Goldman Sachs & IBM\
JPMorgan Chase & Microsoft\
Liberty Mutual & The New York Times\
Morgan Stanley & NYU\
New York Life & Rapp\
Prudential & PwC\
Travelers & The Star Ledger\
UBS & Unilever\
end{tabular}
end{center}
end{document}


What am I missing?










share|improve this question




















  • 2




    Don't load mathptmx. Use instead after loading fontspec, setmainfont{TeX Gyre Termes).
    – Alan Munn
    11 hours ago






  • 1




    Switch to LuaTeX instead. Math typesetting in XeTeX is sort of broken tex.stackexchange.com/questions/281549/…
    – Henri Menke
    11 hours ago










  • @egreg, The reason it is linked is to avoid simply dumping a bunch of text into my answer which is, by itself annoying.
    – Chris
    11 hours ago






  • 1




    @Chris We'd have to go through the link and copy-paste everything anyhow.
    – egreg
    11 hours ago






  • 2




    @Chris I did not mean to tell you in a wrong way. But, when you are providing links there is no guarantee that the links will stay alive forever. Hence, for archiving purposes, it is better to dump an MWE here. This will be useful for future users who face this same (or close) issue (Since you are already here for long-time, you would know this already). Nevertheless, a happy new year!
    – Raaja
    10 hours ago


















3














I have a document I want to convert using Xelatex. Based on the info here, I've gone through the file and made a number of changes. However, while it will output a new PDF, the conversion fails to pick up any text formatting, such as Bold.



In my Makefile, I am simply pointing Xelatex at the source file - e.g, make foo.pdf.



preamble.sty



ProvidesPackage{preamble}

PassOptionsToPackage{hyphens}{url}
usepackage[xelatex]{hyperref}
hypersetup{
colorlinks=true,
urlcolor=blue,
}
urlstyle{same}
usepackage[margin=1.905cm]{geometry}
usepackage{fontspec}
usepackage{mathptmx}
usepackage{ulem}
usepackage[none]{hyphenat} % This style needs to be in the repo, It's not in BasicTex
usepackage{enumitem} % This style needs to be in the repo, It's not in BasicTex
pagenumbering{gobble}
defmyauthor{Christopher M. Finazzo}
defmycopyright{2018}
endinput


Code



documentclass[letterpaper,11pt]{article}
usepackage{preamble}
begin{document}
begin{center}
textbf
{small{CHRISTOPHER M. FINAZZO}} \
end{center}
begin{raggedleft}
noindent {973.906.0496}
end{raggedleft}
hfill hfill {chris@chrisfinazzo.com}\
begin{raggedright}
{http://www.linkedin.com/in/chrisfinazzo}
end{raggedright}
begin{center}
textbf
{PROFESSIONAL OBJECTIVE}
end{center}
begin{center}
Communications Analyst
end{center}
noindent
begin{center}
textbf{PREFERRED FUNCTIONS}
end{center}
begin{center}
begin{tabular}{lll}
Marketing Communications & Internal Communications & Client Communications\
end{tabular}
end{center}
begin{center}
textbf{POSITIONING STATEMENT}\
end{center}
begin{raggedright}
Results driven individual with a passion for conveying complex ideas to technical and nontechnical audiences in a way that is accurate, clear, and concise. Proven ability to create audience appropriate messages with a range of authoring tools. Strong verbal and written communication skills as well as the ability to multitask, set priorities, and meet deadlines.\
end{raggedright}
begin{center}
textbf{COMPETENCIES}
end{center}
begin{center}
begin{tabular}{lll}
textbf{Writing & Editing} & textbf{Authoring Tools} & textbf{Project Management}\
AP & APA Style & HTML, CSS, & SASS & Requirements Gathering\
Research Skills & Content Management Systems & Estimating Project Scope\
Creating a Written Narrative & Social Media & Audience Analysis\
end{tabular}
end{center}
begin{center}
textbf{TARGET MARKET CHARACTERISTICS}
end{center}
textbf{Geographic Location:} New York Metro area, Should be commutable via public transit.\
textbf{Industry or Type of Organization:} Communications, Financial Services, Insurance, Technology\
textbf{Size of Organization:} Medium to Large\
textbf{Organizational Culture:}\
Values employees\
Encourages employee autonomy and individual initiative\
Provides opportunities for personal and professional growth\
Leveraging technology to engage with target audiences\
begin{center}
textbf{TARGET LIST}
end{center}
begin{center}
begin{tabular}{ll}
textbf{Financial Services/Insurance} & textbf{Communications/Tech/Other}\
ACE Insurance Group & Bloomberg\
AIG & Columbia University\
American Express & Coyne Public Relations\
Bank of America & Discovery Communications\
BlackRock & Edelman\
BNY Mellon & Facebook\
Chubb & Google\
Citigroup & HP\
Goldman Sachs & IBM\
JPMorgan Chase & Microsoft\
Liberty Mutual & The New York Times\
Morgan Stanley & NYU\
New York Life & Rapp\
Prudential & PwC\
Travelers & The Star Ledger\
UBS & Unilever\
end{tabular}
end{center}
end{document}


What am I missing?










share|improve this question




















  • 2




    Don't load mathptmx. Use instead after loading fontspec, setmainfont{TeX Gyre Termes).
    – Alan Munn
    11 hours ago






  • 1




    Switch to LuaTeX instead. Math typesetting in XeTeX is sort of broken tex.stackexchange.com/questions/281549/…
    – Henri Menke
    11 hours ago










  • @egreg, The reason it is linked is to avoid simply dumping a bunch of text into my answer which is, by itself annoying.
    – Chris
    11 hours ago






  • 1




    @Chris We'd have to go through the link and copy-paste everything anyhow.
    – egreg
    11 hours ago






  • 2




    @Chris I did not mean to tell you in a wrong way. But, when you are providing links there is no guarantee that the links will stay alive forever. Hence, for archiving purposes, it is better to dump an MWE here. This will be useful for future users who face this same (or close) issue (Since you are already here for long-time, you would know this already). Nevertheless, a happy new year!
    – Raaja
    10 hours ago
















3












3








3







I have a document I want to convert using Xelatex. Based on the info here, I've gone through the file and made a number of changes. However, while it will output a new PDF, the conversion fails to pick up any text formatting, such as Bold.



In my Makefile, I am simply pointing Xelatex at the source file - e.g, make foo.pdf.



preamble.sty



ProvidesPackage{preamble}

PassOptionsToPackage{hyphens}{url}
usepackage[xelatex]{hyperref}
hypersetup{
colorlinks=true,
urlcolor=blue,
}
urlstyle{same}
usepackage[margin=1.905cm]{geometry}
usepackage{fontspec}
usepackage{mathptmx}
usepackage{ulem}
usepackage[none]{hyphenat} % This style needs to be in the repo, It's not in BasicTex
usepackage{enumitem} % This style needs to be in the repo, It's not in BasicTex
pagenumbering{gobble}
defmyauthor{Christopher M. Finazzo}
defmycopyright{2018}
endinput


Code



documentclass[letterpaper,11pt]{article}
usepackage{preamble}
begin{document}
begin{center}
textbf
{small{CHRISTOPHER M. FINAZZO}} \
end{center}
begin{raggedleft}
noindent {973.906.0496}
end{raggedleft}
hfill hfill {chris@chrisfinazzo.com}\
begin{raggedright}
{http://www.linkedin.com/in/chrisfinazzo}
end{raggedright}
begin{center}
textbf
{PROFESSIONAL OBJECTIVE}
end{center}
begin{center}
Communications Analyst
end{center}
noindent
begin{center}
textbf{PREFERRED FUNCTIONS}
end{center}
begin{center}
begin{tabular}{lll}
Marketing Communications & Internal Communications & Client Communications\
end{tabular}
end{center}
begin{center}
textbf{POSITIONING STATEMENT}\
end{center}
begin{raggedright}
Results driven individual with a passion for conveying complex ideas to technical and nontechnical audiences in a way that is accurate, clear, and concise. Proven ability to create audience appropriate messages with a range of authoring tools. Strong verbal and written communication skills as well as the ability to multitask, set priorities, and meet deadlines.\
end{raggedright}
begin{center}
textbf{COMPETENCIES}
end{center}
begin{center}
begin{tabular}{lll}
textbf{Writing & Editing} & textbf{Authoring Tools} & textbf{Project Management}\
AP & APA Style & HTML, CSS, & SASS & Requirements Gathering\
Research Skills & Content Management Systems & Estimating Project Scope\
Creating a Written Narrative & Social Media & Audience Analysis\
end{tabular}
end{center}
begin{center}
textbf{TARGET MARKET CHARACTERISTICS}
end{center}
textbf{Geographic Location:} New York Metro area, Should be commutable via public transit.\
textbf{Industry or Type of Organization:} Communications, Financial Services, Insurance, Technology\
textbf{Size of Organization:} Medium to Large\
textbf{Organizational Culture:}\
Values employees\
Encourages employee autonomy and individual initiative\
Provides opportunities for personal and professional growth\
Leveraging technology to engage with target audiences\
begin{center}
textbf{TARGET LIST}
end{center}
begin{center}
begin{tabular}{ll}
textbf{Financial Services/Insurance} & textbf{Communications/Tech/Other}\
ACE Insurance Group & Bloomberg\
AIG & Columbia University\
American Express & Coyne Public Relations\
Bank of America & Discovery Communications\
BlackRock & Edelman\
BNY Mellon & Facebook\
Chubb & Google\
Citigroup & HP\
Goldman Sachs & IBM\
JPMorgan Chase & Microsoft\
Liberty Mutual & The New York Times\
Morgan Stanley & NYU\
New York Life & Rapp\
Prudential & PwC\
Travelers & The Star Ledger\
UBS & Unilever\
end{tabular}
end{center}
end{document}


What am I missing?










share|improve this question















I have a document I want to convert using Xelatex. Based on the info here, I've gone through the file and made a number of changes. However, while it will output a new PDF, the conversion fails to pick up any text formatting, such as Bold.



In my Makefile, I am simply pointing Xelatex at the source file - e.g, make foo.pdf.



preamble.sty



ProvidesPackage{preamble}

PassOptionsToPackage{hyphens}{url}
usepackage[xelatex]{hyperref}
hypersetup{
colorlinks=true,
urlcolor=blue,
}
urlstyle{same}
usepackage[margin=1.905cm]{geometry}
usepackage{fontspec}
usepackage{mathptmx}
usepackage{ulem}
usepackage[none]{hyphenat} % This style needs to be in the repo, It's not in BasicTex
usepackage{enumitem} % This style needs to be in the repo, It's not in BasicTex
pagenumbering{gobble}
defmyauthor{Christopher M. Finazzo}
defmycopyright{2018}
endinput


Code



documentclass[letterpaper,11pt]{article}
usepackage{preamble}
begin{document}
begin{center}
textbf
{small{CHRISTOPHER M. FINAZZO}} \
end{center}
begin{raggedleft}
noindent {973.906.0496}
end{raggedleft}
hfill hfill {chris@chrisfinazzo.com}\
begin{raggedright}
{http://www.linkedin.com/in/chrisfinazzo}
end{raggedright}
begin{center}
textbf
{PROFESSIONAL OBJECTIVE}
end{center}
begin{center}
Communications Analyst
end{center}
noindent
begin{center}
textbf{PREFERRED FUNCTIONS}
end{center}
begin{center}
begin{tabular}{lll}
Marketing Communications & Internal Communications & Client Communications\
end{tabular}
end{center}
begin{center}
textbf{POSITIONING STATEMENT}\
end{center}
begin{raggedright}
Results driven individual with a passion for conveying complex ideas to technical and nontechnical audiences in a way that is accurate, clear, and concise. Proven ability to create audience appropriate messages with a range of authoring tools. Strong verbal and written communication skills as well as the ability to multitask, set priorities, and meet deadlines.\
end{raggedright}
begin{center}
textbf{COMPETENCIES}
end{center}
begin{center}
begin{tabular}{lll}
textbf{Writing & Editing} & textbf{Authoring Tools} & textbf{Project Management}\
AP & APA Style & HTML, CSS, & SASS & Requirements Gathering\
Research Skills & Content Management Systems & Estimating Project Scope\
Creating a Written Narrative & Social Media & Audience Analysis\
end{tabular}
end{center}
begin{center}
textbf{TARGET MARKET CHARACTERISTICS}
end{center}
textbf{Geographic Location:} New York Metro area, Should be commutable via public transit.\
textbf{Industry or Type of Organization:} Communications, Financial Services, Insurance, Technology\
textbf{Size of Organization:} Medium to Large\
textbf{Organizational Culture:}\
Values employees\
Encourages employee autonomy and individual initiative\
Provides opportunities for personal and professional growth\
Leveraging technology to engage with target audiences\
begin{center}
textbf{TARGET LIST}
end{center}
begin{center}
begin{tabular}{ll}
textbf{Financial Services/Insurance} & textbf{Communications/Tech/Other}\
ACE Insurance Group & Bloomberg\
AIG & Columbia University\
American Express & Coyne Public Relations\
Bank of America & Discovery Communications\
BlackRock & Edelman\
BNY Mellon & Facebook\
Chubb & Google\
Citigroup & HP\
Goldman Sachs & IBM\
JPMorgan Chase & Microsoft\
Liberty Mutual & The New York Times\
Morgan Stanley & NYU\
New York Life & Rapp\
Prudential & PwC\
Travelers & The Star Ledger\
UBS & Unilever\
end{tabular}
end{center}
end{document}


What am I missing?







xetex






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 11 hours ago









egreg

709k8618823165




709k8618823165










asked 11 hours ago









Chris

109117




109117








  • 2




    Don't load mathptmx. Use instead after loading fontspec, setmainfont{TeX Gyre Termes).
    – Alan Munn
    11 hours ago






  • 1




    Switch to LuaTeX instead. Math typesetting in XeTeX is sort of broken tex.stackexchange.com/questions/281549/…
    – Henri Menke
    11 hours ago










  • @egreg, The reason it is linked is to avoid simply dumping a bunch of text into my answer which is, by itself annoying.
    – Chris
    11 hours ago






  • 1




    @Chris We'd have to go through the link and copy-paste everything anyhow.
    – egreg
    11 hours ago






  • 2




    @Chris I did not mean to tell you in a wrong way. But, when you are providing links there is no guarantee that the links will stay alive forever. Hence, for archiving purposes, it is better to dump an MWE here. This will be useful for future users who face this same (or close) issue (Since you are already here for long-time, you would know this already). Nevertheless, a happy new year!
    – Raaja
    10 hours ago
















  • 2




    Don't load mathptmx. Use instead after loading fontspec, setmainfont{TeX Gyre Termes).
    – Alan Munn
    11 hours ago






  • 1




    Switch to LuaTeX instead. Math typesetting in XeTeX is sort of broken tex.stackexchange.com/questions/281549/…
    – Henri Menke
    11 hours ago










  • @egreg, The reason it is linked is to avoid simply dumping a bunch of text into my answer which is, by itself annoying.
    – Chris
    11 hours ago






  • 1




    @Chris We'd have to go through the link and copy-paste everything anyhow.
    – egreg
    11 hours ago






  • 2




    @Chris I did not mean to tell you in a wrong way. But, when you are providing links there is no guarantee that the links will stay alive forever. Hence, for archiving purposes, it is better to dump an MWE here. This will be useful for future users who face this same (or close) issue (Since you are already here for long-time, you would know this already). Nevertheless, a happy new year!
    – Raaja
    10 hours ago










2




2




Don't load mathptmx. Use instead after loading fontspec, setmainfont{TeX Gyre Termes).
– Alan Munn
11 hours ago




Don't load mathptmx. Use instead after loading fontspec, setmainfont{TeX Gyre Termes).
– Alan Munn
11 hours ago




1




1




Switch to LuaTeX instead. Math typesetting in XeTeX is sort of broken tex.stackexchange.com/questions/281549/…
– Henri Menke
11 hours ago




Switch to LuaTeX instead. Math typesetting in XeTeX is sort of broken tex.stackexchange.com/questions/281549/…
– Henri Menke
11 hours ago












@egreg, The reason it is linked is to avoid simply dumping a bunch of text into my answer which is, by itself annoying.
– Chris
11 hours ago




@egreg, The reason it is linked is to avoid simply dumping a bunch of text into my answer which is, by itself annoying.
– Chris
11 hours ago




1




1




@Chris We'd have to go through the link and copy-paste everything anyhow.
– egreg
11 hours ago




@Chris We'd have to go through the link and copy-paste everything anyhow.
– egreg
11 hours ago




2




2




@Chris I did not mean to tell you in a wrong way. But, when you are providing links there is no guarantee that the links will stay alive forever. Hence, for archiving purposes, it is better to dump an MWE here. This will be useful for future users who face this same (or close) issue (Since you are already here for long-time, you would know this already). Nevertheless, a happy new year!
– Raaja
10 hours ago






@Chris I did not mean to tell you in a wrong way. But, when you are providing links there is no guarantee that the links will stay alive forever. Hence, for archiving purposes, it is better to dump an MWE here. This will be useful for future users who face this same (or close) issue (Since you are already here for long-time, you would know this already). Nevertheless, a happy new year!
– Raaja
10 hours ago












2 Answers
2






active

oldest

votes


















4














Here's (real) minimal example that solves your problem.



documentclass{article}

usepackage{fontspec}
%usepackage{mathptmx} % don't use this package with XeLaTeX
setmainfont{TeX Gyre Termes}
begin{document}
textbf{Some text}
end{document}


Independently, don't pass the xelatex option to hyperref.



output of code






share|improve this answer





















  • That did it. I still have an hbox issue to deal with, but I suspect that is due to a lack of structure in a particular section.
    – Chris
    10 hours ago



















4














You get



LaTeX Font Warning: Font shape `TU/ptm/m/n' undefined
(Font) using `TU/lmr/m/n' instead on input line 23.

LaTeX Font Warning: Font shape `TU/ptm/bx/n' undefined
(Font) using `TU/ptm/m/n' instead on input line 25.


and this means you won't get Times, but Latin Modern, with no font shape or series variation.



The error is loading mathptmx. If you want Times, there are several choices, depending on your setup. If you just have BasicTeX, forget it: it doesn't have most of the useful things. However Mac OS X provides an OpenType Times font.



I fixed several errors; mainly package loading and names of environments: don't use begin{raggedleft} or begin{raggedright}, but begin{flushright} and begin{flushleft} respectively.



See also the comments I added.



documentclass[letterpaper,11pt]{article}

usepackage[margin=1.905cm]{geometry}
usepackage{fontspec}
usepackage{ulem}

%usepackage[none]{hyphenat} % Loading this is a recipe for bad typography
usepackage{enumitem}
usepackage[hyphens]{url}
urlstyle{same}
usepackage{hyperref} % no xelatex nor xetex option; it should be loaded last
hypersetup{
colorlinks=true,
urlcolor=blue,
}

%pagenumbering{gobble} % never ever use this, particularly with hyperref
pagestyle{empty} % this is good

setmainfont{Times New Roman}

newcommandmyauthor{Christopher M. Finazzo} % not def
newcommandmycopyright{2018}

begin{document}

begin{center}
bfseriessmall CHRISTOPHER M. FINAZZO
end{center}

begin{flushright}
973.906.0496\
end{flushright}

begin{flushleft}
chris@chrisfinazzo.com\
http://www.linkedin.com/in/chrisfinazzo
end{flushleft}

begin{center}
textbf{PROFESSIONAL OBJECTIVE} \
Communications Analyst
end{center}

begin{center}
textbf{PREFERRED FUNCTIONS} \
begin{tabular}[t]{lll}
Marketing Communications & Internal Communications & Client Communications\
end{tabular} \[1ex]
end{center}

begin{flushleft}
{centeringtextbf{POSITIONING STATEMENT}\}
Results driven individual with a passion for conveying complex
ideas to technical and nontechnical audiences in a way that is
accurate, clear, and concise. Proven ability to create audience
appropriate messages with a range of authoring tools. Strong
verbal and written communication skills as well as the ability
to multitask, set priorities, and meet deadlines.
end{flushleft}

begin{center}
textbf{COMPETENCIES} \
begin{tabular}[t]{lll}
textbf{Writing & Editing} & textbf{Authoring Tools} & textbf{Project Management}\
AP & APA Style & HTML, CSS, & SASS & Requirements Gathering\
Research Skills & Content Management Systems & Estimating Project Scope\
Creating a Written Narrative & Social Media & Audience Analysis\
end{tabular}
end{center}

begin{flushleft}
{centeringtextbf{TARGET MARKET CHARACTERISTICS}\}
textbf{Geographic Location:} New York Metro area, Should be commutable via public transit.\
textbf{Industry or Type of Organization:} Communications, Financial Services, Insurance, Technology\
textbf{Size of Organization:} Medium to Large\
textbf{Organizational Culture:}\
Values employees\
Encourages employee autonomy and individual initiative\
Provides opportunities for personal and professional growth\
Leveraging technology to engage with target audiences
end{flushleft}

begin{center}
textbf{TARGET LIST} \
begin{tabular}[t]{ll}
textbf{Financial Services/Insurance} & textbf{Communications/Tech/Other}\
ACE Insurance Group & Bloomberg\
AIG & Columbia University\
American Express & Coyne Public Relations\
Bank of America & Discovery Communications\
BlackRock & Edelman\
BNY Mellon & Facebook\
Chubb & Google\
Citigroup & HP\
Goldman Sachs & IBM\
JPMorgan Chase & Microsoft\
Liberty Mutual & The New York Times\
Morgan Stanley & NYU\
New York Life & Rapp\
Prudential & PwC\
Travelers & The Star Ledger\
UBS & Unilever\
end{tabular}
end{center}

end{document}


enter image description here



The typesetting is very unbalanced, though.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f468076%2fconvert-to-xelatex%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4














    Here's (real) minimal example that solves your problem.



    documentclass{article}

    usepackage{fontspec}
    %usepackage{mathptmx} % don't use this package with XeLaTeX
    setmainfont{TeX Gyre Termes}
    begin{document}
    textbf{Some text}
    end{document}


    Independently, don't pass the xelatex option to hyperref.



    output of code






    share|improve this answer





















    • That did it. I still have an hbox issue to deal with, but I suspect that is due to a lack of structure in a particular section.
      – Chris
      10 hours ago
















    4














    Here's (real) minimal example that solves your problem.



    documentclass{article}

    usepackage{fontspec}
    %usepackage{mathptmx} % don't use this package with XeLaTeX
    setmainfont{TeX Gyre Termes}
    begin{document}
    textbf{Some text}
    end{document}


    Independently, don't pass the xelatex option to hyperref.



    output of code






    share|improve this answer





















    • That did it. I still have an hbox issue to deal with, but I suspect that is due to a lack of structure in a particular section.
      – Chris
      10 hours ago














    4












    4








    4






    Here's (real) minimal example that solves your problem.



    documentclass{article}

    usepackage{fontspec}
    %usepackage{mathptmx} % don't use this package with XeLaTeX
    setmainfont{TeX Gyre Termes}
    begin{document}
    textbf{Some text}
    end{document}


    Independently, don't pass the xelatex option to hyperref.



    output of code






    share|improve this answer












    Here's (real) minimal example that solves your problem.



    documentclass{article}

    usepackage{fontspec}
    %usepackage{mathptmx} % don't use this package with XeLaTeX
    setmainfont{TeX Gyre Termes}
    begin{document}
    textbf{Some text}
    end{document}


    Independently, don't pass the xelatex option to hyperref.



    output of code







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered 11 hours ago









    Alan Munn

    158k27425700




    158k27425700












    • That did it. I still have an hbox issue to deal with, but I suspect that is due to a lack of structure in a particular section.
      – Chris
      10 hours ago


















    • That did it. I still have an hbox issue to deal with, but I suspect that is due to a lack of structure in a particular section.
      – Chris
      10 hours ago
















    That did it. I still have an hbox issue to deal with, but I suspect that is due to a lack of structure in a particular section.
    – Chris
    10 hours ago




    That did it. I still have an hbox issue to deal with, but I suspect that is due to a lack of structure in a particular section.
    – Chris
    10 hours ago











    4














    You get



    LaTeX Font Warning: Font shape `TU/ptm/m/n' undefined
    (Font) using `TU/lmr/m/n' instead on input line 23.

    LaTeX Font Warning: Font shape `TU/ptm/bx/n' undefined
    (Font) using `TU/ptm/m/n' instead on input line 25.


    and this means you won't get Times, but Latin Modern, with no font shape or series variation.



    The error is loading mathptmx. If you want Times, there are several choices, depending on your setup. If you just have BasicTeX, forget it: it doesn't have most of the useful things. However Mac OS X provides an OpenType Times font.



    I fixed several errors; mainly package loading and names of environments: don't use begin{raggedleft} or begin{raggedright}, but begin{flushright} and begin{flushleft} respectively.



    See also the comments I added.



    documentclass[letterpaper,11pt]{article}

    usepackage[margin=1.905cm]{geometry}
    usepackage{fontspec}
    usepackage{ulem}

    %usepackage[none]{hyphenat} % Loading this is a recipe for bad typography
    usepackage{enumitem}
    usepackage[hyphens]{url}
    urlstyle{same}
    usepackage{hyperref} % no xelatex nor xetex option; it should be loaded last
    hypersetup{
    colorlinks=true,
    urlcolor=blue,
    }

    %pagenumbering{gobble} % never ever use this, particularly with hyperref
    pagestyle{empty} % this is good

    setmainfont{Times New Roman}

    newcommandmyauthor{Christopher M. Finazzo} % not def
    newcommandmycopyright{2018}

    begin{document}

    begin{center}
    bfseriessmall CHRISTOPHER M. FINAZZO
    end{center}

    begin{flushright}
    973.906.0496\
    end{flushright}

    begin{flushleft}
    chris@chrisfinazzo.com\
    http://www.linkedin.com/in/chrisfinazzo
    end{flushleft}

    begin{center}
    textbf{PROFESSIONAL OBJECTIVE} \
    Communications Analyst
    end{center}

    begin{center}
    textbf{PREFERRED FUNCTIONS} \
    begin{tabular}[t]{lll}
    Marketing Communications & Internal Communications & Client Communications\
    end{tabular} \[1ex]
    end{center}

    begin{flushleft}
    {centeringtextbf{POSITIONING STATEMENT}\}
    Results driven individual with a passion for conveying complex
    ideas to technical and nontechnical audiences in a way that is
    accurate, clear, and concise. Proven ability to create audience
    appropriate messages with a range of authoring tools. Strong
    verbal and written communication skills as well as the ability
    to multitask, set priorities, and meet deadlines.
    end{flushleft}

    begin{center}
    textbf{COMPETENCIES} \
    begin{tabular}[t]{lll}
    textbf{Writing & Editing} & textbf{Authoring Tools} & textbf{Project Management}\
    AP & APA Style & HTML, CSS, & SASS & Requirements Gathering\
    Research Skills & Content Management Systems & Estimating Project Scope\
    Creating a Written Narrative & Social Media & Audience Analysis\
    end{tabular}
    end{center}

    begin{flushleft}
    {centeringtextbf{TARGET MARKET CHARACTERISTICS}\}
    textbf{Geographic Location:} New York Metro area, Should be commutable via public transit.\
    textbf{Industry or Type of Organization:} Communications, Financial Services, Insurance, Technology\
    textbf{Size of Organization:} Medium to Large\
    textbf{Organizational Culture:}\
    Values employees\
    Encourages employee autonomy and individual initiative\
    Provides opportunities for personal and professional growth\
    Leveraging technology to engage with target audiences
    end{flushleft}

    begin{center}
    textbf{TARGET LIST} \
    begin{tabular}[t]{ll}
    textbf{Financial Services/Insurance} & textbf{Communications/Tech/Other}\
    ACE Insurance Group & Bloomberg\
    AIG & Columbia University\
    American Express & Coyne Public Relations\
    Bank of America & Discovery Communications\
    BlackRock & Edelman\
    BNY Mellon & Facebook\
    Chubb & Google\
    Citigroup & HP\
    Goldman Sachs & IBM\
    JPMorgan Chase & Microsoft\
    Liberty Mutual & The New York Times\
    Morgan Stanley & NYU\
    New York Life & Rapp\
    Prudential & PwC\
    Travelers & The Star Ledger\
    UBS & Unilever\
    end{tabular}
    end{center}

    end{document}


    enter image description here



    The typesetting is very unbalanced, though.






    share|improve this answer




























      4














      You get



      LaTeX Font Warning: Font shape `TU/ptm/m/n' undefined
      (Font) using `TU/lmr/m/n' instead on input line 23.

      LaTeX Font Warning: Font shape `TU/ptm/bx/n' undefined
      (Font) using `TU/ptm/m/n' instead on input line 25.


      and this means you won't get Times, but Latin Modern, with no font shape or series variation.



      The error is loading mathptmx. If you want Times, there are several choices, depending on your setup. If you just have BasicTeX, forget it: it doesn't have most of the useful things. However Mac OS X provides an OpenType Times font.



      I fixed several errors; mainly package loading and names of environments: don't use begin{raggedleft} or begin{raggedright}, but begin{flushright} and begin{flushleft} respectively.



      See also the comments I added.



      documentclass[letterpaper,11pt]{article}

      usepackage[margin=1.905cm]{geometry}
      usepackage{fontspec}
      usepackage{ulem}

      %usepackage[none]{hyphenat} % Loading this is a recipe for bad typography
      usepackage{enumitem}
      usepackage[hyphens]{url}
      urlstyle{same}
      usepackage{hyperref} % no xelatex nor xetex option; it should be loaded last
      hypersetup{
      colorlinks=true,
      urlcolor=blue,
      }

      %pagenumbering{gobble} % never ever use this, particularly with hyperref
      pagestyle{empty} % this is good

      setmainfont{Times New Roman}

      newcommandmyauthor{Christopher M. Finazzo} % not def
      newcommandmycopyright{2018}

      begin{document}

      begin{center}
      bfseriessmall CHRISTOPHER M. FINAZZO
      end{center}

      begin{flushright}
      973.906.0496\
      end{flushright}

      begin{flushleft}
      chris@chrisfinazzo.com\
      http://www.linkedin.com/in/chrisfinazzo
      end{flushleft}

      begin{center}
      textbf{PROFESSIONAL OBJECTIVE} \
      Communications Analyst
      end{center}

      begin{center}
      textbf{PREFERRED FUNCTIONS} \
      begin{tabular}[t]{lll}
      Marketing Communications & Internal Communications & Client Communications\
      end{tabular} \[1ex]
      end{center}

      begin{flushleft}
      {centeringtextbf{POSITIONING STATEMENT}\}
      Results driven individual with a passion for conveying complex
      ideas to technical and nontechnical audiences in a way that is
      accurate, clear, and concise. Proven ability to create audience
      appropriate messages with a range of authoring tools. Strong
      verbal and written communication skills as well as the ability
      to multitask, set priorities, and meet deadlines.
      end{flushleft}

      begin{center}
      textbf{COMPETENCIES} \
      begin{tabular}[t]{lll}
      textbf{Writing & Editing} & textbf{Authoring Tools} & textbf{Project Management}\
      AP & APA Style & HTML, CSS, & SASS & Requirements Gathering\
      Research Skills & Content Management Systems & Estimating Project Scope\
      Creating a Written Narrative & Social Media & Audience Analysis\
      end{tabular}
      end{center}

      begin{flushleft}
      {centeringtextbf{TARGET MARKET CHARACTERISTICS}\}
      textbf{Geographic Location:} New York Metro area, Should be commutable via public transit.\
      textbf{Industry or Type of Organization:} Communications, Financial Services, Insurance, Technology\
      textbf{Size of Organization:} Medium to Large\
      textbf{Organizational Culture:}\
      Values employees\
      Encourages employee autonomy and individual initiative\
      Provides opportunities for personal and professional growth\
      Leveraging technology to engage with target audiences
      end{flushleft}

      begin{center}
      textbf{TARGET LIST} \
      begin{tabular}[t]{ll}
      textbf{Financial Services/Insurance} & textbf{Communications/Tech/Other}\
      ACE Insurance Group & Bloomberg\
      AIG & Columbia University\
      American Express & Coyne Public Relations\
      Bank of America & Discovery Communications\
      BlackRock & Edelman\
      BNY Mellon & Facebook\
      Chubb & Google\
      Citigroup & HP\
      Goldman Sachs & IBM\
      JPMorgan Chase & Microsoft\
      Liberty Mutual & The New York Times\
      Morgan Stanley & NYU\
      New York Life & Rapp\
      Prudential & PwC\
      Travelers & The Star Ledger\
      UBS & Unilever\
      end{tabular}
      end{center}

      end{document}


      enter image description here



      The typesetting is very unbalanced, though.






      share|improve this answer


























        4












        4








        4






        You get



        LaTeX Font Warning: Font shape `TU/ptm/m/n' undefined
        (Font) using `TU/lmr/m/n' instead on input line 23.

        LaTeX Font Warning: Font shape `TU/ptm/bx/n' undefined
        (Font) using `TU/ptm/m/n' instead on input line 25.


        and this means you won't get Times, but Latin Modern, with no font shape or series variation.



        The error is loading mathptmx. If you want Times, there are several choices, depending on your setup. If you just have BasicTeX, forget it: it doesn't have most of the useful things. However Mac OS X provides an OpenType Times font.



        I fixed several errors; mainly package loading and names of environments: don't use begin{raggedleft} or begin{raggedright}, but begin{flushright} and begin{flushleft} respectively.



        See also the comments I added.



        documentclass[letterpaper,11pt]{article}

        usepackage[margin=1.905cm]{geometry}
        usepackage{fontspec}
        usepackage{ulem}

        %usepackage[none]{hyphenat} % Loading this is a recipe for bad typography
        usepackage{enumitem}
        usepackage[hyphens]{url}
        urlstyle{same}
        usepackage{hyperref} % no xelatex nor xetex option; it should be loaded last
        hypersetup{
        colorlinks=true,
        urlcolor=blue,
        }

        %pagenumbering{gobble} % never ever use this, particularly with hyperref
        pagestyle{empty} % this is good

        setmainfont{Times New Roman}

        newcommandmyauthor{Christopher M. Finazzo} % not def
        newcommandmycopyright{2018}

        begin{document}

        begin{center}
        bfseriessmall CHRISTOPHER M. FINAZZO
        end{center}

        begin{flushright}
        973.906.0496\
        end{flushright}

        begin{flushleft}
        chris@chrisfinazzo.com\
        http://www.linkedin.com/in/chrisfinazzo
        end{flushleft}

        begin{center}
        textbf{PROFESSIONAL OBJECTIVE} \
        Communications Analyst
        end{center}

        begin{center}
        textbf{PREFERRED FUNCTIONS} \
        begin{tabular}[t]{lll}
        Marketing Communications & Internal Communications & Client Communications\
        end{tabular} \[1ex]
        end{center}

        begin{flushleft}
        {centeringtextbf{POSITIONING STATEMENT}\}
        Results driven individual with a passion for conveying complex
        ideas to technical and nontechnical audiences in a way that is
        accurate, clear, and concise. Proven ability to create audience
        appropriate messages with a range of authoring tools. Strong
        verbal and written communication skills as well as the ability
        to multitask, set priorities, and meet deadlines.
        end{flushleft}

        begin{center}
        textbf{COMPETENCIES} \
        begin{tabular}[t]{lll}
        textbf{Writing & Editing} & textbf{Authoring Tools} & textbf{Project Management}\
        AP & APA Style & HTML, CSS, & SASS & Requirements Gathering\
        Research Skills & Content Management Systems & Estimating Project Scope\
        Creating a Written Narrative & Social Media & Audience Analysis\
        end{tabular}
        end{center}

        begin{flushleft}
        {centeringtextbf{TARGET MARKET CHARACTERISTICS}\}
        textbf{Geographic Location:} New York Metro area, Should be commutable via public transit.\
        textbf{Industry or Type of Organization:} Communications, Financial Services, Insurance, Technology\
        textbf{Size of Organization:} Medium to Large\
        textbf{Organizational Culture:}\
        Values employees\
        Encourages employee autonomy and individual initiative\
        Provides opportunities for personal and professional growth\
        Leveraging technology to engage with target audiences
        end{flushleft}

        begin{center}
        textbf{TARGET LIST} \
        begin{tabular}[t]{ll}
        textbf{Financial Services/Insurance} & textbf{Communications/Tech/Other}\
        ACE Insurance Group & Bloomberg\
        AIG & Columbia University\
        American Express & Coyne Public Relations\
        Bank of America & Discovery Communications\
        BlackRock & Edelman\
        BNY Mellon & Facebook\
        Chubb & Google\
        Citigroup & HP\
        Goldman Sachs & IBM\
        JPMorgan Chase & Microsoft\
        Liberty Mutual & The New York Times\
        Morgan Stanley & NYU\
        New York Life & Rapp\
        Prudential & PwC\
        Travelers & The Star Ledger\
        UBS & Unilever\
        end{tabular}
        end{center}

        end{document}


        enter image description here



        The typesetting is very unbalanced, though.






        share|improve this answer














        You get



        LaTeX Font Warning: Font shape `TU/ptm/m/n' undefined
        (Font) using `TU/lmr/m/n' instead on input line 23.

        LaTeX Font Warning: Font shape `TU/ptm/bx/n' undefined
        (Font) using `TU/ptm/m/n' instead on input line 25.


        and this means you won't get Times, but Latin Modern, with no font shape or series variation.



        The error is loading mathptmx. If you want Times, there are several choices, depending on your setup. If you just have BasicTeX, forget it: it doesn't have most of the useful things. However Mac OS X provides an OpenType Times font.



        I fixed several errors; mainly package loading and names of environments: don't use begin{raggedleft} or begin{raggedright}, but begin{flushright} and begin{flushleft} respectively.



        See also the comments I added.



        documentclass[letterpaper,11pt]{article}

        usepackage[margin=1.905cm]{geometry}
        usepackage{fontspec}
        usepackage{ulem}

        %usepackage[none]{hyphenat} % Loading this is a recipe for bad typography
        usepackage{enumitem}
        usepackage[hyphens]{url}
        urlstyle{same}
        usepackage{hyperref} % no xelatex nor xetex option; it should be loaded last
        hypersetup{
        colorlinks=true,
        urlcolor=blue,
        }

        %pagenumbering{gobble} % never ever use this, particularly with hyperref
        pagestyle{empty} % this is good

        setmainfont{Times New Roman}

        newcommandmyauthor{Christopher M. Finazzo} % not def
        newcommandmycopyright{2018}

        begin{document}

        begin{center}
        bfseriessmall CHRISTOPHER M. FINAZZO
        end{center}

        begin{flushright}
        973.906.0496\
        end{flushright}

        begin{flushleft}
        chris@chrisfinazzo.com\
        http://www.linkedin.com/in/chrisfinazzo
        end{flushleft}

        begin{center}
        textbf{PROFESSIONAL OBJECTIVE} \
        Communications Analyst
        end{center}

        begin{center}
        textbf{PREFERRED FUNCTIONS} \
        begin{tabular}[t]{lll}
        Marketing Communications & Internal Communications & Client Communications\
        end{tabular} \[1ex]
        end{center}

        begin{flushleft}
        {centeringtextbf{POSITIONING STATEMENT}\}
        Results driven individual with a passion for conveying complex
        ideas to technical and nontechnical audiences in a way that is
        accurate, clear, and concise. Proven ability to create audience
        appropriate messages with a range of authoring tools. Strong
        verbal and written communication skills as well as the ability
        to multitask, set priorities, and meet deadlines.
        end{flushleft}

        begin{center}
        textbf{COMPETENCIES} \
        begin{tabular}[t]{lll}
        textbf{Writing & Editing} & textbf{Authoring Tools} & textbf{Project Management}\
        AP & APA Style & HTML, CSS, & SASS & Requirements Gathering\
        Research Skills & Content Management Systems & Estimating Project Scope\
        Creating a Written Narrative & Social Media & Audience Analysis\
        end{tabular}
        end{center}

        begin{flushleft}
        {centeringtextbf{TARGET MARKET CHARACTERISTICS}\}
        textbf{Geographic Location:} New York Metro area, Should be commutable via public transit.\
        textbf{Industry or Type of Organization:} Communications, Financial Services, Insurance, Technology\
        textbf{Size of Organization:} Medium to Large\
        textbf{Organizational Culture:}\
        Values employees\
        Encourages employee autonomy and individual initiative\
        Provides opportunities for personal and professional growth\
        Leveraging technology to engage with target audiences
        end{flushleft}

        begin{center}
        textbf{TARGET LIST} \
        begin{tabular}[t]{ll}
        textbf{Financial Services/Insurance} & textbf{Communications/Tech/Other}\
        ACE Insurance Group & Bloomberg\
        AIG & Columbia University\
        American Express & Coyne Public Relations\
        Bank of America & Discovery Communications\
        BlackRock & Edelman\
        BNY Mellon & Facebook\
        Chubb & Google\
        Citigroup & HP\
        Goldman Sachs & IBM\
        JPMorgan Chase & Microsoft\
        Liberty Mutual & The New York Times\
        Morgan Stanley & NYU\
        New York Life & Rapp\
        Prudential & PwC\
        Travelers & The Star Ledger\
        UBS & Unilever\
        end{tabular}
        end{center}

        end{document}


        enter image description here



        The typesetting is very unbalanced, though.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 5 hours ago









        Mico

        273k30369756




        273k30369756










        answered 10 hours ago









        egreg

        709k8618823165




        709k8618823165






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f468076%2fconvert-to-xelatex%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Quarter-circle Tiles

            build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

            Mont Emei