Pernahkah Anda hampir siap mencetak, tetapi menyadari bahwa bulan Desember sudah lewat, dan Anda perlu memperbarui tahunnya? (Atau lebih buruk lagi, apakah Anda baru menyadarinya setelah cetakan keluar dari printer?) Apakah Anda berharap komputer Anda bisa melakukannya untuk Anda?
Anda bisa memasukkan sesuatu seperti ini ke dalam bidang hak cipta di PTXprint (tab dasar, tampilan penuh):
© 2019\endash\the\year\ My Publishing Organisation
-
\endash adalah tanda hubung pendek (en-dash), U+2013, yang terlihat lebih baik daripada tanda hubung biasa. Menggunakan makro lebih mudah diidentifikasi/diketik dari contoh kode di halaman web daripada hanya menyisipkan karakter unicode, meskipun tentu saja Anda bisa melakukannya.
-
\the\year menampilkan tahun saat ini dari jam sistem komputer Anda, sebagai teks.
-
\ (garis miring spasi) menampilkan spasi. Tanpa ini, spasi setelah tahun hanya akan menandai akhir dari \year dan diabaikan, sehingga Anda akan mendapatkan 2023My (tahun ini)
Have you ever been almost ready to print when you realised it wasn’t December any more, and you needed to increase the year? (Or worse, did you notice that after it came off the printer?) Did you wish your computer could do it for you?
You could put something like this in the copyright field in PTXprint (basic tab, on full view):
© 2019\endash\the\year\ My Publishing Organisation
-
\endash is an en-dash, U+2013, which looks better than just a hyphen. Using the macro is easier to identify / type from some example code on a webpage than just inserting the unicode character, though of course you could do that.
-
\the\year outputs the current year from your computer’s system clock, as text.
-
\ (slash space) outputs a space. Without it, the space after year would just mark the end of \year and get ignored, and you’d end up with 2023My (this year)
Diterjemahkan secara otomatis dari English