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:
--
PeterMasiar - 18 Jun 2003
A workaround is this using a TWiki table with no borders:
or this using equal signs and
%BR%:
P/E Ratio = MarketValuePerShare
----------------------
EarningsPerShare (EPS)
--
PeterThoeny - 18 Jun 2003