你是否曾經在即將列印時,才意識到已經不是十二月了,因此需要更新年份?(或者更糟的是,你是在印出來之後才發現的嗎?)你是否希望電腦能自動幫你處理這件事?
你可以在 PTXprint 的版權欄位(基本分頁,完整檢視模式)中輸入類似以下內容:
© 2019\endash\the\year\ My Publishing Organisation
\endash 是 en-dash(短破折號),Unicode 編碼為 U+2013,看起來比一般的連字號(hyphen)更美觀。使用這個宏比直接從網頁範例中插入 Unicode 字元更容易識別和輸入,當然你也可以直接插入該字元。
\the\year 會以文字形式輸出你電腦系統時鐘顯示的當前年份。
\ (斜線加空格)會輸出一個空格。如果沒有它,年份後的空格只會被視為 \year 的結尾並被忽略,最終結果會變成 2023My(以今年為例)。
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)
機器翻譯自 English 顯示原文