From 3e670d309875dc81c6e2ca974e5016b990a0bcc5 Mon Sep 17 00:00:00 2001 From: Fan Hongtao Date: Thu, 10 Oct 2024 20:12:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E4=B8=AD=E5=8C=96=E5=AD=A6=20?= =?UTF-8?q?=E5=85=A8=E4=B8=80=E5=86=8C=20=E9=99=84=E5=BD=95=20III=20?= =?UTF-8?q?=E5=85=83=E7=B4=A0=E5=91=A8=E6=9C=9F=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pic-pdf/czhx1-periodictable.tex | 19 ++ chuzhong-huaxue-1/pic-pdf/pgfPT.lang.nl.tex | 269 ++++++++++++++++++ chuzhong-huaxue-1/pic-pdf/readme.md | 15 + chuzhong-huaxue-1/src/czhx1-styles.tex | 2 + .../src/units/czhx1-appendix-3.tex | 6 + chuzhong-huaxue-1/src/units/czhx1-fulu.tex | 1 + 6 files changed, 312 insertions(+) create mode 100644 chuzhong-huaxue-1/pic-pdf/czhx1-periodictable.tex create mode 100644 chuzhong-huaxue-1/pic-pdf/pgfPT.lang.nl.tex create mode 100644 chuzhong-huaxue-1/pic-pdf/readme.md create mode 100644 chuzhong-huaxue-1/src/units/czhx1-appendix-3.tex diff --git a/chuzhong-huaxue-1/pic-pdf/czhx1-periodictable.tex b/chuzhong-huaxue-1/pic-pdf/czhx1-periodictable.tex new file mode 100644 index 0000000..f1edacd --- /dev/null +++ b/chuzhong-huaxue-1/pic-pdf/czhx1-periodictable.tex @@ -0,0 +1,19 @@ +\documentclass[UTF8, 11pt, oneside]{ctexart} +\usepackage{CJKfntef} +\usepackage[height=22.2cm]{geometry} + +\usepackage{fontspec} +\usepackage{lscape} +\usepackage[userlang=nl]{pgf-PeriodicTable} +\usepackage[graphics,tightpage,active]{preview} + +\xeCJKsetup{AutoFallBack=true} +\setCJKmainfont{SimSun}[FallBack=SimSun-ExtB] + +\begin{document} +\PreviewEnvironment{landscape} +\begin{landscape} + \pgfPT[show title=false] +\end{landscape} + +\end{document} diff --git a/chuzhong-huaxue-1/pic-pdf/pgfPT.lang.nl.tex b/chuzhong-huaxue-1/pic-pdf/pgfPT.lang.nl.tex new file mode 100644 index 0000000..0a67a12 --- /dev/null +++ b/chuzhong-huaxue-1/pic-pdf/pgfPT.lang.nl.tex @@ -0,0 +1,269 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% -------------------------------------------------------------------------------------------------- +% subfile of pgf-PeriodicTable package ---------------------------------------------------------- +% -------------------------------------------------------------------------------------------------- +% +% Translation file for Chinese +% Author: Fan Hongtao @2024/01/21 +% +% -------------------------------------------------------------------------------------------------- +% This is file pgfPT.lang.zh.tex +% Version: 1 +% Revision: 0 +% Date: 2024/02/10 +% Provides translation of data used +% in pgf-PeriodicTable files +% Language: Chinese +% ISO 639-1 code: zh +% ---------------------------- +\def\pgfPT@user@labels@titulo{化学元素周期表}% +% ---------------------------- +\def\pgfPT@user@labels@La{镧系元素}% +\def\pgfPT@user@labels@Ac{锕系元素}% +% ---------------------------- +\def\pgfPT@user@labels@solido{固态}% +\def\pgfPT@user@labels@liquido{液态}% +\def\pgfPT@user@labels@gasoso{气态}% +\def\pgfPT@user@labels@sintetico{人造}% +% ---------------------------- +% labels for legend +\def\pgfPT@user@labels@Z{原子序数}% +\def\pgfPT@user@labels@name{元素名称}% +\def\pgfPT@user@labels@CS{元素符号}% +\def\pgfPT@user@labels@Ar@m{相对原子质量}% +\def\pgfPT@user@labels@Arstar@m{Standaard Relatieve Atoommassa}% +\def\pgfPT@user@labels@Ar@w{Gemiddelde Atoommassa}% +\def\pgfPT@user@labels@Arstar@w{Standaard Gemiddelde Atoommassa}% +\def\pgfPT@user@labels@radio{放射性}% +\def\pgfPT@user@labels@R{Atoomstraal}% +\def\pgfPT@user@labels@Rcov{Covalente Straal}% +\def\pgfPT@user@labels@Rion{Ionstraal}% +\def\pgfPT@user@labels@Ei{Ionisatie-energie}% +\def\pgfPT@user@labels@eneg{Elektronegativiteit}% +\def\pgfPT@user@labels@eaff{Elektronenaffiniteit}% +\def\pgfPT@user@labels@O{Oxidatietrappen}% +\def\pgfPT@user@labels@Tmelt{Smeltpunt}% +\def\pgfPT@user@labels@TmeltC{Smeltpunt}% +\def\pgfPT@user@labels@Tboil{Kookpunt}% +\def\pgfPT@user@labels@TboilC{Kookpunt}% +\def\pgfPT@user@labels@eDist{Elektronenverdeling}% +\def\pgfPT@user@labels@eConfig{Elektronenconfiguratie}% +\def\pgfPT@user@labels@d{Dichtheid}% +\def\pgfPT@user@labels@Cp{Specifieke Warmtecapaciteit}% +\def\pgfPT@user@labels@kT{Thermische Geleidbaarheid}% +\def\pgfPT@user@labels@ls{Roosterstructuur}% +\def\pgfPT@user@labels@lsa{Roosterparameter: a}% +\def\pgfPT@user@labels@lsb{Roosterparameter: b}% +\def\pgfPT@user@labels@lsc{Roosterparameter: c}% +\def\pgfPT@user@labels@lsca{Verhouding roosterparameters c/a}% +\def\pgfPT@user@labels@DiscY{Jaar van Ontdekking}% +% Before Christ acronym: +\def\pgfPT@user@labels@BC{VC}% +\def\pgfPT@user@labels@DiscC{Land van Ontdekking}% +\def\pgfPT@user@labels@spectra{Emissiespectrum}% +% ---------------------------- +% acronym to use in legend +% for 'Name' +\def\pgfPT@user@acr@name{N}% +% for 'Chemical Symbol' +\def\pgfPT@user@acr@CS{CS}% +% for 'Radioactive' +\def\pgfPT@user@acr@radio{Ra}% +% for 'Melting Point' +\def\pgfPT@user@acr@Tmelt{Smeltpt}% +% for 'Boiling Point' +\def\pgfPT@user@acr@Tboil{Kookpt}% +% for 'Electron Distribution' +\def\pgfPT@user@acr@eDist{ev}% +% for 'Electronic Configuration' +\def\pgfPT@user@acr@eConfign{ec}% +% for 'Lattice Structure' +\def\pgfPT@user@acr@ls{rs}% +% for 'Lattice constant: a' +\def\pgfPT@user@acr@lsa{rs a}% +% for 'Lattice constant: b' +\def\pgfPT@user@acr@lsb{rs b}% +% for 'Lattice constant: c' +\def\pgfPT@user@acr@lsc{rs c}% +% for 'Lattice c/a ratio' +\def\pgfPT@user@acr@lsca{rs ca}% +% for 'Year of Discovery' +\def\pgfPT@user@acr@DiscY{jo}% +% for 'Country of Discovery' +\def\pgfPT@user@acr@DiscC{lo}% +% for 'Emission Spectrum' +\def\pgfPT@user@acr@spectra{es}% +% ---------------------------- +% blocks +\def\pgfPT@user@labels@blocos{s-blok}% +\def\pgfPT@user@labels@blocop{p-blok}% +\def\pgfPT@user@labels@blocod{d-blok}% +\def\pgfPT@user@labels@blocof{f-blok}% +% ---------------------------- +\def\pgfPT@user@labels@blocor{REPRESENTATIEVE ELEMENTEN}% +\def\pgfPT@user@labels@blocot{TRANSITIEMETALEN}% +\def\pgfPT@user@labels@blocoi{INWENDIGE TRANSITIEMETALEN}% +% ---------------------------- +% periodic variations +\def\pgfPT@user@labels@Raum{De atoomstraal neemt toe binnen de groep}% +\def\pgfPT@user@labels@Rdim{De atoomstraal neemt af binnen de periode}% +\def\pgfPT@user@labels@Eiaum{De ionisatie-energie neemt toe binnen de periode}% +\def\pgfPT@user@labels@Eidim{De ionisatie-energie neemt af binnen de groep}% +\def\pgfPT@user@labels@eaffaum{De elektronenaffiniteit neemt toe binnen de periode}% +\def\pgfPT@user@labels@eaffdim{De elektronenaffiniteit neemt af binnen de groep}% +% ---------------------------- +% lattice structure: +\def\pgfPT@user@labels@ls@bcc{kubisch I-gecenterd}% +\def\pgfPT@user@labels@ls@bcort{orthorhombisch C-gecenterd}% +\def\pgfPT@user@labels@ls@ctetr{tetragonaal I-gecenterd}% +\def\pgfPT@user@labels@ls@dia{diamant}% +\def\pgfPT@user@labels@ls@fcc{kubisch F-gecenterd}% +\def\pgfPT@user@labels@ls@fcort{orthorombisch F-gecenterd}% +\def\pgfPT@user@labels@ls@hcp{hexagonale dichtste bolstapeling}% +\def\pgfPT@user@labels@ls@hex{hexagonaal}% +\def\pgfPT@user@labels@ls@mono{monoklien}% +\def\pgfPT@user@labels@ls@rho{rhombo\"{e}drisch}% +\def\pgfPT@user@labels@ls@sc{kubisch primitief}% +\def\pgfPT@user@labels@ls@tric{triklien}% +\def\pgfPT@user@labels@ls@tetr{tetragonaal}% +% ---------------------------- +% element names +\def\pgfPT@user@CSname@H{氢}% +\def\pgfPT@user@CSname@He{氦}% +\def\pgfPT@user@CSname@Li{锂}% +\def\pgfPT@user@CSname@Be{铍}% +\def\pgfPT@user@CSname@B{硼}% +\def\pgfPT@user@CSname@C{碳}% +\def\pgfPT@user@CSname@N{氮}% +\def\pgfPT@user@CSname@O{氧}% +\def\pgfPT@user@CSname@F{氟}% +\def\pgfPT@user@CSname@Ne{氖}% +\def\pgfPT@user@CSname@Na{钠}% +\def\pgfPT@user@CSname@Mg{镁}% +\def\pgfPT@user@CSname@Al{铝}% +\def\pgfPT@user@CSname@Si{硅}% +\def\pgfPT@user@CSname@P{磷}% +\def\pgfPT@user@CSname@S{硫}% +\def\pgfPT@user@CSname@Cl{氯}% +\def\pgfPT@user@CSname@Ar{氩}% +\def\pgfPT@user@CSname@K{钾}% +\def\pgfPT@user@CSname@Ca{钙}% +\def\pgfPT@user@CSname@Sc{钪}% +\def\pgfPT@user@CSname@Ti{钛}% +\def\pgfPT@user@CSname@V{钒}% +\def\pgfPT@user@CSname@Cr{铬}% +\def\pgfPT@user@CSname@Mn{锰}% +\def\pgfPT@user@CSname@Fe{铁}% +\def\pgfPT@user@CSname@Co{钴}% +\def\pgfPT@user@CSname@Ni{镍}% +\def\pgfPT@user@CSname@Cu{铜}% +\def\pgfPT@user@CSname@Zn{锌}% +\def\pgfPT@user@CSname@Ga{镓}% +\def\pgfPT@user@CSname@Ge{锗}% +\def\pgfPT@user@CSname@As{砷}% +\def\pgfPT@user@CSname@Se{硒}% +\def\pgfPT@user@CSname@Br{溴}% +\def\pgfPT@user@CSname@Kr{氪}% +\def\pgfPT@user@CSname@Rb{铷}% +\def\pgfPT@user@CSname@Sr{锶}% +\def\pgfPT@user@CSname@Y{钇}% +\def\pgfPT@user@CSname@Zr{锆}% +\def\pgfPT@user@CSname@Nb{铌}% +\def\pgfPT@user@CSname@Mo{钼}% +\def\pgfPT@user@CSname@Tc{锝}% +\def\pgfPT@user@CSname@Ru{钌}% +\def\pgfPT@user@CSname@Rh{铑}% +\def\pgfPT@user@CSname@Pd{钯}% +\def\pgfPT@user@CSname@Ag{银}% +\def\pgfPT@user@CSname@Cd{镉}% +\def\pgfPT@user@CSname@In{铟}% +\def\pgfPT@user@CSname@Sn{锡}% +\def\pgfPT@user@CSname@Sb{锑}% +\def\pgfPT@user@CSname@Te{碲}% +\def\pgfPT@user@CSname@I{碘}% +\def\pgfPT@user@CSname@Xe{氙}% +\def\pgfPT@user@CSname@Cs{铯}% +\def\pgfPT@user@CSname@Ba{钡}% +\def\pgfPT@user@CSname@La{镧}% +\def\pgfPT@user@CSname@Ce{铈}% +\def\pgfPT@user@CSname@Pr{镨}% +\def\pgfPT@user@CSname@Nd{钕}% +\def\pgfPT@user@CSname@Pm{钷}% +\def\pgfPT@user@CSname@Sm{钐}% +\def\pgfPT@user@CSname@Eu{铕}% +\def\pgfPT@user@CSname@Gd{钆}% +\def\pgfPT@user@CSname@Tb{铽}% +\def\pgfPT@user@CSname@Dy{镝}% +\def\pgfPT@user@CSname@Ho{钬}% +\def\pgfPT@user@CSname@Er{铒}% +\def\pgfPT@user@CSname@Tm{铥}% +\def\pgfPT@user@CSname@Yb{镱}% +\def\pgfPT@user@CSname@Lu{镥}% +\def\pgfPT@user@CSname@Hf{铪}% +\def\pgfPT@user@CSname@Ta{钽}% +\def\pgfPT@user@CSname@W{钨}% +\def\pgfPT@user@CSname@Re{铼}% +\def\pgfPT@user@CSname@Os{锇}% +\def\pgfPT@user@CSname@Ir{铱}% +\def\pgfPT@user@CSname@Pt{铂}% +\def\pgfPT@user@CSname@Au{金}% +\def\pgfPT@user@CSname@Hg{汞}% +\def\pgfPT@user@CSname@Tl{铊}% +\def\pgfPT@user@CSname@Pb{铅}% +\def\pgfPT@user@CSname@Bi{铋}% +\def\pgfPT@user@CSname@Po{钋}% +\def\pgfPT@user@CSname@At{砹}% +\def\pgfPT@user@CSname@Rn{氡}% +\def\pgfPT@user@CSname@Fr{钫}% +\def\pgfPT@user@CSname@Ra{镭}% +\def\pgfPT@user@CSname@Ac{锕}% +\def\pgfPT@user@CSname@Th{钍}% +\def\pgfPT@user@CSname@Pa{镤}% +\def\pgfPT@user@CSname@U{铀}% +\def\pgfPT@user@CSname@Np{镎}% +\def\pgfPT@user@CSname@Pu{钚}% +\def\pgfPT@user@CSname@Am{镅}% +\def\pgfPT@user@CSname@Cm{锔}% +\def\pgfPT@user@CSname@Bk{锫}% +\def\pgfPT@user@CSname@Cf{锎}% +\def\pgfPT@user@CSname@Es{锿}% +\def\pgfPT@user@CSname@Fm{镄}% +\def\pgfPT@user@CSname@Md{钔}% +\def\pgfPT@user@CSname@No{锘}% +\def\pgfPT@user@CSname@Lr{铹}% +\def\pgfPT@user@CSname@Rf{𬬻}% +\def\pgfPT@user@CSname@Db{𬭊}% +\def\pgfPT@user@CSname@Sg{𬭳}% +\def\pgfPT@user@CSname@Bh{𬭛}% +\def\pgfPT@user@CSname@Hs{𬭶}% +\def\pgfPT@user@CSname@Mt{鿏}% +\def\pgfPT@user@CSname@Ds{𫟼}% +\def\pgfPT@user@CSname@Rg{𬬭}% +\def\pgfPT@user@CSname@Cn{鿔}% +\def\pgfPT@user@CSname@Nh{鿭}% +\def\pgfPT@user@CSname@Fl{𫓧}% +\def\pgfPT@user@CSname@Mc{镆}% +\def\pgfPT@user@CSname@Lv{𫟷}% +\def\pgfPT@user@CSname@Ts{鿬}% +\def\pgfPT@user@CSname@Og{鿫}% +% ---------------------------- +% Country (or Region) names +\def\pgfPT@user@country@AM{Klein-Azi\"{e}}% +\def\pgfPT@user@country@au{Oostenrijk}% +\def\pgfPT@user@country@dn{Denemarken}% +\def\pgfPT@user@country@eg{Egypte}% +\def\pgfPT@user@country@fl{Finland}% +\def\pgfPT@user@country@fr{Frankrijk}% +\def\pgfPT@user@country@de{Duitsland}% +\def\pgfPT@user@country@it{Itali\"{e}}% +\def\pgfPT@user@country@ME{Midden-Oosten}% +\def\pgfPT@user@country@pe{Peru}% +\def\pgfPT@user@country@ro{Roemeni\"{e}}% +\def\pgfPT@user@country@ru{Rusland}% +\def\pgfPT@user@country@es{Spanje}% +\def\pgfPT@user@country@sw{Zweden}% +\def\pgfPT@user@country@ch{Zwitserland}% +\def\pgfPT@user@country@uk{Verenigd Koninkrijk}% +\def\pgfPT@user@country@us{Verenigde Staten}% +\def\pgfPT@user@country@mx{Mexico}% +\endinput% diff --git a/chuzhong-huaxue-1/pic-pdf/readme.md b/chuzhong-huaxue-1/pic-pdf/readme.md new file mode 100644 index 0000000..b02d9e5 --- /dev/null +++ b/chuzhong-huaxue-1/pic-pdf/readme.md @@ -0,0 +1,15 @@ + +* [czhx1-periodictable.tex]: 生成元素周期表的 TeX 代码 +* [pgfPT.lang.nl.tex]: 生成 “元素周期表” 时,供 [pgf-PeriodicTable](https://ctan.org/pkg/pgf-periodictable) 宏包使用的语言包。 + +由于 `pgf-PeriodicTable` 宏包暂不支持中文,所以先**借用**宏包已经提供的一个语言包 `pgfPT.lang.nl.tex`,将其(部分)内容修改成中文后,存放在这里。 + +在编译 `czhx1-periodictable.tex` 前,需要将 `pgfPT.lang.nl.tex` 拷贝到 `translations` 目录下,覆盖原有的文件。 + +> 1. 在我的电脑上,`pgf-PeriodicTable` 宏包的语言包对应的目录为:`C:\texlive\2024\texmf-dist\tex\latex\pgf-periodictable\translations`。
+> 2. 拷贝前,可以先备份 `translations` 目录下的 `pgfPT.lang.nl.tex` 文件。 + + +等 `pgf-PeriodicTable` 宏包自身支持提供了中文的语言包后,就可以删除 `pgfPT.lang.nl.tex`,并将 `czhx1-periodictable.tex]` 修改为使用中文的语言包。 + + diff --git a/chuzhong-huaxue-1/src/czhx1-styles.tex b/chuzhong-huaxue-1/src/czhx1-styles.tex index 7d3d904..7db5ec1 100644 --- a/chuzhong-huaxue-1/src/czhx1-styles.tex +++ b/chuzhong-huaxue-1/src/czhx1-styles.tex @@ -31,6 +31,8 @@ \usepackage{hyperref} \hypersetup{colorlinks=true, linkcolor=red} +\usepackage{lscape} + \usepackage{scalerel} \usepackage{tabularray} diff --git a/chuzhong-huaxue-1/src/units/czhx1-appendix-3.tex b/chuzhong-huaxue-1/src/units/czhx1-appendix-3.tex new file mode 100644 index 0000000..f686da7 --- /dev/null +++ b/chuzhong-huaxue-1/src/units/czhx1-appendix-3.tex @@ -0,0 +1,6 @@ +\begin{landscape} + \centering + \chapter{元素周期表}\label{app:3} + \includegraphics{../pic-pdf/czhx1-periodictable.pdf} +\end{landscape} + diff --git a/chuzhong-huaxue-1/src/units/czhx1-fulu.tex b/chuzhong-huaxue-1/src/units/czhx1-fulu.tex index c8ad227..bd9ff2e 100644 --- a/chuzhong-huaxue-1/src/units/czhx1-fulu.tex +++ b/chuzhong-huaxue-1/src/units/czhx1-fulu.tex @@ -11,4 +11,5 @@ \input{units/czhx1-appendix-1} \input{units/czhx1-appendix-2} +\input{units/czhx1-appendix-3}