How-to draw Square around math/formula??

Organization: Thought Unlimited. Public service Unix since 1986.
Of_Interest: With 27 years of service to the Unix community.

  hi guys,

  I've tried everything I ccan think of [ besides asking various
  lists ] without any luck. what I am trying to do *seems* simple,
  but no-joy.

  I have a simple equsion that I want to put INSIDE a square. can
  any libreoffice wizards clue me in?

  (The formula string is simply:

int from a to R lim R rightarrow infinity

  and you guys can imaging what that outputs. )

  How, then, do I get libreoffice|formula to create a
  medium-thickness "square" that I can save as, say, "Integraly.pdf".

  tia,

  gary kline

Hi Gary,

I might be missing the obvious, but could you elaborate a little...

  I have a simple equsion that I want to put INSIDE a square.
can any libreoffice wizards clue me in?

What do you mean by "inside a square"? Are you using Calc, and you mean
inside a cell? Do you mean you want to insert the formula into a
Writer document inside a square box? Or are you referring to something
else?

  and you guys can imaging what that outputs. )

Do you want the formula itself, or the result of the formula as applied
to some values?

  How, then, do I get libreoffice|formula to create a

I actually hadn't used LO Formula until now :slight_smile:
But as far as I can see (and I may be wrong here, I'm sure others will
correct me if I am), Formula is just for creating formulas, so you can't
put a box around them (assuming that's what you want to do). That's a
design element, and would need to be done in, say, Writer. I did it
quite easily, from Writer, by saying "Insert | Object | Formula", then
typing in the formula, then clicking outside the formula to exit
Formula edit mode, then select the formula, right click, and select
"Object". From there, select the "Borders" tab, and add your borders as
desired to create a box.

  medium-thickness "square" that I can save as, say,
"Integraly.pdf".

Why would you want to save a formula as a pdf? Surely what you really
want is not to save the formula per se, but either a document with the
formula in it, or a formatted box containing the formula that you could
then use elsewhere? You would then need the approach I used above to
create the formatted formula in a document, with any accompanying
text, and save that.

Incidentally, have you looked at latex? It is also excellent for this
sort of thing, although it has a bit of a learning curve. The LyX
editor may make things easier; it at least has a good tutorial.

Paul

Hi Gary,

Gary Kline schrieb:

Organization: Thought Unlimited. Public service Unix since 1986.
Of_Interest: With 27 years of service to the Unix community.

  hi guys,

  I've tried everything I ccan think of [ besides asking various
  lists ] without any luck. what I am trying to do *seems* simple,
  but no-joy.

  I have a simple equsion that I want to put INSIDE a square. can
  any libreoffice wizards clue me in?

There is no wizard, you have to do it yourself.

  (The formula string is simply:

int from a to R lim R rightarrow infinity

Strange, I would expect lim from {R toward infinity} { int from a to R{ {f(t) "d"t }}}

  and you guys can imaging what that outputs. )

  How, then, do I get libreoffice|formula to create a
  medium-thickness "square" that I can save as, say, "Integraly.pdf".

  tia,

  gary kline

Do you want the *.pdf to only show the formula and no white space outside the square?

Then you need to define a page in the desired size. Set the page margins to 0cm. The pdf-export uses the page size and not the size of the selected object.

For to get the square there are several methods:
- You can use the property "Line" of the formula object. You will have to tweak the formula property Format > Spacing > Category > Borders to get a square.
- You can draw a square in page size and then write the formula in front of it.
- In Writer you can use the property "Border" of the page.
- In Writer you can use a frame with its border and put the formula inside the frame.

Kind regards
Regina

Organization: Thought Unlimited. Public service Unix since 1986.
Of_Interest: With 27 years of service to the Unix community.

Hi Gary,

I might be missing the obvious, but could you elaborate a little...

> I have a simple equsion that I want to put INSIDE a square.
> can any libreoffice wizards clue me in?
What do you mean by "inside a square"? Are you using Calc, and you mean
inside a cell? Do you mean you want to insert the formula into a
Writer document inside a square box? Or are you referring to something
else?

> and you guys can imaging what that outputs. )
Do you want the formula itself, or the result of the formula as applied
to some values?

  you got it right insofar as what I am enclosing -- namely
  "snapshot1.png.... but you lost me there.

> How, then, do I get libreoffice|formula to create a
I actually hadn't used LO Formula until now :slight_smile:
But as far as I can see (and I may be wrong here, I'm sure others will
correct me if I am), Formula is just for creating formulas, so you can't
put a box around them (assuming that's what you want to do). That's a
design element, and would need to be done in, say, Writer. I did it
quite easily, from Writer, by saying "Insert | Object | Formula", then
typing in the formula, then clicking outside the formula to exit
Formula edit mode, then select the formula, right click, and select
"Object". From there, select the "Borders" tab, and add your borders as
desired to create a box.

  by fumbling around and by sheer luck [ ??! ], I came up with the
  integral from a to R, as R goes to infinity..... {{ meaning,
  "blah, blah, blah }}

  note that in my dday of education (from 1978 to 1982) nobody
  had ggraphics. Sun may have started to have audio. I spent
  3 murderous years as a consultant before joing a supercomputer
  company where they eventually had. { *Hugs* }.

  Regina -- down mail queue -- and you have sound suggestions.
  Like you, until very recently, I used openoffice and now
  libreoffice only for a letters that need some level of
  typesetting-- e.g., different font sizes. Anything like
  creating math glyphs were beyond me.

  After you look at my snapshot, can you or anyone else on the list,
  tell me how to make the box and formula larger?

> medium-thickness "square" that I can save as, say,
> "Integraly.pdf".
Why would you want to save a formula as a pdf? Surely what you really
want is not to save the formula per se, but either a document with the
formula in it, or a formatted box containing the formula that you could
then use elsewhere? You would then need the approach I used above to
create the formatted formula in a document, with any accompanying
text, and save that.

  chalk that up to pure ignorance.

Incidentally, have you looked at latex? It is also excellent for this
sort of thing, although it has a bit of a learning curve. The LyX
editor may make things easier; it at least has a good tutorial.

Paul

  I used LaTeX thanks to a friend in de to format a book. he showed
  me quite a few tricks. a few days ago I was thinking of asking
  for help witth this math stuff. I tried LyX a couple years ago.
  Thanks for the tip.

  gary

Hi Gary,

  you got it right insofar as what I am enclosing -- namely
  "snapshot1.png.... but you lost me there.

I'm afraid attachments are stripped out from this mailing list, unless
you upload them via Nabble (which I haven't done myself, someone else
will be able to assist on that).

  After you look at my snapshot, can you or anyone else on the
list, tell me how to make the box and formula larger?

Could you maybe tell me exactly what it is you are trying to do as a
final result? Do you want to write a letter/paper/manual/document with
the formula in it? Are you trying to make a poster with the formula?

If you used the procedure I described in my previous mail to insert a
formula into a Writer document, you can change the font and size when
editing the formula. Simply double click on the formula to go back into
the Formula editor, then under "Format" you will find both "Fonts" and
"Font Size". The borders around the formula will automatically grow to
fit the formula, but if you want them thicker, you can change this by
going back to the "Borders" tab under the "Object" menu item when right
clicking on the formula, as you did to set the borders initially, and
set the thickness from there.

I hope this helped.

Paul

Organization: Thought Unlimited. Public service Unix since 1986.
Of_Interest: With 27 years of service to the Unix community.

Hi Gary,

> you got it right insofar as what I am enclosing -- namely
> "snapshot1.png.... but you lost me there.
I'm afraid attachments are stripped out from this mailing list, unless
you upload them via Nabble (which I haven't done myself, someone else
will be able to assist on that).

  Nuts. well, I think I'v got a nabble acct, but too tiered.
  I had what I wanted, the math stuff centered and surrounded
  by a box. {thin line}

> After you look at my snapshot, can you or anyone else on the
> list, tell me how to make the box and formula larger?
Could you maybe tell me exactly what it is you are trying to do as a
final result? Do you want to write a letter/paper/manual/document with
the formula in it? Are you trying to make a poster with the formula?

  nothing so grand considering that the integration is nonsense.
  I want to replace jpg filea. Plus get more familiar with this
  suite... .

If you used the procedure I described in my previous mail to insert a
formula into a Writer document, you can change the font and size when
editing the formula. Simply double click on the formula to go back into
the Formula editor, then under "Format" you will find both "Fonts" and
"Font Size". The borders around the formula will automatically grow to
fit the formula, but if you want them thicker, you can change this by
going back to the "Borders" tab under the "Object" menu item when right
clicking on the formula, as you did to set the borders initially, and
set the thickness from there.

I hope this helped.

  Ah; yep. I think I know where you mean. tx again-- and a nod '
  to Regina. going to save and edit these files and append them
  to my ~/.Help file.

  gary

can you insert the formula into a frame and then give the frame a border?

Organization: Thought Unlimited. Public service Unix since 1986.
Of_Interest: With 27 years of service to the Unix community.

can you insert the formula into a frame and then give the frame a border?

  what worked was to create the frame, then, using LO|formula,
  type the formula inside the frame. enlarging the font enlarges
  the frame. ---that's as far as I got.

  ;-)

  PS: I'll post the results on www.thought.org when I have it
  figured out.