Path: news.mathworks.com!newsfeed-00.mathworks.com!news.kjsl.com!feeder.erje.net!us.feeder.erje.net!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From: Doug Schwarz <see@sig.for.address.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How can I change the space between multiline title ?
Date: Tue, 22 Jan 2013 21:26:08 -0500
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <see-CAF12F.21260822012013@news.eternal-september.org>
References: <kdmi1l$kn9$1@newscl01ah.mathworks.com> <see-66AA8B.13124422012013@news.eternal-september.org> <kdmot1$go1$1@newscl01ah.mathworks.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Injection-Info: mx04.eternal-september.org; posting-host="d2d0f8c5da7c2634a0ffb44c5a849c9f";
	logging-data="27317"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+NmYPV54SDkvazSAseR2P1j3mJxuqeEIM="
User-Agent: MT-NewsWatcher/3.5.2 (Intel Mac OS X)
Cancel-Lock: sha1:7Z7X2Sjd7znJUqD0if9q9SKP7Ug=
Xref: news.mathworks.com comp.soft-sys.matlab:787160

In article <kdmot1$go1$1@newscl01ah.mathworks.com>,
 "Will Fonseca" <willdfonseca@yahoo.com.br> wrote:

> Doug, 
> 
> Thanks for the reply ! 
> Problem solved !
> 
> So, for windows the complete solution is:
> 
> tall_str = sprintf(['\\fontsize{14}' blanks(1) '\\fontsize{11}']);
> h = title({'Frequency vs. Beampattern - GA Array ' ;...
>           [tall_str 'Plane Wave on Cylinder (Diffraction+Free-Field) - 
>           \phi_{in}=90^{\circ}']},...
>     'FontWeight','bold',...
>     'FontSize',11,...
>     'FontName','Palatino Linotype');
> 
> 
> Cheers,
> 
> Will

Will,

I just got a chance to try it on Windows.  A slightly better solution is 
to use

  tall_str = sprintf('{\\fontsize{14}\x81}');

The braces cause the new font size to be temporary so you don't have to 
set it back to 11.  The character \x81 = hex 81 = decimal 129 seems to 
have no width and prints nothing.

I suppose it's possible that a different font (I used the default) could 
cause something to print, but I can't try them all.  ;-(

-- 
Doug Schwarz
dmschwarz&ieee,org
Make obvious changes to get real email address.