summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/jwjournal/jwjournal-demo-en.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/jwjournal/jwjournal-demo-en.tex')
-rw-r--r--macros/latex/contrib/jwjournal/jwjournal-demo-en.tex30
1 files changed, 18 insertions, 12 deletions
diff --git a/macros/latex/contrib/jwjournal/jwjournal-demo-en.tex b/macros/latex/contrib/jwjournal/jwjournal-demo-en.tex
index 32bc336ec8..61d1d8258b 100644
--- a/macros/latex/contrib/jwjournal/jwjournal-demo-en.tex
+++ b/macros/latex/contrib/jwjournal/jwjournal-demo-en.tex
@@ -7,11 +7,14 @@
\begin{document}
-01/01/2023 Sunny | Location
+01/01/2024 Sunny | Location
- Dates and annotations appearing in the text will not be recognized: 12/25/2022, [Note], so feel free to write these.
+ Dates and annotations appearing in the text will not be recognized: 12/25/2023, [Note], so feel free to write these.
- [Text] You can write text in *italics*, **bold** or ***both***.
+ [Text]
+ You can write text in *italics*, **bold** or ***both***.
+ \\
+ Asterisks in math mode will not be recognized: $a^* b^*$.
[Remark] In some special cases, it would be necessary to separate the asterisks with~\texttt{\{\}}: **like**{}***this***{}*one*.
@@ -23,6 +26,7 @@
>> (Remark on the image)
>> (More remark...)
+ +++
You may also show the image on the left or on the right:
(( <.4> {example-image-a} % or (( {example-image-a} <.4>
-> <.3> % add some vertical spacing, here is 0.3\baselineskip
@@ -31,12 +35,14 @@
## {\textsc{A New Section}}
-01/02/2023
+01/02/2024
Unknown (the weather can also be written on the second line, depending on your preference)
The color of the labels shall change according to the date, and long text shall be automatically wrapped and indented:
- [Note] I didn't study today, but I wrote many many many many many many many many many many many many code.
+ [Note] I didn't study today, but I wrote many many many many many many many many many many many many code: `inline code`.
+
+ [Attention] Special characters in inline code need to be escaped. For example, `\textbackslash` should be written as `\textbackslash textbackslash`, `\{` should be written as `\textbackslash\{`, `\%` should be written as `\textbackslash\%`, etc.
-----
@@ -64,45 +70,45 @@ Unknown (the weather can also be written on the second line, depending on your p
-01/03/2023
+01/03/2024
[Note] If only the date is written, then there would be no second separator after it.
+++
-01/04/2023 Cloudy
+01/04/2024 Cloudy
Three plus signs \texttt{+++} can enlarge the current page by about one line. Sometimes a single sentence or a few words fall to the next page --- in such cases, you may use it to improve the display effect.
-01-05-2023 Cloudy --- Work at home
+01-05-2024 Cloudy --- Work at home
============================================
You may also organize your code like this.
==========
-01-06-2023 Sunny --- Work at home
+01-06-2024 Sunny --- Work at home
==========
Or like this...
-01/07/2023 Cloudy
+01/07/2024 Cloudy
...
-01/08/2023 Cloudy
+01/08/2024 Cloudy
A week later, the color goes back to the earlier one.
-01/09/2023 Cloudy
+01/09/2024 Cloudy
...