summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/jwjournal/jwjournal-demo-en.tex
blob: 0fb357e3eea68fab8b904a522fdecc07868b38f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
\documentclass[11pt, paperstyle=light yellow, color entry, month-day-year]{jwjournal}
% "paperstyle = ..." adjusts the paper color, options include: lightyellow、yellow、parchment、green、lightgray、gray、nord、dark
% "color entry" adds more color to the title of each entry
% "scroll" turns on the scroll mode and can generate a single-page pdf similar to a long screenshot

\begin{document}


01/01/2023 Sunny | Apartment

  Dates and annotations appearing in the text will not be recognized: 12/25/2022, [Note], so feel free to write these.

  [Text] You can write text in *italics*, **bold** or ***both***.

  [Remark] In some special cases, it would be necessary to separate the asterisks with~\texttt{\{\}}: **like**{}***this***{}*one*.

  >>> You can put text inside a colored block like this.

  Images can be included via:

  || <.4> {example-image} % or || {example-image} <.4>
  >> (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
  )) <.4> {example-image-b} % or )) {example-image-b} <.4>



01/02/2023
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.

  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:

  [Label] Some text.
    //
    More text (with \texttt{\slash\slash}, thus having some vertical spacing from the above text).
    //
    More text (same, with some vertical spacing from the above text).
    //
    (Some remark)
    \\
    (Another remark, due to the use of \texttt{\textbackslash\textbackslash}, is close to the above remark)
    \\
    (More remark --- similarly, is close to the above remark)



01/03/2023

  [Note] If only the date is written, then there would be no second separator after it.


+++
01/04/2023  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
============================================

You may also organize your code like this.


==========
01-06-2023    Sunny         --- Work at home
==========

Or like this...



01/07/2023  Cloudy

  ...



01/08/2023  Cloudy

  A week later, the color goes back to the earlier one.



01/09/2023  Cloudy

  ...


\end{document}