Как встроить формулы в строку текста, используя OpenOffice Impress?

3255
Tim

Я хочу создать презентацию в Impress и мне нужно вставить формулу в текст. Я нашел только очень старые сообщения на форуме (старше пяти лет), в которых говорилось, что это невозможно.

К настоящему времени это изменилось? Как мне это сделать?

4
Какую версию LibreOffice вы используете? 4.x? tohuwawohu 10 лет назад 0
@tohuwawohu 4.1.2.3 Tim 10 лет назад 0
Это все еще невозможно. В Writer вы можете изменить тип привязки. В Impress формула обрабатывается как объект, и установить привязку невозможно. Это очень старый недостаток функций, о котором сообщалось с 2003 года в эпоху OpenOffice: https://issues.apache.org/ooo/show_bug.cgi?id=22309 syockit 9 лет назад 0

4 ответа на вопрос

1
tohuwawohu

С текущей версией LO вы можете легко вставить формулу в меню: Insert-> Object-> Formula:

Insert Formula

По умолчанию LO помещает формулу в центр области содержимого, поэтому вам, возможно, придется переместить и изменить ее размер вручную. Двойной щелчок по формуле снова откроет LO Math, так что вы также можете редактировать формулу позже.

РЕДАКТИРОВАТЬ:

Возможно, расширение TexMaths облегчает вставку формул в документы Impress - я не проверял это. Смотрите также домашнюю страницу TexMaths .

Хорошо, я знал это. Я хотел знать, была ли возможность использовать его внутри строки текста. Точно так же, как если бы вы использовали LaTeX с «Первая точка маркера показывает, что $ \ sum_i x_i = 5 $» Tim 10 лет назад 1
Ой, прости, теперь я понимаю. Нет, AFAIK, вы не можете «смешать» формулу в строку текста - нельзя даже привязать формулу к символу, только к самому слайду - поэтому, если текст изменяется, вы, возможно, изменили формулу объекты. :-( AFAIK Impress не предлагает больше возможностей, чем писатель, а AFAIK писатель не предлагает саму такую ​​функцию («смесь» формулы в текст). tohuwawohu 10 лет назад 0
@Tim: добавлена ​​ссылка на расширение TexMath ... HTH tohuwawohu 10 лет назад 0
Это делает то же самое (но, по крайней мере, это выглядит лучше) Tim 10 лет назад 0
1
user2340231

No, it is not possible to embed a formula or a graphical object in text in draw and impress.

In Libreoffice/Openoffice terms this would be called "anchoring the formula as a character". This is something that is possible in writer (contrary to one of the answers above).

TeXMaths is a great addition to Libreoffice, but can in no way help on this issue.

Unfortunately, this is a great deficiency that makes impress very very badly suited for any serious scientific presentation.

If you want to follow the state of this issue, look at https://www.libreoffice.org/bugzilla/show_bug.cgi?id=35033

If you want to support the addition of this feature to libreoffice, there is a bounty that you can contribute to at http://www.freedomsponsors.org/core/issue/473/allow-inline-graphics-formulas-in-impress-and-draw

0
Santi

Well, as @user2340231 mentioned this is an issue that has yet not been solved. Nevertheless I found that installing the old OOoLatex extension that was available for OpenOffice, does the job.

In principle just follow the instructions on this ArchLinux wiki: https://wiki.archlinux.org/index.php/Ooolatex

Download the extension from here: http://sourceforge.net/projects/ooolatex/files/OOoLatex/OOoLatex-4.0.0-beta/ And also the fonts linked there: OOoLatexFonts.zip.

Install the extension by downloading it to your disk and opening the Extension Manager in Libre Office -> Tools.

Then also install the fonts, as mentioned in the wiki, in order to have available simple mathematical expressions in line with the text using the Expand option of the OOoLatex extension.

Restart LibreOffice and you are ready to go.

This worked for me on a manjaro Linux, but these steps are completely distribution-independent.

0
Mori

You can follow a trick like this: Select any text that you want, for ex: this is length h_0 of flat plate....

then you select h_0, then you go to Insert -> Object -> Formula
you will get what you want, the formula in the line

Похожие вопросы