Title: Times font
Last modified: January 24, 2019

---

# Times font

 *  [Jonathan May](https://wordpress.org/support/users/ypotw/)
 * (@ypotw)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/times-font/)
 * Apologies to bother you again. I’m trying to sort through the extensive Latex
   documentation, running a bunch of tests, and getting nowhere.
 * The referenced web page displays some examples of math terms my client will be
   using. (These are using the default AMS font packages.) He says he would prefer
   using a “Times font”. I see (on this doc [http://www.icl.utk.edu/~mgates3/docs/latex-fonts.pdf](http://www.icl.utk.edu/~mgates3/docs/latex-fonts.pdf)
   and on other related docs) that there is a mathptmx package which is supposedly
   Times. I’ve tried entering this package in the Advanced tab of the plugin in 
   various ways, e.g., simply adding it to the list of default packages, removing
   the default ams packages completely, etc). But none of thee work — the example
   page just comes up blank.
 * Is the mathptmx package not available? Am I doing something wrong?
 * Thank you again for your patience and help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftimes-font%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [Jonathan May](https://wordpress.org/support/users/ypotw/)
 * (@ypotw)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/times-font/#post-11127322)
 * A broader question related to this: is there documentation somewhere that identifies
   the packages that QuickLatex has access to? Given the results I am getting, it
   appears that mathptmx is not one of them.
 *  Thread Starter [Jonathan May](https://wordpress.org/support/users/ypotw/)
 * (@ypotw)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/times-font/#post-11128541)
 * Just to be clear, this is what I am inserting into the tab where you enter the
   preamble:
    \usepackage{mathptmx}
 *  Plugin Author [advanpix](https://wordpress.org/support/users/advanpix/)
 * (@advanpix)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/times-font/#post-11128698)
 * QuickLaTeX is based on TexLive distribution. All packages included in the distribution
   are supported.
 * I have created page with some font examples from the document you mentioned:
   
   [http://www.holoborodko.com/pavel/quicklatex/latex-fonts-quicklatex/](http://www.holoborodko.com/pavel/quicklatex/latex-fonts-quicklatex/)
 * All fonts are supported, except those requiring “xelatex”.
 *  Thread Starter [Jonathan May](https://wordpress.org/support/users/ypotw/)
 * (@ypotw)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/times-font/#post-11130823)
 * Thank you for your continued help and patience. I have executed several tests
   using the preambles displayed on the page that you referenced. They seem to work
   fine when you add a [preamble] shortcode to a particular math term on the example
   page on my site.
 * However, what I want to do is to have the packages **replace** the global packages
   in the Advanced tab of the plugin. This is not working — at least not how I am
   doing it. To run these tests, I am <removing the default packages from the global
   tab (\usepackage{amsmath} \usepackage{amsfonts} and \usepackage{amssymb}) and
   replacing those terms with the terms from your exaqmple page, e.g., \usepackage{
   mathptmx} and \usepackage{avant}). When I do this, the example page comes up 
   blank, i.e., none of the content on the page displays. (And it takes about 20
   seconds for the page to refresh.)
 * Obviously, I am doing something wrong here. Can you tell me what it is?
 *  Plugin Author [advanpix](https://wordpress.org/support/users/advanpix/)
 * (@advanpix)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/times-font/#post-11130905)
 * When you change global preamble – all formulas must be re-generated (done automatically).
   
   This can take some noticeable time. Try refreshing page with all the examples
   and wait until page is loaded (refresh it several times if you get time-out error).
 * Let me know if this helps.
 * I have just tested the global preamble with only two packages for Times fonts–
   everything works as expected.
 *  Thread Starter [Jonathan May](https://wordpress.org/support/users/ypotw/)
 * (@ypotw)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/times-font/#post-11131534)
 * Okay, I see what you mean. Sometimes (not all the time) it takes about 30 seconds
   for the page to display initially. And sometimes (not all the time) it comes 
   up with blank content, but when I refresh the page, the content does display.
   The behavior seems somewhat random. Would this kind of behavior vary depending
   on the particular package combination I use? I will run some more tests. Visitors
   to the website expect fast response time (no more than 10 seconds at the absolute
   maximum), and certainly won’t put up with having to refresh a page to see the
   content. If I can’t do that by overriding the global packages, I won’t be able
   to use that feature.
 *  Plugin Author [advanpix](https://wordpress.org/support/users/advanpix/)
 * (@advanpix)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/times-font/#post-11133175)
 * @”Sometimes (not all the time) it takes about 30 seconds for the page to display
   initially. And sometimes (not all the time) it comes up with blank content, but
   when I refresh the page, the content does display.”
 * Changes in global preamble cause page load delay only once! Delay shouldn’t happen
   all the time or at random. Also it does not depend on what you put into preamble.
 * I think you need to tune overall performance of your website, because this doesn’t
   seems to be related to QuickLaTeX directly:
 * 1. Use cache in QuickLaTeX, Admin->System->Cache images locally->ON. (It is ON
   by default, I mention this just in case you turned it OFF).
    2. Install and tune
   page optimizing plugin, e.g. Autoptimize. 3. Install and tune caching plugin,
   e.g. WP Super Cache. This will generate pages once (use “Preload” mode) and serve
   them to visitors without running the PHP every time.
 * All combined will make your website very quick (check its performance by Google
   tools in Google Analytics dashboard).
 *  Thread Starter [Jonathan May](https://wordpress.org/support/users/ypotw/)
 * (@ypotw)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/times-font/#post-11133667)
 * Thank you again for your thoughts. One question: when you say, “Changes in global
   preamble cause page load delay **only once**.” do you mean the delay occurs only
   once for the entire site, or once per user session, or…?
 * Regarding your suggestions, there is no problem with the overall performance 
   of the site. The local cache option is enabled in QL, and there is already a 
   caching plugin installed and active.
 *  Plugin Author [advanpix](https://wordpress.org/support/users/advanpix/)
 * (@advanpix)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/times-font/#post-11135052)
 * After global preamble has been changed, QL re-generates images on first visit
   to the page. Then these images are stored in cache and served to all visitors/
   sessions as static content (without any other work from QL side).
 * Thus delay might be noticeable only during first page visit after global preamble
   update.
    Not every time, not random, but only once.
 * P.S.
    I checked HTML code of the website and I didn’t see any optimization / 
   caching. That is why I mentioned this is my previous reply.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Times font’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-quicklatex.svg)
 * [WP QuickLaTeX](https://wordpress.org/plugins/wp-quicklatex/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-quicklatex/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-quicklatex/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-quicklatex/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-quicklatex/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-quicklatex/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [advanpix](https://wordpress.org/support/users/advanpix/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/times-font/#post-11135052)
 * Status: not resolved