Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: very small equations in published HTML

Subject: very small equations in published HTML

From: Roy

Date: 7 Feb, 2008 19:04:02

Message: 1 of 6

I've been using the 'publish' feature to create homework assignments for
calculus students and it mostly is great. The only problem is that the images
generated from the embedded Latex are just too small. Is there any way to
change a preference that would allow me to adjust this?

Subject: very small equations in published HTML

From: Matthew Simoneau

Date: 7 Feb, 2008 19:24:01

Message: 2 of 6

Better equation rendering is on our wishlist, too. As a
workaround, you can go hack the M-file to make the equations
larger.

1) >> edit publish
2) Search for for "fontsize".
3) Change the "22" immediately after to something larger.

Subject: very small equations in published HTML

From: mcmcclur@unca.edu

Date: 7 Feb, 2008 21:07:59

Message: 3 of 6

On Feb 7, 2:24 pm, "Matthew Simoneau" <matt...@mathworks.com> wrote:
> Better equation rendering is on our wishlist, too. As a
> workaround, you can go hack the M-file to make the equations
> larger.
>
> 1) >> edit publish
> 2) Search for for "fontsize".
> 3) Change the "22" immediately after to something larger.

I've tried this using R2007b on my Mac Powerbook without
success.

Mark

Subject: very small equations in published HTML

From: Steven Lord

Date: 7 Feb, 2008 21:43:19

Message: 4 of 6


<mcmcclur@unca.edu> wrote in message
news:f56ff7ea-7ddb-4ed1-a8f4-31ac10046e20@v17g2000hsa.googlegroups.com...
> On Feb 7, 2:24 pm, "Matthew Simoneau" <matt...@mathworks.com> wrote:
>> Better equation rendering is on our wishlist, too. As a
>> workaround, you can go hack the M-file to make the equations
>> larger.
>>
>> 1) >> edit publish
>> 2) Search for for "fontsize".
>> 3) Change the "22" immediately after to something larger.
>
> I've tried this using R2007b on my Mac Powerbook without
> success.

That might be due to the toolbox path cache, if you didn't update it. Since
PUBLISH is in a directory under $MATLAB/toolbox (where $MATLAB is your
MATLAB root directory), if you're using the toolbox path cache, you'll need
to "rehash toolboxcache" to update the cache to reflect the change to
PUBLISH.

--
Steve Lord
slord@mathworks.com


Subject: very small equations in published HTML

From: Matthew Simoneau

Date: 7 Feb, 2008 22:12:02

Message: 5 of 6

Actually, the images themselves are cached. Once they're
generated, MATLAB won't generate them again. Do a "clear
functions" to be sure you pick up the new version, delete
the existing equation PNG-files, and try again.

Subject: very small equations in published HTML

From: mcmcclur@unca.edu

Date: 8 Feb, 2008 04:31:01

Message: 6 of 6

On Feb 7, 5:12 pm, "Matthew Simoneau" <matt...@mathworks.com> wrote:
> Actually, the images themselves are cached. Once they're
> generated, MATLAB won't generate them again. Do a "clear
> functions" to be sure you pick up the new version, delete
> the existing equation PNG-files, and try again.

Yep, that did the trick.

Thanks a lot!
Mark

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
equations Ned Gulley 9 Feb, 2008 01:11:03
html Roy 7 Feb, 2008 14:05:07
publish Roy 7 Feb, 2008 14:05:07
rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.
Related Topics