Convert to Xelatex
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
|
show 5 more comments
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
3
Don't loadmathptmx
. Use instead after loadingfontspec
,setmainfont{TeX Gyre Termes)
.
– Alan Munn
Dec 31 '18 at 20:33
2
Switch to LuaTeX instead. Math typesetting in XeTeX is sort of broken tex.stackexchange.com/questions/281549/…
– Henri Menke
Dec 31 '18 at 20:34
1
@Chris We'd have to go through the link and copy-paste everything anyhow.
– egreg
Dec 31 '18 at 20:42
3
@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
Dec 31 '18 at 21:38
2
@Chris - I'm an experienced member of this group and have provided several thousand answers over the years. It's true that I don't absolutely insist on an OP providing an MWE before I'm willing to sit down and come up with a solution. However, queries that contain usable code examples do clearly demonstrate focused mental engagement of the OP, and they are thus are far more likely to generate responses with usable solutions than are queries of the "umm, I'm kinda experiencing a weird problem with LaTeX" type. If a query is unfocused, I refuse to waste my time figuring out what's going on.
– Mico
Jan 1 at 2:32
|
show 5 more comments
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
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
xetex
edited Dec 31 '18 at 20:36
egreg
729k8819263237
729k8819263237
asked Dec 31 '18 at 20:26
ChrisChris
124117
124117
3
Don't loadmathptmx
. Use instead after loadingfontspec
,setmainfont{TeX Gyre Termes)
.
– Alan Munn
Dec 31 '18 at 20:33
2
Switch to LuaTeX instead. Math typesetting in XeTeX is sort of broken tex.stackexchange.com/questions/281549/…
– Henri Menke
Dec 31 '18 at 20:34
1
@Chris We'd have to go through the link and copy-paste everything anyhow.
– egreg
Dec 31 '18 at 20:42
3
@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
Dec 31 '18 at 21:38
2
@Chris - I'm an experienced member of this group and have provided several thousand answers over the years. It's true that I don't absolutely insist on an OP providing an MWE before I'm willing to sit down and come up with a solution. However, queries that contain usable code examples do clearly demonstrate focused mental engagement of the OP, and they are thus are far more likely to generate responses with usable solutions than are queries of the "umm, I'm kinda experiencing a weird problem with LaTeX" type. If a query is unfocused, I refuse to waste my time figuring out what's going on.
– Mico
Jan 1 at 2:32
|
show 5 more comments
3
Don't loadmathptmx
. Use instead after loadingfontspec
,setmainfont{TeX Gyre Termes)
.
– Alan Munn
Dec 31 '18 at 20:33
2
Switch to LuaTeX instead. Math typesetting in XeTeX is sort of broken tex.stackexchange.com/questions/281549/…
– Henri Menke
Dec 31 '18 at 20:34
1
@Chris We'd have to go through the link and copy-paste everything anyhow.
– egreg
Dec 31 '18 at 20:42
3
@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
Dec 31 '18 at 21:38
2
@Chris - I'm an experienced member of this group and have provided several thousand answers over the years. It's true that I don't absolutely insist on an OP providing an MWE before I'm willing to sit down and come up with a solution. However, queries that contain usable code examples do clearly demonstrate focused mental engagement of the OP, and they are thus are far more likely to generate responses with usable solutions than are queries of the "umm, I'm kinda experiencing a weird problem with LaTeX" type. If a query is unfocused, I refuse to waste my time figuring out what's going on.
– Mico
Jan 1 at 2:32
3
3
Don't load
mathptmx
. Use instead after loading fontspec
, setmainfont{TeX Gyre Termes)
.– Alan Munn
Dec 31 '18 at 20:33
Don't load
mathptmx
. Use instead after loading fontspec
, setmainfont{TeX Gyre Termes)
.– Alan Munn
Dec 31 '18 at 20:33
2
2
Switch to LuaTeX instead. Math typesetting in XeTeX is sort of broken tex.stackexchange.com/questions/281549/…
– Henri Menke
Dec 31 '18 at 20:34
Switch to LuaTeX instead. Math typesetting in XeTeX is sort of broken tex.stackexchange.com/questions/281549/…
– Henri Menke
Dec 31 '18 at 20:34
1
1
@Chris We'd have to go through the link and copy-paste everything anyhow.
– egreg
Dec 31 '18 at 20:42
@Chris We'd have to go through the link and copy-paste everything anyhow.
– egreg
Dec 31 '18 at 20:42
3
3
@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
Dec 31 '18 at 21:38
@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
Dec 31 '18 at 21:38
2
2
@Chris - I'm an experienced member of this group and have provided several thousand answers over the years. It's true that I don't absolutely insist on an OP providing an MWE before I'm willing to sit down and come up with a solution. However, queries that contain usable code examples do clearly demonstrate focused mental engagement of the OP, and they are thus are far more likely to generate responses with usable solutions than are queries of the "umm, I'm kinda experiencing a weird problem with LaTeX" type. If a query is unfocused, I refuse to waste my time figuring out what's going on.
– Mico
Jan 1 at 2:32
@Chris - I'm an experienced member of this group and have provided several thousand answers over the years. It's true that I don't absolutely insist on an OP providing an MWE before I'm willing to sit down and come up with a solution. However, queries that contain usable code examples do clearly demonstrate focused mental engagement of the OP, and they are thus are far more likely to generate responses with usable solutions than are queries of the "umm, I'm kinda experiencing a weird problem with LaTeX" type. If a query is unfocused, I refuse to waste my time figuring out what's going on.
– Mico
Jan 1 at 2:32
|
show 5 more comments
2 Answers
2
active
oldest
votes
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
.
That did it. I still have anhbox
issue to deal with, but I suspect that is due to a lack of structure in a particular section.
– Chris
Dec 31 '18 at 21:02
add a comment |
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}
The typesetting is very unbalanced, though.
This is stable now, so I think we're OK. That said, I have two questions regarding your comments in the updated code:%usepackage[none]{hyphenat} % Loading this is a recipe for bad typography
Why is this bad? I'm using Arial intentionally, as it was the original font andhyphenat
ensures I don't get weird line breaks, which are ugly and hard to read.%pagenumbering{gobble} % never ever use this, particularly with hyperref
I explicitly do not want page numbering, as the document is 1 page long. What side effects withhyperref
are there to be concerned about?
– Chris
Jan 15 at 17:36
pagenumbering{gobble}
is always wrong. The correct way is to issuepagestyle{empty}
. About hyphenation, I prefer ten hyphens to a single spread out line.
– egreg
Jan 15 at 18:53
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
.
That did it. I still have anhbox
issue to deal with, but I suspect that is due to a lack of structure in a particular section.
– Chris
Dec 31 '18 at 21:02
add a comment |
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
.
That did it. I still have anhbox
issue to deal with, but I suspect that is due to a lack of structure in a particular section.
– Chris
Dec 31 '18 at 21:02
add a comment |
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
.
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
.
answered Dec 31 '18 at 20:52
Alan MunnAlan Munn
163k28432711
163k28432711
That did it. I still have anhbox
issue to deal with, but I suspect that is due to a lack of structure in a particular section.
– Chris
Dec 31 '18 at 21:02
add a comment |
That did it. I still have anhbox
issue to deal with, but I suspect that is due to a lack of structure in a particular section.
– Chris
Dec 31 '18 at 21:02
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
Dec 31 '18 at 21:02
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
Dec 31 '18 at 21:02
add a comment |
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}
The typesetting is very unbalanced, though.
This is stable now, so I think we're OK. That said, I have two questions regarding your comments in the updated code:%usepackage[none]{hyphenat} % Loading this is a recipe for bad typography
Why is this bad? I'm using Arial intentionally, as it was the original font andhyphenat
ensures I don't get weird line breaks, which are ugly and hard to read.%pagenumbering{gobble} % never ever use this, particularly with hyperref
I explicitly do not want page numbering, as the document is 1 page long. What side effects withhyperref
are there to be concerned about?
– Chris
Jan 15 at 17:36
pagenumbering{gobble}
is always wrong. The correct way is to issuepagestyle{empty}
. About hyphenation, I prefer ten hyphens to a single spread out line.
– egreg
Jan 15 at 18:53
add a comment |
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}
The typesetting is very unbalanced, though.
This is stable now, so I think we're OK. That said, I have two questions regarding your comments in the updated code:%usepackage[none]{hyphenat} % Loading this is a recipe for bad typography
Why is this bad? I'm using Arial intentionally, as it was the original font andhyphenat
ensures I don't get weird line breaks, which are ugly and hard to read.%pagenumbering{gobble} % never ever use this, particularly with hyperref
I explicitly do not want page numbering, as the document is 1 page long. What side effects withhyperref
are there to be concerned about?
– Chris
Jan 15 at 17:36
pagenumbering{gobble}
is always wrong. The correct way is to issuepagestyle{empty}
. About hyphenation, I prefer ten hyphens to a single spread out line.
– egreg
Jan 15 at 18:53
add a comment |
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}
The typesetting is very unbalanced, though.
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}
The typesetting is very unbalanced, though.
edited Jan 1 at 2:23
Mico
284k31388778
284k31388778
answered Dec 31 '18 at 21:02
egregegreg
729k8819263237
729k8819263237
This is stable now, so I think we're OK. That said, I have two questions regarding your comments in the updated code:%usepackage[none]{hyphenat} % Loading this is a recipe for bad typography
Why is this bad? I'm using Arial intentionally, as it was the original font andhyphenat
ensures I don't get weird line breaks, which are ugly and hard to read.%pagenumbering{gobble} % never ever use this, particularly with hyperref
I explicitly do not want page numbering, as the document is 1 page long. What side effects withhyperref
are there to be concerned about?
– Chris
Jan 15 at 17:36
pagenumbering{gobble}
is always wrong. The correct way is to issuepagestyle{empty}
. About hyphenation, I prefer ten hyphens to a single spread out line.
– egreg
Jan 15 at 18:53
add a comment |
This is stable now, so I think we're OK. That said, I have two questions regarding your comments in the updated code:%usepackage[none]{hyphenat} % Loading this is a recipe for bad typography
Why is this bad? I'm using Arial intentionally, as it was the original font andhyphenat
ensures I don't get weird line breaks, which are ugly and hard to read.%pagenumbering{gobble} % never ever use this, particularly with hyperref
I explicitly do not want page numbering, as the document is 1 page long. What side effects withhyperref
are there to be concerned about?
– Chris
Jan 15 at 17:36
pagenumbering{gobble}
is always wrong. The correct way is to issuepagestyle{empty}
. About hyphenation, I prefer ten hyphens to a single spread out line.
– egreg
Jan 15 at 18:53
This is stable now, so I think we're OK. That said, I have two questions regarding your comments in the updated code:
%usepackage[none]{hyphenat} % Loading this is a recipe for bad typography
Why is this bad? I'm using Arial intentionally, as it was the original font and hyphenat
ensures I don't get weird line breaks, which are ugly and hard to read. %pagenumbering{gobble} % never ever use this, particularly with hyperref
I explicitly do not want page numbering, as the document is 1 page long. What side effects with hyperref
are there to be concerned about?– Chris
Jan 15 at 17:36
This is stable now, so I think we're OK. That said, I have two questions regarding your comments in the updated code:
%usepackage[none]{hyphenat} % Loading this is a recipe for bad typography
Why is this bad? I'm using Arial intentionally, as it was the original font and hyphenat
ensures I don't get weird line breaks, which are ugly and hard to read. %pagenumbering{gobble} % never ever use this, particularly with hyperref
I explicitly do not want page numbering, as the document is 1 page long. What side effects with hyperref
are there to be concerned about?– Chris
Jan 15 at 17:36
pagenumbering{gobble}
is always wrong. The correct way is to issue pagestyle{empty}
. About hyphenation, I prefer ten hyphens to a single spread out line.– egreg
Jan 15 at 18:53
pagenumbering{gobble}
is always wrong. The correct way is to issue pagestyle{empty}
. About hyphenation, I prefer ten hyphens to a single spread out line.– egreg
Jan 15 at 18:53
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
3
Don't load
mathptmx
. Use instead after loadingfontspec
,setmainfont{TeX Gyre Termes)
.– Alan Munn
Dec 31 '18 at 20:33
2
Switch to LuaTeX instead. Math typesetting in XeTeX is sort of broken tex.stackexchange.com/questions/281549/…
– Henri Menke
Dec 31 '18 at 20:34
1
@Chris We'd have to go through the link and copy-paste everything anyhow.
– egreg
Dec 31 '18 at 20:42
3
@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
Dec 31 '18 at 21:38
2
@Chris - I'm an experienced member of this group and have provided several thousand answers over the years. It's true that I don't absolutely insist on an OP providing an MWE before I'm willing to sit down and come up with a solution. However, queries that contain usable code examples do clearly demonstrate focused mental engagement of the OP, and they are thus are far more likely to generate responses with usable solutions than are queries of the "umm, I'm kinda experiencing a weird problem with LaTeX" type. If a query is unfocused, I refuse to waste my time figuring out what's going on.
– Mico
Jan 1 at 2:32