| 1 |
\documentclass[11pt, paperstyle=light yellow, color entry, month-day-year, |
| 2 |
title in boldface, title in sffamily, use style = classical]{jwjournal} |
| 3 |
% "paperstyle = ..." adjusts the paper color, options include: lightyellow、yellow、parchment、green、lightgray、gray、nord、dark |
| 4 |
% "color entry" adds more color to the title of each entry |
| 5 |
% "scroll" turns on the scroll mode and can generate a single-page pdf similar to a long screenshot |
| 6 |
|
| 7 |
\begin{document} |
| 8 |
|
| 9 |
|
| 10 |
01/01/2025 Sunny | Location |
| 11 |
|
| 12 |
Dates and annotations appearing in the text will not be recognized: 12/25/2024, [Note], so feel free to write these. |
| 13 |
|
| 14 |
[Text] |
| 15 |
You can write text in *italics*, **bold** or ***both***. |
| 16 |
\\ |
| 17 |
Asterisks in math mode will not be recognized: $a^* b^*$. |
| 18 |
|
| 19 |
[Remark] In some special cases, it would be necessary to separate the asterisks with~\texttt{\{\}}: **like**{}***this***{}*one*. |
| 20 |
|
| 21 |
>>> You can put text inside a colored block like this. |
| 22 |
|
| 23 |
Images can be included via: |
| 24 |
|
| 25 |
|| <.4> {example-image} % or || {example-image} <.4> |
| 26 |
>> (Remark on the image) |
| 27 |
>> (More remark...) |
| 28 |
|
| 29 |
+++ |
| 30 |
You may also show the image on the left or on the right: |
| 31 |
(( <.4> {example-image-a} % or (( {example-image-a} <.4> |
| 32 |
-> <.3> % add some vertical spacing, here is 0.3\baselineskip |
| 33 |
)) <.4> {example-image-b} % or )) {example-image-b} <.4> |
| 34 |
|
| 35 |
|
| 36 |
## {\textsc{A New Section}} |
| 37 |
|
| 38 |
01/02/2025 |
| 39 |
Unknown (the weather can also be written on the second line, depending on your preference) |
| 40 |
|
| 41 |
The color of the labels shall change according to the date, and long text shall be automatically wrapped and indented: |
| 42 |
|
| 43 |
[Note] I didn't study today, but I wrote many many many many many many many many many many many many code: `inline code`. |
| 44 |
|
| 45 |
[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. |
| 46 |
|
| 47 |
----- |
| 48 |
|
| 49 |
Three or more \textquote{\texttt{-}} in a separate paragraph give you a separation line --- |
| 50 |
|
| 51 |
--- |
| 52 |
|
| 53 |
--- but the current line won't be matched since there is extra text behind \texttt{-}\texttt{-}\texttt{-}. |
| 54 |
|
| 55 |
----- |
| 56 |
|
| 57 |
If there are multiple paragraphs following the label, you may use \texttt{\textbackslash\textbackslash} and \texttt{\slash\slash} wisely to concatenate them, so that all texts would be indented properly: |
| 58 |
|
| 59 |
[Label] Some text. |
| 60 |
// |
| 61 |
More text (with \texttt{\slash\slash}, thus having some vertical spacing from the above text). |
| 62 |
// |
| 63 |
More text (same, with some vertical spacing from the above text). |
| 64 |
// |
| 65 |
(Some remark) |
| 66 |
\\ |
| 67 |
(Another remark, due to the use of \texttt{\textbackslash\textbackslash}, is close to the above remark) |
| 68 |
\\ |
| 69 |
(More remark --- similarly, is close to the above remark) |
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
01/03/2025 |
| 74 |
|
| 75 |
[Note] If only the date is written, then there would be no second separator after it. |
| 76 |
|
| 77 |
|
| 78 |
+++ |
| 79 |
01/04/2025 Cloudy |
| 80 |
|
| 81 |
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. |
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
01-05-2025 Cloudy --- Work at home |
| 86 |
============================================ |
| 87 |
|
| 88 |
You may also organize your code like this. |
| 89 |
|
| 90 |
|
| 91 |
========== |
| 92 |
01-06-2025 Sunny --- Work at home |
| 93 |
========== |
| 94 |
|
| 95 |
Or like this... |
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
01/07/2025 Cloudy |
| 100 |
|
| 101 |
... |
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
01/08/2025 Cloudy |
| 106 |
|
| 107 |
A week later, the color goes back to the earlier one. |
| 108 |
|
| 109 |
|
| 110 |
|
| 111 |
01/09/2025 Cloudy |
| 112 |
|
| 113 |
... |
| 114 |
|
| 115 |
|
| 116 |
\end{document} |