How do I make my document use the Times font, both for the text and the math?
up vote
36
down vote
favorite
I know that I can put usepackage{times}
in the preamble in order to use the Times font instead of Computer Modern for my document. But this only affects the text; the math is still typeset using Computer Modern. How can I make Latex use Times also for the math?
fonts times
add a comment |
up vote
36
down vote
favorite
I know that I can put usepackage{times}
in the preamble in order to use the Times font instead of Computer Modern for my document. But this only affects the text; the math is still typeset using Computer Modern. How can I make Latex use Times also for the math?
fonts times
2
The font Times itself doesn't come with any support for maths; the answers below are free maths fonts that go well with Times.
– ShreevatsaR
Jul 30 '10 at 19:14
There several great answeers below, but just as a side-remark: The LaTeX Font Catalogue is an excellent place to look in situations like this.
– Jesper Ipsen
Mar 13 '13 at 8:15
add a comment |
up vote
36
down vote
favorite
up vote
36
down vote
favorite
I know that I can put usepackage{times}
in the preamble in order to use the Times font instead of Computer Modern for my document. But this only affects the text; the math is still typeset using Computer Modern. How can I make Latex use Times also for the math?
fonts times
I know that I can put usepackage{times}
in the preamble in order to use the Times font instead of Computer Modern for my document. But this only affects the text; the math is still typeset using Computer Modern. How can I make Latex use Times also for the math?
fonts times
fonts times
edited Jan 25 '13 at 16:49
mafp
14.3k25096
14.3k25096
asked Jul 30 '10 at 18:42
Vebjorn Ljosa
7,572143831
7,572143831
2
The font Times itself doesn't come with any support for maths; the answers below are free maths fonts that go well with Times.
– ShreevatsaR
Jul 30 '10 at 19:14
There several great answeers below, but just as a side-remark: The LaTeX Font Catalogue is an excellent place to look in situations like this.
– Jesper Ipsen
Mar 13 '13 at 8:15
add a comment |
2
The font Times itself doesn't come with any support for maths; the answers below are free maths fonts that go well with Times.
– ShreevatsaR
Jul 30 '10 at 19:14
There several great answeers below, but just as a side-remark: The LaTeX Font Catalogue is an excellent place to look in situations like this.
– Jesper Ipsen
Mar 13 '13 at 8:15
2
2
The font Times itself doesn't come with any support for maths; the answers below are free maths fonts that go well with Times.
– ShreevatsaR
Jul 30 '10 at 19:14
The font Times itself doesn't come with any support for maths; the answers below are free maths fonts that go well with Times.
– ShreevatsaR
Jul 30 '10 at 19:14
There several great answeers below, but just as a side-remark: The LaTeX Font Catalogue is an excellent place to look in situations like this.
– Jesper Ipsen
Mar 13 '13 at 8:15
There several great answeers below, but just as a side-remark: The LaTeX Font Catalogue is an excellent place to look in situations like this.
– Jesper Ipsen
Mar 13 '13 at 8:15
add a comment |
6 Answers
6
active
oldest
votes
up vote
34
down vote
accepted
Probably the most common solution at present using free fonts is mathptmx
usepackage{mathptmx}
This package supersedes times
and mathptm
.
The commercial mathtime
is available in a 'lite' version in a free (cost) package, but you need to pay for the full version. See http://www.pctex.com/mtpro2.html
As noted in the answer by mafp, the newer newtx
bundle is now available and addresses issues present in mathptmx
.
Most up to date? Isn't txfontsb considerably newer than mathptmx?
– frabjous
Aug 11 '10 at 12:41
I can't see any mention of 'Times' in the txfontsb documentation, nor of the range of math support. (The focus seems to be on Greek.)
– Joseph Wright♦
Aug 11 '10 at 15:47
It's an extension of the txfonts package, which provides Times in both text and math mode. The documentation may focus on Greek, most likely because that's what's different compared to txfonts. But load the package and you'll see.
– frabjous
Aug 12 '10 at 3:03
add a comment |
up vote
25
down vote
In the mean time, two new option for Times have emerges. The newtx
package provides both text and math versions for Times via
usepackage{newtxtext,newtxmath}
The TeX Gyre project supplies TeX Gyre Termes for text to be used with
usepackage{tgtermes}
and a math version TeX Gyre Termes Math that currently only comes in Open Type Format, and can be used with
usepackage{unicode-math}
setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{TG Termes Math}
in LuaTeX or XeTeX, and with
starttypescript [math][times,termes][all]
definefontsynonym[MathRoman][file:texgyretermes-math-1010.otf][features=mathmathsizesuffix]
stoptypescript
in ConTeXt.
This caused an error "! LaTeX Error: Command openbox already defined. Or name end... illegal, see p.192 of the manual."
– Jeff
Jan 13 '15 at 19:47
@Jeff What exactly, i.e., do you have an MWE?
– mafp
Jan 13 '15 at 23:12
add a comment |
up vote
9
down vote
If you don't mind using a Times-like font, a different engine, and the not yet officially released TeXLive-2010, then you can try XITS font with LuaLaTeX (my preference) or XeLaTeX:
documentclass{article}
usepackage{fontspec}
usepackage{unicode-math}
setmainfont{XITS} % you can use any other Times font if you wish
setmathfont{XITS Math}
begin{document}
Some text and (sqrt{x+y}=z) equation
end{document}
add a comment |
up vote
8
down vote
With current TeXLive 2012 and lualatex
or xelatex
documentclass{article}
usepackage{unicode-math}
setmainfont{TeX Gyre Termes}
setmathfont{TeX Gyre Termes Math}
begin{document}
Some text and (sqrt{x+y}=z) equation
end{document}
see package documentation of fontspec
for optional arguments to the font setting.
add a comment |
up vote
4
down vote
I’ve been using the txfontsb package for Times, though generally I avoid Times. (After reading countless student papers in Times, it grates on me.)
add a comment |
up vote
0
down vote
Put
usepackage[bigsym]{mathptm}
in your preamble. This makes LaTeX use the Times and Symbol fonts for math, except for large symbols (summation, integration, etc.) which look funny in the Postscript Symbol font.
6
According to tug.ctan.org/tex-archive/macros/latex/required/psnfss/… mathptm is "obsolete", you should use mathptmx instead.
– Jukka Suomela
Jul 30 '10 at 18:48
add a comment |
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
34
down vote
accepted
Probably the most common solution at present using free fonts is mathptmx
usepackage{mathptmx}
This package supersedes times
and mathptm
.
The commercial mathtime
is available in a 'lite' version in a free (cost) package, but you need to pay for the full version. See http://www.pctex.com/mtpro2.html
As noted in the answer by mafp, the newer newtx
bundle is now available and addresses issues present in mathptmx
.
Most up to date? Isn't txfontsb considerably newer than mathptmx?
– frabjous
Aug 11 '10 at 12:41
I can't see any mention of 'Times' in the txfontsb documentation, nor of the range of math support. (The focus seems to be on Greek.)
– Joseph Wright♦
Aug 11 '10 at 15:47
It's an extension of the txfonts package, which provides Times in both text and math mode. The documentation may focus on Greek, most likely because that's what's different compared to txfonts. But load the package and you'll see.
– frabjous
Aug 12 '10 at 3:03
add a comment |
up vote
34
down vote
accepted
Probably the most common solution at present using free fonts is mathptmx
usepackage{mathptmx}
This package supersedes times
and mathptm
.
The commercial mathtime
is available in a 'lite' version in a free (cost) package, but you need to pay for the full version. See http://www.pctex.com/mtpro2.html
As noted in the answer by mafp, the newer newtx
bundle is now available and addresses issues present in mathptmx
.
Most up to date? Isn't txfontsb considerably newer than mathptmx?
– frabjous
Aug 11 '10 at 12:41
I can't see any mention of 'Times' in the txfontsb documentation, nor of the range of math support. (The focus seems to be on Greek.)
– Joseph Wright♦
Aug 11 '10 at 15:47
It's an extension of the txfonts package, which provides Times in both text and math mode. The documentation may focus on Greek, most likely because that's what's different compared to txfonts. But load the package and you'll see.
– frabjous
Aug 12 '10 at 3:03
add a comment |
up vote
34
down vote
accepted
up vote
34
down vote
accepted
Probably the most common solution at present using free fonts is mathptmx
usepackage{mathptmx}
This package supersedes times
and mathptm
.
The commercial mathtime
is available in a 'lite' version in a free (cost) package, but you need to pay for the full version. See http://www.pctex.com/mtpro2.html
As noted in the answer by mafp, the newer newtx
bundle is now available and addresses issues present in mathptmx
.
Probably the most common solution at present using free fonts is mathptmx
usepackage{mathptmx}
This package supersedes times
and mathptm
.
The commercial mathtime
is available in a 'lite' version in a free (cost) package, but you need to pay for the full version. See http://www.pctex.com/mtpro2.html
As noted in the answer by mafp, the newer newtx
bundle is now available and addresses issues present in mathptmx
.
edited Apr 13 '17 at 12:36
Community♦
1
1
answered Jul 30 '10 at 18:47
Joseph Wright♦
201k21554879
201k21554879
Most up to date? Isn't txfontsb considerably newer than mathptmx?
– frabjous
Aug 11 '10 at 12:41
I can't see any mention of 'Times' in the txfontsb documentation, nor of the range of math support. (The focus seems to be on Greek.)
– Joseph Wright♦
Aug 11 '10 at 15:47
It's an extension of the txfonts package, which provides Times in both text and math mode. The documentation may focus on Greek, most likely because that's what's different compared to txfonts. But load the package and you'll see.
– frabjous
Aug 12 '10 at 3:03
add a comment |
Most up to date? Isn't txfontsb considerably newer than mathptmx?
– frabjous
Aug 11 '10 at 12:41
I can't see any mention of 'Times' in the txfontsb documentation, nor of the range of math support. (The focus seems to be on Greek.)
– Joseph Wright♦
Aug 11 '10 at 15:47
It's an extension of the txfonts package, which provides Times in both text and math mode. The documentation may focus on Greek, most likely because that's what's different compared to txfonts. But load the package and you'll see.
– frabjous
Aug 12 '10 at 3:03
Most up to date? Isn't txfontsb considerably newer than mathptmx?
– frabjous
Aug 11 '10 at 12:41
Most up to date? Isn't txfontsb considerably newer than mathptmx?
– frabjous
Aug 11 '10 at 12:41
I can't see any mention of 'Times' in the txfontsb documentation, nor of the range of math support. (The focus seems to be on Greek.)
– Joseph Wright♦
Aug 11 '10 at 15:47
I can't see any mention of 'Times' in the txfontsb documentation, nor of the range of math support. (The focus seems to be on Greek.)
– Joseph Wright♦
Aug 11 '10 at 15:47
It's an extension of the txfonts package, which provides Times in both text and math mode. The documentation may focus on Greek, most likely because that's what's different compared to txfonts. But load the package and you'll see.
– frabjous
Aug 12 '10 at 3:03
It's an extension of the txfonts package, which provides Times in both text and math mode. The documentation may focus on Greek, most likely because that's what's different compared to txfonts. But load the package and you'll see.
– frabjous
Aug 12 '10 at 3:03
add a comment |
up vote
25
down vote
In the mean time, two new option for Times have emerges. The newtx
package provides both text and math versions for Times via
usepackage{newtxtext,newtxmath}
The TeX Gyre project supplies TeX Gyre Termes for text to be used with
usepackage{tgtermes}
and a math version TeX Gyre Termes Math that currently only comes in Open Type Format, and can be used with
usepackage{unicode-math}
setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{TG Termes Math}
in LuaTeX or XeTeX, and with
starttypescript [math][times,termes][all]
definefontsynonym[MathRoman][file:texgyretermes-math-1010.otf][features=mathmathsizesuffix]
stoptypescript
in ConTeXt.
This caused an error "! LaTeX Error: Command openbox already defined. Or name end... illegal, see p.192 of the manual."
– Jeff
Jan 13 '15 at 19:47
@Jeff What exactly, i.e., do you have an MWE?
– mafp
Jan 13 '15 at 23:12
add a comment |
up vote
25
down vote
In the mean time, two new option for Times have emerges. The newtx
package provides both text and math versions for Times via
usepackage{newtxtext,newtxmath}
The TeX Gyre project supplies TeX Gyre Termes for text to be used with
usepackage{tgtermes}
and a math version TeX Gyre Termes Math that currently only comes in Open Type Format, and can be used with
usepackage{unicode-math}
setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{TG Termes Math}
in LuaTeX or XeTeX, and with
starttypescript [math][times,termes][all]
definefontsynonym[MathRoman][file:texgyretermes-math-1010.otf][features=mathmathsizesuffix]
stoptypescript
in ConTeXt.
This caused an error "! LaTeX Error: Command openbox already defined. Or name end... illegal, see p.192 of the manual."
– Jeff
Jan 13 '15 at 19:47
@Jeff What exactly, i.e., do you have an MWE?
– mafp
Jan 13 '15 at 23:12
add a comment |
up vote
25
down vote
up vote
25
down vote
In the mean time, two new option for Times have emerges. The newtx
package provides both text and math versions for Times via
usepackage{newtxtext,newtxmath}
The TeX Gyre project supplies TeX Gyre Termes for text to be used with
usepackage{tgtermes}
and a math version TeX Gyre Termes Math that currently only comes in Open Type Format, and can be used with
usepackage{unicode-math}
setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{TG Termes Math}
in LuaTeX or XeTeX, and with
starttypescript [math][times,termes][all]
definefontsynonym[MathRoman][file:texgyretermes-math-1010.otf][features=mathmathsizesuffix]
stoptypescript
in ConTeXt.
In the mean time, two new option for Times have emerges. The newtx
package provides both text and math versions for Times via
usepackage{newtxtext,newtxmath}
The TeX Gyre project supplies TeX Gyre Termes for text to be used with
usepackage{tgtermes}
and a math version TeX Gyre Termes Math that currently only comes in Open Type Format, and can be used with
usepackage{unicode-math}
setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]{TG Termes Math}
in LuaTeX or XeTeX, and with
starttypescript [math][times,termes][all]
definefontsynonym[MathRoman][file:texgyretermes-math-1010.otf][features=mathmathsizesuffix]
stoptypescript
in ConTeXt.
answered Jan 25 '13 at 16:49
mafp
14.3k25096
14.3k25096
This caused an error "! LaTeX Error: Command openbox already defined. Or name end... illegal, see p.192 of the manual."
– Jeff
Jan 13 '15 at 19:47
@Jeff What exactly, i.e., do you have an MWE?
– mafp
Jan 13 '15 at 23:12
add a comment |
This caused an error "! LaTeX Error: Command openbox already defined. Or name end... illegal, see p.192 of the manual."
– Jeff
Jan 13 '15 at 19:47
@Jeff What exactly, i.e., do you have an MWE?
– mafp
Jan 13 '15 at 23:12
This caused an error "! LaTeX Error: Command openbox already defined. Or name end... illegal, see p.192 of the manual."
– Jeff
Jan 13 '15 at 19:47
This caused an error "! LaTeX Error: Command openbox already defined. Or name end... illegal, see p.192 of the manual."
– Jeff
Jan 13 '15 at 19:47
@Jeff What exactly, i.e., do you have an MWE?
– mafp
Jan 13 '15 at 23:12
@Jeff What exactly, i.e., do you have an MWE?
– mafp
Jan 13 '15 at 23:12
add a comment |
up vote
9
down vote
If you don't mind using a Times-like font, a different engine, and the not yet officially released TeXLive-2010, then you can try XITS font with LuaLaTeX (my preference) or XeLaTeX:
documentclass{article}
usepackage{fontspec}
usepackage{unicode-math}
setmainfont{XITS} % you can use any other Times font if you wish
setmathfont{XITS Math}
begin{document}
Some text and (sqrt{x+y}=z) equation
end{document}
add a comment |
up vote
9
down vote
If you don't mind using a Times-like font, a different engine, and the not yet officially released TeXLive-2010, then you can try XITS font with LuaLaTeX (my preference) or XeLaTeX:
documentclass{article}
usepackage{fontspec}
usepackage{unicode-math}
setmainfont{XITS} % you can use any other Times font if you wish
setmathfont{XITS Math}
begin{document}
Some text and (sqrt{x+y}=z) equation
end{document}
add a comment |
up vote
9
down vote
up vote
9
down vote
If you don't mind using a Times-like font, a different engine, and the not yet officially released TeXLive-2010, then you can try XITS font with LuaLaTeX (my preference) or XeLaTeX:
documentclass{article}
usepackage{fontspec}
usepackage{unicode-math}
setmainfont{XITS} % you can use any other Times font if you wish
setmathfont{XITS Math}
begin{document}
Some text and (sqrt{x+y}=z) equation
end{document}
If you don't mind using a Times-like font, a different engine, and the not yet officially released TeXLive-2010, then you can try XITS font with LuaLaTeX (my preference) or XeLaTeX:
documentclass{article}
usepackage{fontspec}
usepackage{unicode-math}
setmainfont{XITS} % you can use any other Times font if you wish
setmathfont{XITS Math}
begin{document}
Some text and (sqrt{x+y}=z) equation
end{document}
answered Aug 11 '10 at 11:51
Khaled Hosny
21.4k172108
21.4k172108
add a comment |
add a comment |
up vote
8
down vote
With current TeXLive 2012 and lualatex
or xelatex
documentclass{article}
usepackage{unicode-math}
setmainfont{TeX Gyre Termes}
setmathfont{TeX Gyre Termes Math}
begin{document}
Some text and (sqrt{x+y}=z) equation
end{document}
see package documentation of fontspec
for optional arguments to the font setting.
add a comment |
up vote
8
down vote
With current TeXLive 2012 and lualatex
or xelatex
documentclass{article}
usepackage{unicode-math}
setmainfont{TeX Gyre Termes}
setmathfont{TeX Gyre Termes Math}
begin{document}
Some text and (sqrt{x+y}=z) equation
end{document}
see package documentation of fontspec
for optional arguments to the font setting.
add a comment |
up vote
8
down vote
up vote
8
down vote
With current TeXLive 2012 and lualatex
or xelatex
documentclass{article}
usepackage{unicode-math}
setmainfont{TeX Gyre Termes}
setmathfont{TeX Gyre Termes Math}
begin{document}
Some text and (sqrt{x+y}=z) equation
end{document}
see package documentation of fontspec
for optional arguments to the font setting.
With current TeXLive 2012 and lualatex
or xelatex
documentclass{article}
usepackage{unicode-math}
setmainfont{TeX Gyre Termes}
setmathfont{TeX Gyre Termes Math}
begin{document}
Some text and (sqrt{x+y}=z) equation
end{document}
see package documentation of fontspec
for optional arguments to the font setting.
edited Mar 15 '13 at 9:29
answered Mar 13 '13 at 8:08
Herbert
267k23406716
267k23406716
add a comment |
add a comment |
up vote
4
down vote
I’ve been using the txfontsb package for Times, though generally I avoid Times. (After reading countless student papers in Times, it grates on me.)
add a comment |
up vote
4
down vote
I’ve been using the txfontsb package for Times, though generally I avoid Times. (After reading countless student papers in Times, it grates on me.)
add a comment |
up vote
4
down vote
up vote
4
down vote
I’ve been using the txfontsb package for Times, though generally I avoid Times. (After reading countless student papers in Times, it grates on me.)
I’ve been using the txfontsb package for Times, though generally I avoid Times. (After reading countless student papers in Times, it grates on me.)
answered Aug 11 '10 at 12:46
frabjous
24.7k68282
24.7k68282
add a comment |
add a comment |
up vote
0
down vote
Put
usepackage[bigsym]{mathptm}
in your preamble. This makes LaTeX use the Times and Symbol fonts for math, except for large symbols (summation, integration, etc.) which look funny in the Postscript Symbol font.
6
According to tug.ctan.org/tex-archive/macros/latex/required/psnfss/… mathptm is "obsolete", you should use mathptmx instead.
– Jukka Suomela
Jul 30 '10 at 18:48
add a comment |
up vote
0
down vote
Put
usepackage[bigsym]{mathptm}
in your preamble. This makes LaTeX use the Times and Symbol fonts for math, except for large symbols (summation, integration, etc.) which look funny in the Postscript Symbol font.
6
According to tug.ctan.org/tex-archive/macros/latex/required/psnfss/… mathptm is "obsolete", you should use mathptmx instead.
– Jukka Suomela
Jul 30 '10 at 18:48
add a comment |
up vote
0
down vote
up vote
0
down vote
Put
usepackage[bigsym]{mathptm}
in your preamble. This makes LaTeX use the Times and Symbol fonts for math, except for large symbols (summation, integration, etc.) which look funny in the Postscript Symbol font.
Put
usepackage[bigsym]{mathptm}
in your preamble. This makes LaTeX use the Times and Symbol fonts for math, except for large symbols (summation, integration, etc.) which look funny in the Postscript Symbol font.
answered Jul 30 '10 at 18:43
Vebjorn Ljosa
7,572143831
7,572143831
6
According to tug.ctan.org/tex-archive/macros/latex/required/psnfss/… mathptm is "obsolete", you should use mathptmx instead.
– Jukka Suomela
Jul 30 '10 at 18:48
add a comment |
6
According to tug.ctan.org/tex-archive/macros/latex/required/psnfss/… mathptm is "obsolete", you should use mathptmx instead.
– Jukka Suomela
Jul 30 '10 at 18:48
6
6
According to tug.ctan.org/tex-archive/macros/latex/required/psnfss/… mathptm is "obsolete", you should use mathptmx instead.
– Jukka Suomela
Jul 30 '10 at 18:48
According to tug.ctan.org/tex-archive/macros/latex/required/psnfss/… mathptm is "obsolete", you should use mathptmx instead.
– Jukka Suomela
Jul 30 '10 at 18:48
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.
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.
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%2f669%2fhow-do-i-make-my-document-use-the-times-font-both-for-the-text-and-the-math%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
2
The font Times itself doesn't come with any support for maths; the answers below are free maths fonts that go well with Times.
– ShreevatsaR
Jul 30 '10 at 19:14
There several great answeers below, but just as a side-remark: The LaTeX Font Catalogue is an excellent place to look in situations like this.
– Jesper Ipsen
Mar 13 '13 at 8:15