source/text/smath/guide/align.xhp | 27 +++++++++++------------- source/text/smath/guide/keyboard.xhp | 38 ++++++++++++++++++----------------- source/text/smath/guide/newline.xhp | 19 ++++++++--------- 3 files changed, 42 insertions(+), 42 deletions(-)
New commits: commit 7484a8aa5d9f1350d4272aa3a1ed894cc05e102e Author: Olivier Hallot <olivier.hal...@libreoffice.org> AuthorDate: Sun Mar 26 17:13:42 2023 -0300 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Sun Mar 26 20:48:41 2023 +0000 tdf#154364 (part) refactor "related topics" for smath + refactor Change-Id: I7528998a4a1254b4c0af0092dfd73db896422a18 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/149619 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/source/text/smath/guide/align.xhp b/source/text/smath/guide/align.xhp index e8a14c28b3..60c4aeca75 100644 --- a/source/text/smath/guide/align.xhp +++ b/source/text/smath/guide/align.xhp @@ -1,6 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> - - <!-- * This file is part of the LibreOffice project. * @@ -18,11 +16,10 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - <helpdocument version="1.0"> <meta> <topic id="textsmathguidealignxml" indexer="include" status="PUBLISH"> -<title id="tit" xml-lang="en-US">Manually Aligning Formula Parts</title> +<title id="tit">Manually Aligning Formula Parts</title> <filename>/text/smath/guide/align.xhp</filename> </topic> <history> @@ -30,18 +27,20 @@ </history> </meta> <body> -<bookmark xml-lang="en-US" branch="index" id="bm_id3156384"><bookmark_value>aligning; characters in %PRODUCTNAME Math</bookmark_value> +<bookmark branch="index" id="bm_id3156384"><bookmark_value>aligning; characters in %PRODUCTNAME Math</bookmark_value> <bookmark_value>formula parts; manually aligning</bookmark_value> </bookmark> -<paragraph role="heading" id="hd_id3156384" xml-lang="en-US" level="1"><variable id="align"><link href="text/smath/guide/align.xhp">Manually Aligning Formula Parts</link> -</variable></paragraph> +<h1 id="hd_id3156384"><variable id="align"><link href="text/smath/guide/align.xhp">Manually Aligning Formula Parts</link> +</variable></h1> <h3 id="hd_id3154657">How do you align characters in $[officename] Math quickly and easily?</h3> -<paragraph role="paragraph" id="par_id3150249" xml-lang="en-US">To accomplish this, you must define empty groups and character strings. They do not require any space, but carry information that helps in the alignment process.</paragraph> -<paragraph role="paragraph" id="par_id3153912" xml-lang="en-US">To create empty groups, enter curly brackets <emph>{}</emph> in the Commands window. In the following example, the goal is to achieve a line break so that the plus signs are beneath one another, even though one less character is entered in the upper line:</paragraph> -<paragraph role="smathcode" id="par_id3153246" xml-lang="en-US" localize="false">a+a+a+{} newline {}{}{}{}{}a+a+a+a</paragraph> -<paragraph role="paragraph" id="par_id3143229" xml-lang="en-US">Empty character strings are a simple way to ensure that texts and formulas are left-aligned. They are defined using double inverted commas "" . Make sure you do not use any typographic inverted commas. Example:</paragraph> -<paragraph role="smathcode" id="par_id3153809" xml-lang="en-US">"A further example." newline a+b newline ""c-d</paragraph> -<embed href="text/shared/00/00000004.xhp#related"/> -<embed href="text/smath/guide/brackets.xhp#brackets"/> +<paragraph role="paragraph" id="par_id3150249">To accomplish this, you must define empty groups and character strings. They do not require any space, but carry information that helps in the alignment process.</paragraph> +<paragraph role="paragraph" id="par_id3153912">To create empty groups, enter curly brackets <emph>{}</emph> in the Commands window. In the following example, the goal is to achieve a line break so that the plus signs are beneath one another, even though one less character is entered in the upper line:</paragraph> +<paragraph role="smathcode" id="par_id3153246" localize="false">a+a+a+{} newline {}{}{}{}{}a+a+a+a</paragraph> +<paragraph role="paragraph" id="par_id3143229">Empty character strings are a simple way to ensure that texts and formulas are left-aligned. They are defined using double inverted commas "" . Make sure you do not use any typographic inverted commas. Example:</paragraph> +<paragraph role="smathcode" id="par_id3153809">"A further example." newline a+b newline ""c-d</paragraph> + +<section id="relatedtopics"> + <embed href="text/smath/guide/brackets.xhp#brackets"/> +</section> </body> </helpdocument> diff --git a/source/text/smath/guide/keyboard.xhp b/source/text/smath/guide/keyboard.xhp index 97fdf5f825..67e92c6a7f 100644 --- a/source/text/smath/guide/keyboard.xhp +++ b/source/text/smath/guide/keyboard.xhp @@ -20,7 +20,7 @@ <meta> <topic id="textsmathguidekeyboardxml" indexer="include" status="PUBLISH"> -<title id="tit" xml-lang="en-US">Shortcuts ($[officename] Math Accessibility)</title> +<title id="tit">Shortcuts ($[officename] Math Accessibility)</title> <filename>/text/smath/guide/keyboard.xhp</filename> </topic> <history> @@ -28,45 +28,47 @@ </history> </meta> <body> -<bookmark xml-lang="en-US" branch="index" id="bm_id3149018"><bookmark_value>accessibility; $[officename] Math shortcuts</bookmark_value> +<bookmark branch="index" id="bm_id3149018"><bookmark_value>accessibility; $[officename] Math shortcuts</bookmark_value> </bookmark> -<h1 id="hd_id3149018" xml-lang="en-US"><variable id="keyboard"><link href="text/smath/guide/keyboard.xhp">Shortcuts ($[officename] Math Accessibility)</link></variable></h1> -<paragraph role="paragraph" id="par_id3150298" xml-lang="en-US">You can control $[officename] Math without a mouse.</paragraph> -<h2 id="hd_id3150343" xml-lang="en-US">Inserting a Formula Directly</h2> -<paragraph role="paragraph" id="par_id3154659" xml-lang="en-US">If you want to insert a formula into a text document, and you already know the correct writing, you can proceed as follows:</paragraph> +<h1 id="hd_id3149018"><variable id="keyboard"><link href="text/smath/guide/keyboard.xhp">Shortcuts ($[officename] Math Accessibility)</link></variable></h1> +<paragraph role="paragraph" id="par_id3150298">You can control $[officename] Math without a mouse.</paragraph> +<h2 id="hd_id3150343">Inserting a Formula Directly</h2> +<paragraph role="paragraph" id="par_id3154659">If you want to insert a formula into a text document, and you already know the correct writing, you can proceed as follows:</paragraph> <list type="ordered"> <listitem> -<paragraph role="listitem" id="par_id3153818" xml-lang="en-US">Write the formula into your text</paragraph> +<paragraph role="listitem" id="par_id3153818">Write the formula into your text</paragraph> </listitem> <listitem> -<paragraph role="listitem" id="par_id3153915" xml-lang="en-US">Select the formula</paragraph> +<paragraph role="listitem" id="par_id3153915">Select the formula</paragraph> </listitem> <listitem> -<paragraph role="listitem" id="par_id3150213" xml-lang="en-US">Choose the command <menuitem>Insert - OLE Object - Formula Object</menuitem>.</paragraph> +<paragraph role="listitem" id="par_id3150213">Choose the command <menuitem>Insert - OLE Object - Formula Object</menuitem>.</paragraph> </listitem> </list> -<h2 id="hd_id3154767" xml-lang="en-US">Inserting a Formula using a Window</h2> +<h2 id="hd_id3154767">Inserting a Formula using a Window</h2> <list type="unordered"> <listitem> -<paragraph role="listitem" id="par_id3149875" xml-lang="en-US">If you want to use the $[officename] Math interface to edit a formula, choose the command <menuitem>Insert - OLE Object - Formula Object</menuitem> without any text selected.</paragraph> +<paragraph role="listitem" id="par_id3149875">If you want to use the $[officename] Math interface to edit a formula, choose the command <menuitem>Insert - OLE Object - Formula Object</menuitem> without any text selected.</paragraph> </listitem> <listitem> -<paragraph role="listitem" id="par_id3150391" xml-lang="en-US">The cursor waits in the Commands window and you can type the formula.</paragraph> +<paragraph role="listitem" id="par_id3150391">The cursor waits in the Commands window and you can type the formula.</paragraph> </listitem> <listitem> -<paragraph role="listitem" id="par_id3150537" xml-lang="en-US">You can compose formulas using the Elements pane. Open it with the menu <emph>View - Elements</emph> if it is not already open.</paragraph> +<paragraph role="listitem" id="par_id3150537">You can compose formulas using the Elements pane. Open it with the menu <emph>View - Elements</emph> if it is not already open.</paragraph> </listitem> <listitem> -<paragraph role="listitem" id="par_id3155625" xml-lang="en-US">If the Elements pane is open, use F6 to switch from the Commands window to the Elements pane and back.</paragraph> +<paragraph role="listitem" id="par_id3155625">If the Elements pane is open, use F6 to switch from the Commands window to the Elements pane and back.</paragraph> </listitem> </list> -<h2 id="hd_id3154554" xml-lang="en-US">Elements pane</h2> +<h2 id="hd_id3154554">Elements pane</h2> <embed href="text/smath/04/01020000.xhp#Cu"/> <embed href="text/smath/04/01020000.xhp#CR"/> <embed href="text/smath/04/01020000.xhp#Tab"/> <embed href="text/smath/04/01020000.xhp#ShiftTab"/> -<embed href="text/shared/00/00000004.xhp#related"/> -<embed href="text/smath/04/01020000.xhp#math_keys"/> -<embed href="text/shared/guide/keyboard.xhp#keyboard"/> + +<section id="relatedtopics"> + <embed href="text/smath/04/01020000.xhp#math_keys"/> + <embed href="text/shared/guide/keyboard.xhp#keyboard"/> +</section> </body> </helpdocument> diff --git a/source/text/smath/guide/newline.xhp b/source/text/smath/guide/newline.xhp index 6db8f534a1..1235191c72 100644 --- a/source/text/smath/guide/newline.xhp +++ b/source/text/smath/guide/newline.xhp @@ -1,6 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> - - <!-- * This file is part of the LibreOffice project. * @@ -18,11 +16,10 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - <helpdocument version="1.0"> <meta> <topic id="textsmathguidenewlinexml" indexer="include" status="PUBLISH"> -<title id="tit" xml-lang="en-US">Entering Line Breaks</title> +<title id="tit">Entering Line Breaks</title> <filename>/text/smath/guide/newline.xhp</filename> </topic> <history> @@ -30,15 +27,17 @@ </history> </meta> <body> -<bookmark xml-lang="en-US" branch="index" id="bm_id1295205"><bookmark_value>line breaks; in formulas</bookmark_value> +<bookmark branch="index" id="bm_id1295205"><bookmark_value>line breaks; in formulas</bookmark_value> <bookmark_value>formulas;line breaks</bookmark_value> <bookmark_value>wrapping text;in formulas</bookmark_value> </bookmark> -<paragraph role="heading" id="hd_id3146970" xml-lang="en-US" level="1"><variable id="newline"><link href="text/smath/guide/newline.xhp">Entering Line Breaks</link> -</variable></paragraph> +<h1 id="hd_id3146970"><variable id="newline"><link href="text/smath/guide/newline.xhp">Entering Line Breaks</link> +</variable></h1> <h3 id="hd_id3147339">How to write formulas in $[officename] Math over two lines (with manual line break):</h3> -<paragraph role="paragraph" id="par_id3154702" xml-lang="en-US">Create a line break by using the "newline" command. Everything coming after the line break is placed on the next line.</paragraph> -<embed href="text/shared/00/00000004.xhp#related"/> -<embed href="text/smath/guide/main.xhp#main"/> +<paragraph role="paragraph" id="par_id3154702">Create a line break by using the "newline" command. Everything coming after the line break is placed on the next line.</paragraph> + +<section id="relatedtopics"> + <embed href="text/smath/guide/main.xhp#main"/> +</section> </body> </helpdocument>