Update text formatting documentation

This commit is contained in:
Veronica Berglyd Olsen
2024-06-13 15:55:45 +02:00
parent 5fbc608c90
commit d5be1e0479
2 changed files with 139 additions and 15 deletions
+26
View File
@@ -39,6 +39,23 @@ Managing the Project
Layout Tricks
=============
.. dropdown:: Align Paragraphs with Line Breaks
:animate: fade-in-slide-down
If you have line breaks in you paragraphs, and also want to apply additional text alignment or
indentation, you must apply the alignment tags to the first line.
For example, this will centre the two lines.
.. code-block:: md
>> Line one is centred. <<
Line two is also centred.
This text is not centred, because it is a new paragraph.
See :ref:`a_fmt_align` for more details.
.. dropdown:: Create a Simple Table
:animate: fade-in-slide-down
@@ -52,6 +69,15 @@ Layout Tricks
This is most suitable for your notes, as the result in exported documents cannot be guaranteed
to match. Especially if you don't use the same font in your manuscript as in the editor.
.. dropdown:: Turn Off First Line Indent for a Paragraph
:animate: fade-in-slide-down
If you have first line indent enabled, but have a specific paragraph that you don't want
indented, you can disable the indentation by explicitly add text alignment. Aligned paragraphs
are not indented. For instance by adding ``<<`` to the end to left-align it,
See :ref:`a_fmt_align` for more details.
Organising Your Text
====================