Line breaks and font size

View: New views
3 Messages — Rating Filter:   Alert me  

Line breaks and font size

by Jason McCandless :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a graph of nodes and manually specify the text width for each
node to ensure corrent line breaking. However, when I use
\footnotesize to reduce the text font size, the line breaking
algorithm is still assuming the regular text size, and breaking
unneccessarily. Is there any way to override this behaviour?

Many thanks,
Jason

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

Re: Line breaks and font size

by Mark Wibrow-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Try using font=\footnotesize as an option to the node.

Regards

Mark

2009/9/5 Jason McCandless <jasonmccandless@...>:

> I have a graph of nodes and manually specify the text width for each
> node to ensure corrent line breaking. However, when I use
> \footnotesize to reduce the text font size, the line breaking
> algorithm is still assuming the regular text size, and breaking
> unneccessarily. Is there any way to override this behaviour?
>
> Many thanks,
> Jason
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> pgf-users mailing list
> pgf-users@...
> https://lists.sourceforge.net/lists/listinfo/pgf-users
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

Re: Line breaks and font size

by Jason McCandless :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Still doesn't seem to draw the box to fit the text properly.

Thanks anyway,
Jason

On Sat, Sep 5, 2009 at 9:02 PM, Mark Wibrow<m.wibrow@...> wrote:

> Hi,
>
> Try using font=\footnotesize as an option to the node.
>
> Regards
>
> Mark
>
> 2009/9/5 Jason McCandless <jasonmccandless@...>:
>> I have a graph of nodes and manually specify the text width for each
>> node to ensure corrent line breaking. However, when I use
>> \footnotesize to reduce the text font size, the line breaking
>> algorithm is still assuming the regular text size, and breaking
>> unneccessarily. Is there any way to override this behaviour?
>>
>> Many thanks,
>> Jason

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users