Tags:
create new tag
, view all tags

Question how do I preformat but still link?

I have some equations I want to lay out, but using pre kills the links.

For example:

P/E Ratio = MarketValuePerShare 
            ---------------------- 
            EarningsPerShare (EPS)  

Instead of using PRE, is there a way of linking to terms like MarketValuePerShare in this equation?

Thanks

  • TWiki version: on Twiki.org
  • Perl version: don't know
  • Web server & version: don't know
  • Server OS: don't know
  • Web browser & version: ie. 6.1
  • Client OS: xp

-- TWikiGuest - 14 Jun 2003

Answer

You can format text as PRE by wrapping it in = = markup: write = ( pre. linked PreButWithLinking ) = to get ( pre. linked PreButWithLinking ) No spaces between = and (.

-- PeterMasiar - 16 Jun 2003

I think that's not true. Is this what you mean:

=P/E Ratio = MarketValuePerShare= 
=            ----------------------= 
=            EarningsPerShare (EPS) = 

Thus:

P/E Ratio = MarketValuePerShare = ----------------------= = EarningsPerShare (EPS) =

Boy, even if it did it would be ugly!

-- MartinCleaver - 17 Jun 2003

You want to use PRE and whitespace to align items, right? Let's try table:

P/E Ratio = MarketValuePerShare
----------------------
EarningsPerShare (EPS)

-- PeterMasiar - 18 Jun 2003

A workaround is this using a TWiki table with no borders:

P/E Ratio = MarketValuePerShare
  ----------------------
  EarningsPerShare (EPS)

or this using equal signs and %BR%:

 P/E Ratio = MarketValuePerShare
             ----------------------
             EarningsPerShare (EPS)

-- PeterThoeny - 18 Jun 2003

Topic revision: r5 - 2003-06-18 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.