Commit e4d8722
Changed files (5)
assets
pages
template
utils
assets/xmu-zi-jiageng.svg
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+
+<svg version="1.1" id="svg2" width="533.33417" height="145.65753" viewBox="0 0 533.33417 145.65753"
+ xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
+ <defs id="defs6" />
+ <g id="g8" transform="matrix(1.3333333,0,0,-1.3333333,0,145.65753)">
+ <g id="g10">
+ <path
+ d="m 1.906,4.435 c 2.77,4.812 5.375,10.175 7.91,14.554 3.704,6.731 6.938,13.68 9.7,20 4.375,10.867 7.879,20.442 10.664,30.492 0.562,2.036 0.586,3.414 0.48,3.606 -0.59,1.047 -0.367,4.641 0.461,8.043 l 0.715,2.941 h 1.098 c 1.273,0 1.449,-0.152 3.574,-3.129 2.18,-3.054 2.765,-3.308 6.691,-2.91 7.645,0.711 14.313,3.168 21.703,5.274 3.821,1.043 7.032,3.75 11.196,3.816 3.5,-0.031 4.547,-0.336 6.015,-1.746 1.703,-1.637 1.989,-2.625 1.164,-4.035 -1.152,-1.977 -2.672,-2.449 -8.007,-2.496 -5.832,-0.051 -6.34,-0.262 -8.231,-3.45 -1.859,-2.75 -1.723,-2.742 -0.078,-5.609 h 3.812 c 3.68,-0.004 3.895,-0.047 6.168,-1.18 2.766,-1.378 2.973,-1.82 1.696,-4.918 -1.024,-2.488 -0.844,-9.582 -0.242,-12.218 0.457,-2.004 0.039,-4.102 -1.168,-5.817 -0.817,-1.16 -1.364,-1.511 -3.567,-2.285 -3.547,-1.242 -7.476,-3.437 -7.476,-4.172 0,-0.89 2.933,-1.906 6.265,-2.168 2.656,-0.207 2.977,-0.308 3.77,-1.211 1.07,-1.226 2.906,-4.589 2.906,-5.332 0,-0.765 -1.195,-3.117 -2.406,-4.929 -0.703,-1.039 -1.379,-2.129 -2.535,-3.231 -1.918,-1.887 -0.059,-2.277 3.25,-4.125 1.449,-0.855 2.847,-1.566 6.851,-3.015 2.856,-1.036 5.727,-1.836 7.305,-2.36 3.289,-1.082 6.621,-1.281 9.375,-3.101 l 0.73,-0.68 -0.777,-0.824 C 97.066,5.329 93.152,4.56 89.25,3.009 87.168,2.302 85.527,2.259 83.316,2.079 l -3.011,2.543 c -4.262,3.293 -8.067,5.922 -11.078,8.164 -1.536,0.984 -3.305,2.938 -5.106,2.977 -1.488,0 -5.824,-2.778 -8.105,-4.356 -1.481,-1.023 -2.25,-1.375 -3.864,-2.094 -2.718,-1.089 -5.23,-2.152 -8.504,-2.492 -1.722,0.141 -1.996,1.188 -0.593,2.266 0.519,0.398 1.777,1.375 2.793,2.168 1.015,0.793 3.101,2.297 4.629,3.344 3.878,2.644 5.886,4.175 5.55,5.851 -0.226,1.113 -0.226,1.184 -1.172,2.586 -1.351,2.012 -1.906,2.383 -3.117,2.078 -0.918,-0.23 -1.258,-0.531 -4.133,-3.636 -1.695,-1.836 -5.648,-4.211 -7.503,-4.508 -1.219,-0.196 -1.313,-0.153 -1.313,0.597 0,0.442 0.566,1.512 1.262,2.379 0.691,0.864 2.168,2.817 3.277,4.34 1.11,1.52 2.649,3.516 3.426,4.43 2.277,2.683 2.277,4.25 0.004,4.262 -1.27,0.007 -4.457,2.386 -4.75,3.542 -0.395,1.571 0.07,2.122 2.992,3.536 1.543,0.746 2.91,1.617 3.039,1.929 0.129,0.317 0.281,5.539 0.34,11.602 0.117,12.414 0.051,12.09 2.668,13.426 1.875,0.957 5.641,4.586 6.387,6.16 0.582,1.09 0.25,2.777 -1.137,2.832 C 53.996,75.794 43.387,71.29 43.223,70.603 40.93,65.528 37.422,55.087 34.98,46.438 32.543,37.79 30.82,31.134 25.512,22.263 22.84,17.829 21.57,15.524 18.379,10.638 16.453,7.692 11.438,2.985 9.574,2.079 7.711,1.177 5.391,0.286 3.238,0.087 -1.398,-0.351 -0.316,0.86 1.906,4.435 Z m 63.61,21.031 c 2.148,1.426 2.894,2.211 3.566,3.762 1.543,3.562 0.164,5.746 -3.988,6.296 -1.336,0.176 -1.922,0.09 -2.742,-0.39 -1.321,-1.004 -2.118,-2.551 -3.059,-3.582 -1.109,-1.211 -2.016,-2.414 -2.016,-2.676 0,-0.813 5.028,-4.281 6.223,-4.293 0.375,-0.004 1.281,0.395 2.016,0.883 z m -2.528,19.668 c 6.246,1.687 6.328,1.582 6.457,2.957 0.227,2.355 -0.476,2.508 -3.156,2.015 -1.199,-0.222 -2.816,-0.781 -4.008,-1.136 -0.82,-0.242 -1.988,-0.86 -2.469,-0.957 -2.042,-0.422 -3.691,-2.008 -1.789,-3.547 0.504,-0.406 1.141,-0.367 4.965,0.668 z m 4.028,8.722 c 2.546,-0.16 2.968,0.207 3.179,0.422 0.731,0.727 0.36,2.496 0.364,4.535 0.003,0.895 -0.411,1.954 -0.524,2.629 -0.117,0.672 -0.469,2.028 -0.738,2.25 -0.738,0.614 -8.723,0.957 -11.082,0.856 -2.168,-0.047 -2.016,-0.363 -2.02,-1.543 -0.007,-1.41 -0.226,-1.649 1.903,-1.719 l 3.531,-0.023 c 5.469,-0.039 6.738,-0.071 6.738,-1.516 0,-1.551 -1.758,-2.191 -6.797,-2.992 -3.808,-0.606 -4.508,-0.461 -4.414,-2.356 0.059,-1.218 0.836,-1.582 4.063,-1.191 2.019,0.172 3.746,0.539 5.797,0.648 z M 348.457,5.419 c -2.535,2.785 -3.648,3.715 -5.375,5.601 -1.297,1.415 -3,4.426 -4.652,7.243 3.125,-1.778 8.246,-4.09 12.515,-4.676 4.442,-0.231 5.688,5.91 6.008,9.891 0.617,7.351 0.402,7.917 -0.754,8.851 -2.191,2.043 -3.449,2.328 -8.457,0.559 -3.5,-1.235 -7.312,-2.321 -10.633,-4.032 -1.156,-0.593 -4.379,-0.535 -5.199,0.258 -3.305,3.176 -6.398,5.399 -6.398,5.766 0,0.723 1.465,1.457 2.875,1.445 4.031,-0.039 15.769,0.723 17.742,1.153 3.785,0.542 7.66,0.625 11.215,1.917 1.179,0.446 1.855,2.102 1.586,3.903 0.101,1.781 -0.504,2.394 -1.914,2.832 -0.469,0.289 -0.5,0.851 -0.243,3.305 0.207,1.953 0.188,2.98 -0.058,3.277 -2.406,2.078 -5.613,-1.793 -6.492,-2.766 -1.098,-1.222 -1.184,-1.687 -2.649,-1.468 -2.074,0.82 -6.058,3.363 -6.492,5.816 0.098,0.258 1.098,0.605 2.301,0.801 5.801,1.511 9.293,2.461 14.91,3.582 1.418,0.265 1.465,0.496 3.043,-0.004 2.242,-0.707 3.055,-0.977 4.258,-2.098 1.336,-1.246 1.199,-2.187 -0.481,-3.32 -2.535,-1.707 -5.785,-4.996 -5.547,-5.617 0.122,-0.309 1.227,-1.016 2.461,-1.571 2.469,-1.105 3.36,-1.597 3.305,-3.25 -0.074,-2.359 0.477,-1.828 4.02,-1.461 4.71,0.622 8.793,2.313 13.621,1.211 2.218,-1.804 2.597,-4.422 4.148,-6.605 0.879,-1.215 0.516,-2.234 -0.875,-2.461 -5.187,-0.762 -9.445,0.344 -14.418,0.898 -1.625,0.176 -2.633,0.114 -4.187,-1.027 -1.071,-0.785 -1.664,-1.555 -1.883,-2.246 -0.547,-1.762 -1.141,-6.082 -1.285,-9.77 -0.11,-2.562 -0.391,-4.418 -0.672,-6.285 -0.449,-3.004 -2.426,-6.84 -4.793,-9.297 -1.539,-1.421 -4.11,-3.328 -5.891,-3.382 -1.578,0 -1.672,0.062 -4.66,3.027 z m -170.398,7.082 c -1.512,0.144 -3.293,0.496 -3.758,0.742 -0.465,0.242 -1.742,1.434 -3.039,2.68 -1.235,1.269 -2.641,1.992 -3.664,2.937 -2.817,1.961 -5.676,4.168 -7.801,6.442 -2.043,2.543 -0.461,2.156 1.617,1.515 0.684,-0.464 1.922,-1.011 2.754,-1.222 0.832,-0.207 2.57,-0.75 3.863,-1.203 1.289,-0.258 4.942,-0.762 6.614,-0.977 0.273,0.273 0.23,2.746 0.23,2.746 0.203,3.594 0.5,7.024 0.52,9.984 0.015,3.696 -0.067,8.219 0,9.61 0.328,7.219 -0.032,10.746 -4.676,9.859 -4.473,-0.855 -5.981,-2.144 -9.344,-0.984 -1.402,0.457 -2.91,1.066 -3.348,1.355 -1.175,0.77 -2.519,3.754 -2.539,5.707 -0.031,3.668 0.231,6.657 -0.203,10.45 -0.234,2.054 -0.437,3.695 -1.035,5.543 -0.266,0.464 -0.484,1.609 -0.492,2.546 -0.008,1.36 0.148,1.856 0.765,2.438 1.165,1.094 3.461,1.008 5.036,-0.191 1.457,-1.11 1.918,-2.247 1.921,-4.758 0.004,-1.035 0.137,-2.086 0.297,-2.336 0.883,-1.395 6.016,-0.676 8.153,-0.399 2.472,0.321 2.258,1.403 2.199,5.938 -0.031,2.496 -0.262,5.035 -0.445,5.234 -0.176,0.188 -1.969,0.238 -4.133,-0.074 -3.973,-0.574 -4.473,-0.348 -4.473,0.277 0,0.512 3.172,1.801 4.274,2.215 3.367,1.695 3.648,3.301 8.082,4.606 0.293,0.035 1.972,-0.864 3.492,-1.879 1.519,-1.02 3.504,-2.172 4.414,-2.563 1.437,-0.617 1.769,-0.957 2.551,-2.601 0,0 0.468,-1.293 0.472,-2.149 0.004,-0.855 -0.605,-2.871 -0.605,-2.871 -0.719,-5.555 -0.754,-9.855 -0.742,-13.887 0.027,-8.304 0.222,-15.867 0.476,-18.285 0.278,-8.711 0.352,-17.386 0.024,-26.047 0.172,-2.754 -0.371,-5.363 -1.375,-7.554 -1.106,-2.387 -1.45,-2.61 -2.668,-2.965 -0.243,0.027 -1.903,-0.027 -3.414,0.121 z m -8.735,48.707 c 3,0.125 4.801,-1.273 4.75,0.637 -0.07,1.773 -0.136,4.047 -0.277,5.925 -0.195,2.641 -1.301,1.598 -2.297,1.708 -0.801,0.085 -2.586,-0.266 -3.973,-0.356 -3.859,-0.25 -5.293,-0.531 -5.82,-1.133 -1.234,-1.41 -1.098,-5.687 0.207,-6.605 0.691,-0.485 3.02,-0.696 7.41,-0.176 z M 281.812,13.653 c -7.347,5.914 -13.636,13.977 -19.25,21.137 -2.726,3.477 -7.32,10.098 -9.851,12.441 -1.484,0.567 -4.094,-0.523 -5.617,-2.347 -2.395,-3.356 -4.606,-7.028 -6.957,-10.164 -1.797,-2.438 -8.711,-9.61 -11.496,-11.801 -1.457,-1.145 -5.477,-2.981 -8.004,-3.656 -3.813,-0.903 -10.742,-1.078 -13.11,1.226 3.18,2.578 8.008,4.051 11.332,7.266 4.356,4.101 9.145,8.238 12.551,12.789 1.524,2.305 5.563,5.777 5.695,7.777 0.141,2.082 -3.453,3.043 -7.316,3.039 -1.648,0.012 -3.844,-0.019 -4.543,0.157 -2.051,0.515 -4.187,2.226 -4.808,3.847 -3.227,6.071 -2.883,6.578 3.808,5.985 4.926,0.468 15.473,2.035 19.598,4.078 0.543,0.336 1.222,1.89 1.773,4.043 0.391,4.34 0.035,7.75 -0.047,11.75 0.184,5.996 -3.879,9.129 -6.285,9.445 0.004,0.164 2.383,1.316 2.86,2.852 0.953,3.039 1.187,4.503 4.273,4.211 6.176,-0.915 6.77,-0.993 8.621,-1.493 2.664,-0.715 3.602,-7.629 3.469,-10.125 -0.297,-5.515 -0.582,-9.222 -0.746,-9.711 -0.25,-0.75 0.332,-5.336 0.808,-5.73 4.16,0.019 8.137,2.07 12.571,2.316 2.625,0.606 6.789,-2 8.859,-3.093 2.672,-1.293 2.441,-1.008 2.41,-3.813 -0.023,-2.406 -0.07,-2.543 -1.234,-3.711 -2.02,-2.027 -3.309,-2.203 -5.805,-1.769 -3.984,0.597 -7.527,1.129 -11.715,-0.465 -2.066,-0.805 -3.25,-1.516 -3.582,-2.164 -2.683,-2.86 -1.219,-4.129 0.274,-6.067 3.48,-4.386 5.593,-6.324 9.355,-9.66 6.027,-5.348 8.692,-7.64 14.684,-11.441 4.441,-2.821 9.445,-5.754 14.398,-9.063 0.817,-0.633 1.445,-1.273 1.567,-1.668 -2.872,-2.418 -6.95,-2.855 -8.914,-3.769 -3.168,-1.469 -5.547,-2.106 -8.473,-2.985 -0.445,-0.136 -0.86,-0.015 -1.153,0.336 z m -163.558,4.035 c -2.945,1.633 -2.703,5.516 -2.656,9.051 0.121,1.309 0.25,6.387 0.285,11.285 0.058,8.532 1.179,18.645 1.219,19.832 0.168,4.856 0.371,8.739 0.64,13.446 0.574,4.765 -0.914,7.086 -3.551,10.648 -0.902,1.145 -0.621,2.176 0.375,3.113 2.813,1.09 5.52,3.04 8.016,1.325 1.578,-1.129 1.621,-1.16 2.953,-2.043 0.68,-0.453 1.625,-1.52 2.102,-1.52 2.258,0.25 4.136,1.676 5.98,2.621 0.906,0.481 1.965,1.071 2.625,1.574 1.981,1.516 3.395,2.43 3.766,2.43 0.191,0 1.129,-0.512 2.086,-1.133 0.953,-0.625 1.886,-1.195 2.074,-1.265 1.312,-0.512 2.883,-1.856 3.367,-2.879 0.481,-1.012 0.512,-1.414 0.188,-2.422 -0.215,-0.664 -0.762,-3.402 -1.215,-6.082 -0.453,-2.68 -0.996,-5.629 -1.211,-6.555 -0.223,-0.98 -0.375,-4.406 -0.359,-8.215 0.027,-7.136 -0.243,-8.57 -1.676,-8.929 -0.457,-0.117 -1.434,0.09 -2.332,0.484 -1.77,0.785 -4.051,0.945 -5.465,0.391 -1.801,-0.489 -3.469,-1.078 -5.145,-1.864 -2.82,-1.312 -2.765,-0.226 -2.675,-4.308 -0.149,-2.688 -0.27,-6.703 -0.083,-8.985 0.809,-9.511 0.696,-11.527 0.586,-12.203 -0.558,-3.34 -2.468,-9.289 -5.714,-9.121 -1.868,0.094 -2.879,0.602 -4.18,1.324 z m 14.547,39.18 c 1.781,0.68 4.402,2.652 5.109,3.856 0.465,0.785 0.711,1.777 0.711,2.855 0,1.399 -0.133,1.742 -0.848,2.211 -0.789,0.516 -1.367,0.707 -2.781,0.168 -0.836,-0.32 -2.465,-0.426 -3.91,-0.668 -3.535,-0.602 -3.891,-1.293 -3.891,-3.613 0,-1.574 1.329,-4.067 2.465,-4.625 1.27,-0.625 1.883,-0.66 3.145,-0.184 z m 2.758,14.379 c 0.793,0.356 1.906,1.289 2.601,2.184 1.098,1.406 1.203,1.718 1.047,3.097 -0.434,1.434 -1.086,3.727 -1.727,4.446 -0.875,0.98 -0.773,1.461 -5.558,0.433 -1.317,-0.281 -2.352,-0.426 -3.781,-0.605 -0.969,-0.117 -0.825,-0.41 -0.829,-2.215 0,-1.055 -0.128,-2.684 -0.117,-3.723 0.02,-1.851 0.383,-2.219 2.606,-3.375 1.922,-1.004 3.879,-1.086 5.758,-0.242 z M 320.73,48.032 c -1.175,0.973 -2.425,3.039 -3.062,4.028 -1.219,1.898 -1.832,7.425 -1.754,8.675 0.098,1.586 0.68,3.43 1.918,4.149 0.844,0.484 1.125,0.601 2.094,-0.793 1.902,-2.731 4.351,-4.906 6.043,-6.461 2.398,-2.141 2.343,-3.508 1.191,-5.766 -0.672,-1.531 -0.219,-3.074 -1.488,-3.613 -1.887,-0.789 -3.895,-0.875 -4.942,-0.219 z m 70.45,9.176 c -0.856,0.68 -2.778,0.719 -4.66,0.551 -2.563,-0.231 -3.832,-0.602 -1.961,1.066 0.429,0.387 1.425,1.469 1.621,2.18 0.343,1.246 -0.141,1.402 -1.262,2.383 -2.457,2.148 -4.645,3.207 -6.637,3.207 -7.929,0.054 -15.152,-0.078 -22.789,-1.571 -4.914,-0.625 -9.512,-1.91 -11.476,-2.472 -2.875,-0.817 -4.567,-2.895 -6.914,-3.199 -2.981,-0.372 -4.68,-0.04 -6.731,1.324 -1.992,1.32 -2.309,2.062 -1.078,2.453 2.418,0.765 2.23,0.703 4.148,1.453 3.172,1.492 2.321,4.184 2.207,5.809 -0.503,3.886 -0.574,7.707 -1.003,11.363 -0.442,3.75 -0.379,7.383 -1.543,9.918 -0.407,0.781 -0.868,1.703 -0.868,2.012 0,0.894 1.395,2.355 2.016,3.16 1.383,1.797 1.883,2.57 3.48,4.613 0.625,0.801 1.942,2.133 2.922,3.488 1.141,1.574 1.836,0.309 5.321,0.532 0.554,0.121 1.98,0.332 2.496,0.132 0.863,-0.328 0.922,-0.457 0.719,-1.621 -0.286,-1.597 0.042,-1.652 -2.676,-2.711 -1.5,-0.582 -3.504,-1.836 -4.371,-2.492 -1.391,-1.058 -4.071,-2.785 -3.778,-4.73 0.938,-2.625 2.516,-2.817 6.16,-2.965 4.457,-0.18 5.356,-1.043 4.407,-2.871 -0.383,-0.739 -1.328,-0.848 -2.645,-1.16 -2.027,-0.536 -3.465,-1.383 -5.34,-2.29 l -0.004,-2.218 c -0.007,-2.27 0.594,-2.949 1.446,-3.742 0.863,-0.801 2.504,-0.657 4.457,0.011 3.957,1.348 3.906,1.34 4.625,0.621 0.601,-0.601 0.394,-0.859 -0.016,-1.714 -1.422,-1.278 -3.723,-2.411 -5.152,-3.172 -0.996,-0.504 -1.852,-1.078 -3.071,-1.793 -1.042,-0.102 -0.746,-0.325 -0.839,-2.172 -0.051,-1.039 0.066,-2.301 0.257,-2.805 0.34,-0.894 0.137,-1.105 2.188,-0.914 2.762,0.246 10,1.316 13.992,1.93 5.707,0.879 8.125,1.133 14.75,1.488 4.238,-0.242 4.703,0.047 5.035,3.301 0.59,3.98 -0.777,3.777 -2.707,4.429 -0.672,0.188 -1.781,0.586 -2.027,0.883 -0.383,0.461 -0.336,0.633 0.336,1.176 1.965,1.246 3.758,-0.023 5.961,0.723 0.5,0.156 0.664,1.051 0.863,2.074 0.359,1.875 0.5,2.273 0.09,3.133 -0.379,0.793 -0.496,1.32 -2.777,2.219 -2.489,0.984 -2.809,1.367 -2.52,2.125 0.137,0.355 0.773,0.41 2.93,0.253 3.254,-0.242 3.312,-0.199 4.043,2.899 1.058,4.484 0.433,6.66 -1.93,6.738 -1.125,0.211 -4.941,-0.441 -5.211,0.707 -0.078,0.399 0.18,0.649 0.832,0.805 2.047,0.875 4.383,1.617 6.106,2.82 1.984,1.442 3.644,1.375 6.824,-0.265 4.496,-2.321 4.672,-2.594 3.144,-4.848 -4.14,-7.77 -7.203,-18.617 -8.234,-27.484 -0.688,-3.829 3.832,-4.317 5.781,-4.829 1.903,-0.492 4.149,-1.234 5.035,-0.91 2.899,1.098 1.899,-2.785 4.149,-5.594 1.851,-2.312 -0.395,-3.41 -1.871,-3.867 -2.379,-0.398 -4.18,-0.851 -6.25,0.43 z m -37.41,15.207 c 0.062,0.688 0.371,1.738 0.906,2.516 0.449,0.648 0.89,1.863 1.258,2.543 0.984,1.812 0.308,2.308 -0.403,3.769 -1.578,3.231 -3.148,0.539 -4.535,4.008 -0.383,1.465 -0.07,2.078 1.543,3.023 1.996,1.172 3.074,0.934 3.981,-0.839 0.914,-1.793 4.628,-4.125 6.093,-4.372 0.621,0 2.563,2.321 2.563,3.063 0,0.934 0.82,1.309 2.64,1.195 1.981,-0.121 2.313,-0.343 2.571,-1.746 0.215,-1.168 0.015,-1.488 -1.348,-2.187 -0.914,-0.465 -1.519,-0.778 -1.609,-2.493 -0.102,-1.871 0.422,-1.824 2.433,-4.226 1.93,-2.301 1.981,-3.453 1.981,-3.453 -1.981,0.054 -3.926,0.129 -5.606,0.89 -6.8,3.707 -7.715,-1.316 -12.468,-1.691 z M 33.16,89.45 c -2.078,0.699 -1.617,1.985 -2.269,3.582 -0.696,1.664 -0.641,3.571 0.129,4.524 0.578,0.711 0.98,0.8 4.453,0.976 3.386,0.387 7.394,1.098 10.375,1.844 3.574,0.281 6.476,2.098 9.746,2.512 3.734,1.058 7.609,1.101 11.094,2.32 3.691,0.719 6.757,1.074 10.589,-0.32 0.922,-0.352 2.309,-0.793 3.078,-0.981 2.379,-0.617 3.469,-2.551 3.477,-4.183 C 83.5,94.493 82.484,95.474 78.621,94.493 75.809,93.778 73.855,93.485 71.91,93.485 68.938,93.517 65.938,92.563 63.16,92.341 59.414,92.056 55.133,90.966 52.922,89.735 45.746,87.044 39.727,86.618 33.16,89.45 Z m 326.383,1.231 c -0.676,0.273 -0.309,1.328 0.91,3.269 1.774,2.828 0.945,3.344 -0.926,4.192 -2.004,0.91 -3.191,1.527 -3.336,1.957 -0.168,0.5 0.832,1.453 1.52,1.453 0.309,0 1.246,-0.551 2.199,-0.949 2.008,-0.829 3.418,-0.434 3.778,0.691 1.027,3.777 -0.336,3.851 0.832,5.285 2.183,3.168 2.535,3.199 4.437,1.707 1.25,-0.98 1.473,-2.379 1.723,-3.535 0.375,-1.746 -0.442,-2.914 -1.422,-4.684 -1.133,-2.047 -1.363,-2.023 0.047,-3.203 0.968,-0.98 1.254,-1.336 1.531,-2.738 0,0 -1.688,-0.129 -2.098,0 -1.426,0.453 -1.39,0.894 -2.336,0.23 -0.988,-0.699 -2.039,-1.457 -4.273,-2.8 -1.145,-0.688 -1.906,-1.149 -2.586,-0.875 z"
+ style="fill:#122e66;fill-opacity:1;fill-rule:nonzero;stroke:none" id="path12" />
+ </g>
+ </g>
+</svg>
\ No newline at end of file
pages/bachelor-cover.typ
@@ -0,0 +1,100 @@
+#import "../utils/datetime-display.typ": datetime-display-full
+#import "../utils/style.typ": 字号, 字体
+
+// 本科生封面
+#let bachelor-cover(
+ // documentclass 传入的参数
+ twoside: false,
+ fonts: (:),
+ info: (:),
+ // 其他参数
+ isdesign: false, // 是否为毕业设计
+ isminor: false, // 是否为辅修
+ datetime-display: datetime-display-full,
+) = {
+ // 1. 默认参数
+ fonts = 字体 + fonts
+ info = (
+ title: ("基于 Typst 的", "厦门大学本科毕业论文模板"),
+ title-en: "An XMU Undergraduate Thesis Template\nPowered by Typst",
+ grade: "20XX",
+ student-id: "1234567890",
+ author: "张三",
+ department: "某学院",
+ major: "某专业",
+ supervisor: ("李四", "教授"),
+ submit-date: datetime.today(),
+ ) + info
+
+ // 2. 对参数进行处理
+ // 2.1 如果是字符串,则使用换行符将标题分隔为列表
+ if type(info.title) == str {
+ info.title = info.title.split("\n")
+ }
+ if type(info.title-en) == str {
+ info.title-en = info.title-en.split("\n")
+ }
+ // 2.2 处理提交日期
+ if type(info.submit-date) == datetime {
+ info.submit-date = datetime-display(info.submit-date)
+ }
+
+ // 3. 内置辅助函数
+ let info-key-short(str) = {
+ box(width: 4.5em, str.codepoints().join(h(1fr)) + ":")
+ }
+ let info-key-long(str) = {
+ box(width: auto, str + ":")
+ }
+
+ // 4. 正式渲染
+ pagebreak(weak: true, to: if twoside { "odd" })
+
+ // 居中对齐
+ set align(center)
+
+ // 学校 LOGO
+ v(20pt)
+ image("../assets/xmu-zi-jiageng.svg", width: 208pt)
+ v(3em)
+
+ // 将中文之间的空格间隙从 0.25em 调整到 1em
+ text(size: 字号.小二, font: fonts.宋体, spacing: 400%, weight: "bold")[本 科 毕 业 #if isdesign [设 计] else [论 文]]
+ v(0pt)
+ if isminor { text(size: 字号.三号, font: fonts.宋体, weight: "bold")[(辅修)] }
+
+ v(2em)
+
+ text(size: 字号.二号, font: fonts.黑体, info.title.join("\n"))
+
+ v(1em)
+
+ text(size: 字号.三号, font: fonts.宋体, info.title-en.join("\n"), weight: "bold")
+
+ v(2em)
+
+ text(size: 字号.四号, font: fonts.宋体, grid(
+ align: (right, left),
+ columns: (1fr, 1fr),
+ row-gutter: 1.5em,
+ column-gutter: 1.5em,
+ info-key-short("姓名"),
+ info.author,
+ info-key-short("学号"),
+ info.student-id,
+ info-key-short("学院"),
+ info.department,
+ info-key-short("专业"),
+ info.major,
+ info-key-short("年级"),
+ info.grade + "级",
+ info-key-long("校内指导老师"),
+ info.supervisor.join(" "),
+ info-key-long("校外指导老师"),
+ if info.supervisor-outside != () { info.supervisor-outside.join(" ") },
+ ))
+
+ v(10em)
+
+ text(size: 字号.四号, font: fonts.宋体, info.submit-date)
+}
\ No newline at end of file
template/thesis.typ
@@ -6,6 +6,8 @@
twoside,
doc,
preface,
+ // 页面函数
+ cover,
) = documentclass(
twoside: true, // 双面模式,会加入空白页,便于打印
info: (
@@ -29,4 +31,6 @@
#show: doc
+#cover()
+
#show: preface
\ No newline at end of file
utils/datetime-display.typ
@@ -0,0 +1,22 @@
+// 部分取自 modern-nju-thesis
+
+// 显示中文日期
+#let datetime-display(date) = {
+ date.display("[year] 年 [month] 月 [day] 日")
+}
+
+// 显示全中文日期
+#let datetime-display-full(date) = {
+ let cap-nums = "〇一二三四五六七八九".codepoints()
+ str(date.year()).codepoints().map(n => cap-nums.at(n.to-unicode() - 48)).join()
+ "年"
+ numbering("一", date.month())
+ "月"
+ numbering("一", date.day())
+ "日"
+}
+
+// 显示英文日期
+#let datetime-en-display(date) = {
+ date.display("[month repr:short] [day], [year]")
+}
lib.typ
@@ -1,6 +1,7 @@
#import "layouts/doc.typ": doc
#import "layouts/preface.typ": preface
+#import "pages/bachelor-cover.typ": bachelor-cover
#import "utils/style.typ": 字体, 字号
// 使用函数闭包特性,通过 `documentclass` 函数类进行全局信息配置,然后暴露出拥有了全局配置的、具体的 `layouts` 和 `templates` 内部函数。
@@ -42,5 +43,12 @@
preface: (..args) => {
preface(twoside: twoside, ..args)
},
+ // 封面页
+ cover: (..args) => bachelor-cover(
+ twoside: twoside,
+ ..args,
+ fonts: fonts + args.named().at("fonts", default: (:)),
+ info: info + args.named().at("info", default: (:)),
+ ),
)
}