3. Text Types¶
We may need to use bold or emphasis when writing with reStructuredText
.
3.1. Bold¶
When the write with the following reStructuredText
markup / syntax:
One word is **bold.**
**This sentence is bold**
**This paragraph
is bold. Very Bold**
The |rst| text written above is generated/rendered as shown below:
One word is bold.
This sentence is bold
This paragraph is bold. Very Bold
3.2. Italic¶
When the write with the following reStructuredText
markup / syntax:
One word is *italic.*
*This sentence is italic/emaphsized*
*This paragraph
is emaphsized. Very much emaphsized*
The |rst| text written above is generated/rendered as shown below:
One word is italic.
This sentence is italic/emaphsized
This paragraph is emaphsized. Very much emaphsized
3.3. Fixed Font / Typewriter font¶
When the write with the following reStructuredText
markup / syntax:
Tho show fixed text, you can use ``FIXED`` or :samp:`FIXED`
However, it is recommended to use correct markup for text readability.
Which may be rendered differently based on PDF/HTML, etc. The also
makes the source text more readable.
To start :program:`Word` you can either Go to :menuselection:`Start --> Programs` or
run :command:`winword`.
When you are done :menuselection:`File --> Save &As`
then press :kbd:`ALT + TAB` go go to :program:`Widnows Explorer` and see if the file is really saved or not.
The |rst| text written above is generated/rendered as shown below:
Tho show fixed text, you can use FIXED
or FIXED
However, it is recommended to use correct markup for text readability. Which may be rendered differently based on PDF/HTML, etc. The also makes the source text more readable.
To start Word you can either Go to
or run winword.When you are done
then press ALT + TAB go go to Widnows Explorer and see if the file is really saved or not.3.4. Mixed Font¶
There are few things that would work, and few which would not.
When the write with the following reStructuredText
markup / syntax:
Mix an match should be word by word. ``FIXED`` or **bold** or *emphasized*
:samp:`This **won't** work.`
``this`` **would** ``work``
The |rst| text written above is generated/rendered as shown below:
Mix an match should be word by word. FIXED
or bold or emphasized
This **won't** work.
this
would work