diff --git a/XmacsLabs/LCPU_arch.tm b/XmacsLabs/LCPU_arch.tm new file mode 100644 index 0000000..64a3f42 --- /dev/null +++ b/XmacsLabs/LCPU_arch.tm @@ -0,0 +1,309 @@ + + +> + +<\body> + + > + + <\big-table*> + <\wide-tabular> + ||||||||||||||||||||||||||||||||| + What you see + |<\cell> + What you type or click + |<\cell> + \; + >| + Renderer + |<\cell> + Editor + |<\cell> + Widget + >| + Typesetter + |<\cell> + \; + |<\cell> + \; + >| + Style Sheet + |<\cell> + Scheme API + |<\cell> + \; + >| + Data Model as a tree in scheme data + |<\cell> + \; + |<\cell> + Scheme API + >| + Standard S7 Scheme + |<\cell> + Qt Framework in C++ + |<\cell> + \; + >>> + + + \; + <|big-table*> + Architecture of GNU + + + <\itemize-dot> + Content Model: How does document stored and rendered? + + Code Structure: How is code organized? + + Example: What happens when we type in the editor? + + Ongoing Work: Can run in browser? + + |<\hidden> + <\tit> + + + + <\equation*> + x+y++ + + + A document can be serialized in formart:\ + + <\verbatim-code> + \\\equation*\ + + \ \ x+y+\frac\|1\|2\+\sqrt\|y+z\ + + \/equation*\ + + + or format: + + <\scm-code> + (equation* + + \ (document + + \ \ (concat "x+y+" (frac "1" "2") "+" (sqrt "y+z"))))\ + + |<\hidden> + > + + can load the document and store it as a tree in the memory: + + <\equation*> + ||||||1|2>|||>>>>> + + |<\hidden> + > + + The Typesetter converts the tree into graphical Boxes, which + contains rendering and other auxiliary information. e.g. physical + bounding boxes, computing the positions of cursors and selections, etc. + + <\equation*> + >||\>|)>|>|>>|>|)>|>>> + + |<\hidden> + > + + The last step is using render to draw the boxes: + + <\itemize-dot> + Qt implements the rendering on screen canvas + + Hummus PDF implements the export to PDF + + etc + + |<\hidden> + <\tit> + + + + ||>|gr-mode||gr-fill-color|black|gr-line-width|1ln|gr-frame|>|magnify|0.7071067807598522|gr-grid-aspect|||>|gr-grid-aspect-props|||>|gr-edit-grid||1>|gr-edit-grid-old||1>|gr-auto-crop|true||||>>||||>>||||||>>||||||>>| + routines from glue|>>| language|>>|>|>|||>>|||>>|||>>|||>>|||>>||>>||>>||>>||>>||>>||||>>||||>>||||>>||||>>||||>>||||>>||||>>||||>>||||>>|>>|>>||>>||>>||>>|||>>|||>>|||>>|>>>>|Schematic + organization of the API.> + |<\hidden> + > + + <\itemize> + C++ (Typesetter, UI Frameworks) + + Exported to Scheme via glue + + <\itemize-minus> + Operations on Data Model + + User Interface: Keyboard/Mouse events, Scheme bindings of Qt. + e.g.\ + + <\session|scheme|default> + <\input> + Scheme]\ + <|input> + (open-window) + + + + many others, you can find the full list in following files: + + <\itemize-arrow> + src/Scheme/Glue/build-glue-basic.scm + + src/Scheme/Glue/build-glue-editor.scm + + src/Scheme/Glue/build-glue-server.scm + + + + |<\hidden> + > + + <\itemize-dot> + provide frequently + used functionalities. Corresponding files can be found in following + folders: + + <\itemize-arrow> + TeXmacs/progs/kernel + + TeXmacs/progs/utils + + + are very similar, they + usually correspond to a particular type of content, e.g. + + <\itemize-arrow> + TeXmacs/progs/source + + TeXmacs/progs/math + + TeXmacs/progs/table + + + or correspond to a particular type of functionality, e.g. + + <\itemize-arrow> + TeXmacs/progs/fonts + + + |<\hidden> + > + + <\equation*> + \+x+y++ + + + <\itemize> + Qt UI Frameworks: Keyboard Press Event + + |>>>>> (C++: Cursor Path, Buffering Shortcuts) + + <\itemize> + | + tree changes>>>>> > + |>>>> > + |>>>> + + |>>>> (Menu/Tool Bars/Status Bars/Context Menu) + + + |<\hidden> + > + + (https://webassembly.org) + + <\quotation> + WebAssembly (abbreviated) is a + binary instruction format for a stack-based virtual machine. Wasm is + designed as a portable compilation target for programming languages, + enabling deployment on the web for client and server applications. + + + Webassembly is now shipped with all four major browser engines, it has + almost native performance. + + Emscripten is a toolchain for comipling C++ code to Wasm. + |<\hidden> + > + + Mogan has been successfully compiled to Wasm. + + Future improvements: + + <\itemize-dot> + make executable file and data file smaller to reduce loading time + + fix browser specific issues (some version of browser/ os has + rendering issue) + + add workarounds for functionalities that not directly supported + by Wasm (e.g. upload files, hyperlinks, clipboard etc.) + + more + + > + + +<\initial> + <\collection> + + + + + + + + + +<\references> + <\collection> + > + > + + + +<\auxiliary> + <\collection> + <\associate|figure> + |1>||Schematic + organization of the |font-shape||Scheme> + API.>|> + + <\associate|table> + <\tuple|normal> + Architecture of GNU T|E>||||0.5fn>|0fn|-0.1fn>>XACS||||0.5fn>|0fn|-0.1fn>> + > + + + \ No newline at end of file diff --git a/XmacsLabs/LCPU_graphics.tm b/XmacsLabs/LCPU_graphics.tm new file mode 100644 index 0000000..10f43e6 --- /dev/null +++ b/XmacsLabs/LCPU_graphics.tm @@ -0,0 +1,201 @@ + + +> + +<\body> + <\hide-preamble> + >>>>>> + + + + >> + > + > + + + + >> + > + > + + >>>>> + + >>>> + + + + <\title-slide|Graphics> + <\padded-right-aligned> + + + USTCLUG Salon> + + 27 Nov. 2022 + + + \; + + |<\hidden> + <\section-slide> + Insert images + + |<\hidden> + + + <\enumerate> + Insert/link/paste images + + <\big-figure||mogan.png>||||>> + mogan + + + size, position, centering, transform + + Figures + + |<\hidden> + <\section-slide> + Drawing + + |<\shown> + + + shapes/hand drawn/text/transform/group + + zoom/move/crop the image + + <\big-figure||gr-frame|>|gr-geometry||gr-grid||gr-edit-grid-aspect|||>|gr-edit-grid||gr-fill-color|#aaf|gr-text-at-halign|center|gr-text-at-valign|center|gr-grid-old||2>|gr-edit-grid-old||1>|gr-auto-crop|true|||>>|>||||>>||>>||>>||>>||>>||||>>||||>>||||>>||>>||>>||>>|=b|>>|\x*f|)>>|>>>>> + Left Riemann sum. + + |<\hidden> + + + |png>|1par|||>||gr-fill-color|#aaf|gr-transformation||||>|>>>|0cm> + + |>|0cm> + |<\hidden> + + + Draw image in a square box near the cursor. + + \; + + asdfasdf + + \; + + <\equation*> + E=|gr-grid||gr-edit-grid-aspect|||>|gr-edit-grid||gr-arrow-end|\|gr-snap||gr-grid-old||2>|gr-edit-grid-old||1>|||>>||>>>|2cm>m*c + + + \; + + \; + + adfasdfadsf + |<\hidden> + <\section-slide> + Animation + + |<\hidden> + + + |gr-frame|>|gr-geometry||gr-grid||2>|gr-edit-grid-aspect|||>|gr-edit-grid||1>|gr-text-at-halign|center|gr-text-at-valign|center|gr-proviso||gr-snap||gr-color|dark + red|gr-grid-old||2>|gr-edit-grid-old||1>|||>>||arrow-end|\|color|blue|line-portion|0||>>>||arrow-end|\|color|blue|line-portion|1||>>>>|1s|0.01s|0s>||text-at-valign|center|color|blue||>>||color|dark + red|line-portion|0||||>>>||color|dark + red|line-portion|1||||>>>>|1s|0.01s|0s>>>> + |<\hidden> + + + <\big-figure|> + + + |<\hidden> + + + \; + + \; + + \; + + <\padded-center> + <\script-input|asymptote|default> + % -width 1par + + import graph; + + size(10cm, 0); + + real f(real x) {return cos(10*x)-cos(11*x);} + + draw(graph(f, -10, 10, Hermite), black+linewidth(1pt)); + + label("$y=\\cos(10 x)-\\cos(11 x)$", (0, 3)); + |ps>|1par|||>> + + + \; + > + + +<\initial> + <\collection> + + + + > + + + + + + + + + +<\references> + <\collection> + > + > + > + > + + + +<\auxiliary> + <\collection> + <\associate|figure> + |1>|> + mogan\ + |> + + |2>|> + Left Riemann sum. + |> + + |3>|> + |Figure: Solution of the time-harmonic + wave equation in an open waveguide. Credits: Bruno, Garza, + Perez-Arancibia, 2017.> + |> + + + \ No newline at end of file diff --git a/XmacsLabs/LCPU_index.tm b/XmacsLabs/LCPU_index.tm new file mode 100644 index 0000000..1375f49 --- /dev/null +++ b/XmacsLabs/LCPU_index.tm @@ -0,0 +1,404 @@ + + +> + +<\body> + <\hide-preamble> + + + >> + + > + + >>>>>> + + + + >> + > + > + + + + >> + > + > + + >>>>> + + >>>> + + + <\slideshow> + <\slide> + \; + + + <\slide> + <\title-slide|> + <\with|par-mode|right> + 墨者实验室 + + LCPU x USTCLUG联合沙龙 + + 2022年11月27日 + + + \; + + + + <\slide> + <\section-slide> + 墨者实验室 + + + + <\slide> + + + \; + + 墨干编辑器是墨者实验室旗下的结构化编辑器,是GNU + 的发行版之一。 + + \; + + |>>>>>\|>>>>>> + + <\itemize> + |>>>>\|>>>> + + |>>>>\|>>>> + + |>>>>>|>>>> + + 配置优化 + + 性能优化 + + 错误修复 + + + + <\slide> + + + + + 墨者实验室是一个非盈利组织,我们的目标是: + + >。 + + + + 点击>,然后进入墨者实验室目录,即可了解如何参与 + + + + <\itemize> + \ + + (公共文档、公共模版) + + :面向理工科的百科 + + :结构化编程语言 + + + + <\slide> + <\section-slide> + 哲学 + + + \; + + + <\slide> + \; + + + <\slide> + <\tit> + 哲学 (1/2) + + + \; + + \; + + >的主要目标之一是通过显著地降低创造高质量用户接口的成本,。 + + \; + + 作为一个数学家,从科学研究的角度上讲,我坚信只有自由软件可被接受。两个主要理由如下: + + <\itemize> + 对于一个不开源的「数学」系统,其计算结果不能作为数学证明的一部分。 + + 正如数学家需要基于既有的定理构建新的定理, + 数学软件中算法具体实现的需求合乎情理。 + + + + <\slide> + + + \; + + 然而,当前主流的数学软件大多是专有的。这很奇怪,且是一种耻辱。这种现象的缘由在于数学家们往往不认为编程是一种完全的科学活动。结果,实用软件的开发被委托给了「工程师们」因而数学家们只能像黑盒一样使用这些程序。 + + \; + + 这种对科学活动的细分是非常武断的:从科学的角度认知黑盒中所有为何物往往十分重要。反过来讲,科学上深邃的理解往往能够诞生更加精良的软件。所以我认为科学家们应当将软件开发视为完全的科学活动,如同撰写论文。自然而然,这种软件的发布方式和科学的传播方式应当兼容,即: + + + <\slide> + <\section-slide> + 核心概念 + + + + <\slide> + \; + + + <\slide> + + + + + |||||||||>|>|>|>>|>|\>>|>|\\>>>| + 沈达 + |<\cell> + \; + |>|>>>> + + + + ||||||||||||||>|>|>>||>|>|>|>>|||||>|||||>|||||>|||||>|||png>||25pt||>>||png>||25pt||>>||jupyter.svg>||25pt||>>|>>>> + + + <\slide> + + + \; + + + + + + + + + <\slide> + <\section-slide> + 技术架构与实现 + + + \; + + + <\slide> + 的核心架构> + + \; + + <\big-figure*> + <\wide-tabular> + ||||||||||||||||||||||||||||||||||||||||| + + |<\cell> + + |<\cell> + \; + >| + + |<\cell> + <\with|par-mode|center> + <\large> + Editor + + + |png>||25pt||> + + |<\cell> + <\with|par-sep|0fn|par-par-sep|0fn|par-mode|center> + + + |png>||36pt||> + + >| + <\with|par-sep|0fn|par-par-sep|0fn> + + + Typesetting Engine + + \; + + |<\cell> + \; + |<\cell> + \; + >| + <\with|par-sep|0fn|par-par-sep|0fn|par-mode|center> + Style Sheet (.ts) + + + + |<\cell> + <\with|par-sep|0fn|par-par-sep|0fn|par-mode|center> + Sheme + + + + |<\cell> + \; + >| + <\with|par-sep|0fn|par-par-sep|0fn|par-mode|center> + Data Model as a tree + + scheme data + + |<\cell> + \; + |<\cell> + <\with|par-sep|0fn|par-par-sep|0fn|par-mode|center> + |>>>> + + >| + <\with|par-sep|0fn|par-par-sep|0fn|par-mode|center> + Standard S7 Scheme + + (.scm) + + |<\cell> + <\with|par-sep|0fn|par-par-sep|0fn|par-mode|center> + C++ + + (.cpp/.hpp) + + |<\cell> + \; + >>> + + <|big-figure*> + 核心架构 + + + + <\slide> + <\section-slide> + 谢谢大家 + + + \; + + + + +<\initial> + <\collection> + + + + > + + + + + + + + + + +<\references> + <\collection> + > + > + |\>|13>> + |\>|15>> + |\>|5>> + |\>|5>> + |\>|5>> + |\>|5>> + |\>|12>> + |\>|12>> + |\>|13>> + |\>|13>> + |\>|12>> + |\>|4>> + |\>|4>> + + + +<\auxiliary> + <\collection> + <\associate|figure> + <\tuple|normal> + T|E>||||0.5fn>|0fn|-0.1fn>>XACS||||0.5fn>|0fn|-0.1fn>>核心架构 + > + + <\associate|idx> + |帮助>||墨客星球>>|> + + <\associate|toc> + |||E>||||0.5fn>|0fn|-0.1fn>>XACS||||0.5fn>|0fn|-0.1fn>>>>>>>\|||math-font-series||墨干编辑器>>>>>>> + |.>>>>|> + > + + |目标 |.>>>>|> + > + + |研讨会(两周一次) + |.>>>>|> + > + + |项目 |.>>>>|> + > + + |四种模式 + |.>>>>|> + > + + |墨干科研套件:以主模式区分 + |.>>>>|> + > + + |math-font-series||模式> + |.>>>>|> + + + |math-font-series||样式> + |.>>>>|> + + + |math-font-series||结构化编辑> + |.>>>>|> + + + + \ No newline at end of file diff --git a/XmacsLabs/LCPU_math.bib b/XmacsLabs/LCPU_math.bib new file mode 100644 index 0000000..f55cde1 --- /dev/null +++ b/XmacsLabs/LCPU_math.bib @@ -0,0 +1,12 @@ +@misc{Zhang22, + author = {Zhang, Yitang}, + copyright = {Creative Commons Attribution 4.0 International}, + doi = {10.48550/ARXIV.2211.02515}, + keywords = {Number Theory (math.NT), FOS: Mathematics, FOS: Mathematics}, + publisher = {arXiv}, + title = {Discrete mean estimates and the Landau-Siegel zero}, + url = {https://arxiv.org/abs/2211.02515}, + year = {2022}, + bdsk-url-1 = {https://arxiv.org/abs/2211.02515}, + bdsk-url-2 = {https://doi.org/10.48550/ARXIV.2211.02515} +} diff --git a/XmacsLabs/LCPU_math.tm b/XmacsLabs/LCPU_math.tm new file mode 100644 index 0000000..e79024b --- /dev/null +++ b/XmacsLabs/LCPU_math.tm @@ -0,0 +1,462 @@ + + +> + +<\body> + <\hide-preamble> + >>> + + + + |>>>> + mode> + + <\title-slide|>> + <\padded-right-aligned> + + + + <\padded-right-aligned> + >> USTCLUG Salon> + + + <\padded-right-aligned> + + + + \; + + |<\hidden> + v. >> + + \; + + <\folded-explain> + other than ?> + <|folded-explain> + <\folded> + is far from satisfactory for scientific writing. + <|folded> + <\quote-env> + You know Leslie Lamport, \ ACM Turing Award laureate, if you are + using . He is actually surprised is still being used + and no-one has invented something better :) + + + + + + is a tool, and it empowers you as well as limit you, in many + ways.\ + + is designed for those who are not satisfied by the usual + workflow and dreamt of something different. With + you will have time to develop more interesting skills in college. + + <\quote-env> + The best latex code is no latex code :) and allows you to + write your best latex no-code. + + + + + + <\folded-std> + makes scientific writing intuitive (truly ) + and structured (so ) in comparison to . + <|folded-std> + is driven by the very philosophy of making technical + document editing both innovative and more humane, beautiful and + conceptually correct. + + No waste of screen estate, uncluttered UIs, structured editing and + pixel-perfect typesetting. allows you to focus on your work + without distractions. + + + <\folded> + All you need is in one place. + <|folded> + has slide tools, graphics tools, an internal bibliographic + database, interactive sessions in a variety of engines, various + plugins and allows to export , , or , + etc. + + + + <\folded-explain> + \+>>> + <|folded-explain> + The name was chosen early on to pay due respect to the two main sources + of inspiration: the system and the editor, but does + not share any code with these programs. + + has a radically different design. It aims neither to be + another frontend nor to be limited by in how the output + is produced. + + + <\folded-explain> + replace in everyday study and work?> + <|folded-explain> + <\quote-env> + I use everyday for lectures, presentations, papers, + exercise sheets and export most of my documents to . There is + no need of in my workflow, just to send the final version to + the editors. and other people I know, including most + of my current students and collaborators use it also for slides and + other stuff. + + \V Massimiliano Gubinelli + Forum|http://forum.texmacs.cn/t/is-texmacs-better-than-lyx-for-users-who-need-to-export-to-latex/1151/4> + + + |<\hidden> + + + <\itemize> + toolbar / menubar + + names> or + names> + + + + + + + <\itemize> + Inline formulae > + + Let ,\,x> be variables. + Let> a real vector space. + + Displayed formulae > + + <\equation*> + x+y=z + + + Several equations > + + <\eqnarray*> + >|>|+>>||>|++>>>> + + + + >>> + \ > + + <\equation*> + \\.\\.\+\\\ + + + + + <\equation*> + a\b\c\d\e\f\x + + + + + <\equation*> + f+\+\+\+\+\+\ + + + + + <\equation*> + +\+a|n>\+\+a|n>>\+\+a|n>|k> + + + <\equation*> + \=+1|2>=>>> + + + <\equation*> + , + + + + + <\equation*> + |]> + + + + + \; + + <\equation*> + >>=|6> + + + \; + + <\equation*> + >> *\* \x=\ + + + \; + + <\equation*> + =>|n*z>|)> + + + + + <\equation*> + |||||||1>>|>|n>>|>||>|>|>|>|||>|1>>|>|n>>|||>|>|||1>>|>|n>>>||||>|>|>>||||1>>|>|n>>>>>>=|1>>|>|n>>>|>|>|>>|1>>|>|n>>>>>>*1>>|>|n>>>|>|>|>>|1>>|>|n>>>>>> + + + + + <\equation*> + |gr-frame|>|gr-geometry||gr-grid||gr-edit-grid-aspect|||>|gr-edit-grid||gr-text-at-halign|center|gr-arrow-end|\|gr-grid-old||2>|gr-edit-grid-old||2>|gr-grid-aspect|||>|gr-grid-aspect-props|||>|gr-text-at-valign|center|gr-auto-crop|true|>>|>>||>>||>>|||>>|||>>||||>>||||>>>>>> + + + + + <\itemize> + System tools (e.g. in ) + + <\equation*> + \\\<#3088\>>\\\,|]> + + + Internal names > + + <\equation*> + \\ + + + numbers > + + <\equation*> + \<#266B\>\<#3088\>>\\\,|]> + + + + + + <\equation> + L|)>=>|n> + + + + + <\conjecture> + >If + > is a real primitive character to the modulus , + then + + <\equation*> + L|)>\c + + + where \0> is an absolute, effectively computable + constant, |)>> is defined by + . + + + As a direct consequence of Conjecture we have\ + + <\corollary> + >If > is a real + primitive character to the modulus , then + + <\equation*> + L,\|)>\0 + + + for + + <\equation*> + \\1-c + + + where \0> is an absolute, effectively computable + constant. + + + <\bibliography|bib|tm-plain|LCPU_math.bib> + <\bib-list|1> + Yitang Zhang. Discrete mean + estimates and the landau-siegel zero. 2022. + + + + <\equation*> + \; + + + \; + + <\equation*> + \; + + + <\equation*> + \; + + + \; + + \; + |<\hidden> + \; + > + + +<\initial> + <\collection> + + + + + + + +<\attachments> + <\collection> + <\associate|bib-bibliography> + <\db-entry|+1jHgHzqCNhj9fJk|misc|Zhang22> + + + + + + + + <|db-entry> + > + + + + + + + + + + + + + + > + + > + + > + + + + + +<\references> + <\collection> + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + + + +<\auxiliary> + <\collection> + <\associate|bib> + Zhang22 + + <\associate|toc> + |Why do we need + T|E>||||0.5fn>|0fn|-0.1fn>>XACS||||0.5fn>|0fn|-0.1fn>> + other than L>T|E>||||0.5fn>|0fn|-0.1fn>>X? + |.>>>>|> + > + + ||font-family|||T|E>||||0.5fn>|0fn|-0.1fn>>XACS||||0.5fn>|0fn|-0.1fn>>\T|E>||||0.5fn>|0fn|-0.1fn>>X+|font-shape|||Emacs>>>> + |.>>>>|> + > + + |Can T|E>||||0.5fn>|0fn|-0.1fn>>XACS||||0.5fn>|0fn|-0.1fn>> + replace L>T|E>||||0.5fn>|0fn|-0.1fn>>X + in everyday study and work? |.>>>>|> + > + + |Three ways to input math + |.>>>>|> + > + + |Three types of formulae + |.>>>>|> + > + + |Variants + |.>>>>|> + > + + |Juxtaposition + |.>>>>|> + > + + |Special fonts + |.>>>>|> + > + + |2D math markup + |.>>>>|> + > + + |Brackets + |.>>>>|> + > + + |Large symbols + |.>>>>|> + > + + |Matrices + |.>>>>|> + > + + |Commutative diagrams + |.>>>>|> + > + + |When a symbol is hard to find + |.>>>>|> + > + + |Numbering + |.>>>>|> + > + + |Labels and reference + |.>>>>|> + > + + |math-font-series||Bibliography> + |.>>>>|> + + + + \ No newline at end of file diff --git a/XmacsLabs/LCPU_math_with_shortcuts.tm b/XmacsLabs/LCPU_math_with_shortcuts.tm new file mode 100644 index 0000000..6010222 --- /dev/null +++ b/XmacsLabs/LCPU_math_with_shortcuts.tm @@ -0,0 +1,484 @@ + + +> + +<\body> + <\hide-preamble> + >>> + + + + |>>>> + mode> + + <\title-slide|>> + <\padded-right-aligned> + + + + <\padded-right-aligned> + >> USTCLUG Salon> + + + <\padded-right-aligned> + + + + \; + + |<\hidden> + v. >> + + \; + + <\folded-explain> + other than ?> + <|folded-explain> + <\folded> + is far from satisfactory for scientific writing. + <|folded> + <\quote-env> + You know Leslie Lamport, \ ACM Turing Award laureate, if you are + using . He is actually surprised is still being used + and no-one has invented something better :) + + + + + + is a tool, and it empowers you as well as limit you, in many + ways.\ + + is designed for those who are not satisfied by the usual + workflow and dreamt of something different. With + you will have time to develop more interesting skills in college. + + <\quote-env> + The best latex code is no latex code :) and allows you to + write your best latex no-code. + + + + + + <\folded-std> + makes scientific writing intuitive (truly ) + and structured (so ) in comparison to . + <|folded-std> + is driven by the very philosophy of making technical + document editing both innovative and more humane, beautiful and + conceptually correct. + + No waste of screen estate, uncluttered UIs, structured editing and + pixel-perfect typesetting. allows you to focus on your work + without distractions. + + + <\folded> + All you need is in one place. + <|folded> + has slide tools, graphics tools, an internal bibliographic + database, interactive sessions in a variety of engines, various + plugins and allows to export , , or , + etc. + + + + <\folded-explain> + \+>>> + <|folded-explain> + The name was chosen early on to pay due respect to the two main sources + of inspiration: the system and the editor, but does + not share any code with these programs. + + has a radically different design. It aims neither to be + another frontend nor to be limited by in how the output + is produced. + + + <\folded-explain> + replace in everyday study and work?> + <|folded-explain> + <\quote-env> + I use everyday for lectures, presentations, papers, + exercise sheets and export most of my documents to . There is + no need of in my workflow, just to send the final version to + the editors. and other people I know, including most + of my current students and collaborators use it also for slides and + other stuff. + + \V Massimiliano Gubinelli + Forum|http://forum.texmacs.cn/t/is-texmacs-better-than-lyx-for-users-who-need-to-export-to-latex/1151/4> + + + |<\hidden> + + + <\itemize> + toolbar / menubar + + names> (>) or + \ names> (>) + + + + + + + <\itemize> + Inline formulae > + + Let ,\,x> be variables. + Let> a real vector space. + + Displayed formulae > + + <\equation*> + x+y=z + + + Several equations\ + + > + + <\eqnarray*> + >|>|+>>||>|++>>>> + + + + >>> + \ > + + <\equation*> + \\.\\.\+\\\ + + + + + <\equation*> + a\b\c\d\e\f\x + + + > + \ > + \ > + \ > and > \ > + + >(=type the same capital twice) + \ > + + <\equation*> + f+\+\+\+\+\+\ + + + + + > \ > + \ > + + <\equation*> + +\+a|n>\+\+a|n>>\+\+a|n>|k> + + + <\equation*> + \=+1|2>=>>> + + + > \ > + + <\equation*> + , + + + > + \ > + \ > \ > + + <\equation*> + |]> + + + > + + > + + <\equation*> + >>=|6> + + + > \ >\ + + <\equation*> + >> ... \x=\ + + + \; + + > + + <\equation*> + =>|n*z>|)> + + + > \ > + + <\equation*> + >>>>||||||||1>>|>|n>>|>|||>|>|>|>||||>|1>>|>|n>>||||>|>|||1>>|2>>|>|n>>>||||1>>|1>>|>|n>>>||||>|>|>|>>||||1>>|1>>|>|n>>>>>>=|1>>|>|n>>>|>|>|>>|1>>|>|n>>>>>>|1>>|>|n>>>|>|>|>>|1>>|>|n>>>>>> + + + + + <\equation*> + |gr-frame|>|gr-geometry||gr-grid||gr-edit-grid-aspect|||>|gr-edit-grid||gr-text-at-halign|center|gr-arrow-end|\|gr-grid-old||2>|gr-edit-grid-old||2>|gr-grid-aspect|||>|gr-grid-aspect-props|||>|gr-text-at-valign|center|gr-auto-crop|true|>>|>>||>>||>>|||>>|||>>||||>>||||>>>>>> + + + \; + + + + <\itemize> + System tools (e.g. in ) + + <\equation*> + \\\<#3088\>>\\\,|]> + + + Internal names > + + <\equation*> + \\ + + + numbers > + + <\equation*> + \<#266B\>\<#3088\>>\\\,|]> + + + + > + + <\equation> + L|)>=>|n> + + + > + \ > \ and + + <\conjecture> + >If + > is a real primitive character to the modulus , + then + + <\equation*> + L|)>\c + + + where \0> is an absolute, effectively computable + constant and |)>> is defined in + + + + As a direct consequence of we have\ + + <\corollary> + >If > is a real + primitive character to the modulus , then + + <\equation*> + L,\|)>\0 + + + for + + <\equation*> + \\1-c + + + where \0> is an absolute, effectively computable + constant. + + + <\bibliography|bib|tm-plain|LCPU_math.bib> + <\bib-list|1> + Yitang Zhang. Discrete mean + estimates and the landau-siegel zero. 2022. + + + + <\equation*> + \; + + + \; + + <\equation*> + \; + + + <\equation*> + \; + + + \; + + \; + |<\hidden> + \; + > + + +<\initial> + <\collection> + + + + + + + +<\attachments> + <\collection> + <\associate|bib-bibliography> + <\db-entry|+2InaPNNd2GsDQNCb|misc|Zhang22> + + + + + + <|db-entry> + > + + + + + + + + + + + + + + > + + > + + > + + + + + +<\references> + <\collection> + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + + + +<\auxiliary> + <\collection> + <\associate|bib> + Zhang22 + + Zhang22 + + <\associate|toc> + |Why do we need + T|E>||||0.5fn>|0fn|-0.1fn>>XACS||||0.5fn>|0fn|-0.1fn>> + other than L>T|E>||||0.5fn>|0fn|-0.1fn>>X? + |.>>>>|> + > + + ||font-family|||T|E>||||0.5fn>|0fn|-0.1fn>>XACS||||0.5fn>|0fn|-0.1fn>>\T|E>||||0.5fn>|0fn|-0.1fn>>X+|font-shape|||Emacs>>>> + |.>>>>|> + > + + |Can T|E>||||0.5fn>|0fn|-0.1fn>>XACS||||0.5fn>|0fn|-0.1fn>> + replace L>T|E>||||0.5fn>|0fn|-0.1fn>>X + in everyday study and work? |.>>>>|> + > + + |Three ways to input math + |.>>>>|> + > + + |Three types of formulae + |.>>>>|> + > + + |Variants + |.>>>>|> + > + + |Juxtaposition + |.>>>>|> + > + + |Special fonts + |.>>>>|> + > + + |2D math markup + |.>>>>|> + > + + |Brackets + |.>>>>|> + > + + |Large symbols + |.>>>>|> + > + + |Matrices + |.>>>>|> + > + + |Commutative diagrams + |.>>>>|> + > + + |When a symbol is hard to find + |.>>>>|> + > + + |Numbering + |.>>>>|> + > + + |Labels and reference + |.>>>>|> + > + + |math-font-series||Bibliography> + |.>>>>|> + + + + \ No newline at end of file diff --git a/XmacsLabs/LCPU_prog.tm b/XmacsLabs/LCPU_prog.tm new file mode 100644 index 0000000..d1a040b --- /dev/null +++ b/XmacsLabs/LCPU_prog.tm @@ -0,0 +1,223 @@ + + +> + +<\body> + <\hide-preamble> + + + + + 用户协会>> + + + + > + > + > + + \; + + >> + + > + + + <\slideshow> + <\slide> + ||> + + + <\slide> + <\section-slide> + Inline Code and Code Block + + + + <\slide> + + + \; + + <\itemize> + Inline Code + + Code Block + + + <\question> + How to do numbering? + + + <\question> + How to change the code hightlighting? + + + No answers! + + \; + + Prog mode status: + + \; + + + + + <\slide> + + + \; + + + + <\session|scheme|default> + <\unfolded-io|Scheme] > + (kbd-map ("` ` ` p y" + + \ \ \ \ \ \ \ \ \ \ (make `python-code))))) + <|unfolded-io> + ("` ` ` p y") + + + <\input|Scheme] > + \; + + + + \; + + \; + + + <\slide> + + + \; + + + + <\scm-code> + (tm-define (parser-feature lan key) + + \ \ (:require + + \ \ \ (and (== lan "dot") (== key "keyword"))) + + \ \ `(,(string-\symbol key) + + \ \ \ \ (declare_type "graph" "node" "edge" "digraph" "subgraph"))) + + + <\dot-code> + digraph G { + + \ \ \ node A, B C; + + \ \ \ A -\ B; + + \ \ \ A -\ C; + + } + + + + <\slide> + \; + + <\section-slide> + Code Editing + + + + <\slide> + + + \; + + <\scm-code> + () + + (()) + + [] + + {} + + + + <\slide> + + + \; + + + + + + \; + + + + + + \; + + + + > + + + + + <\slide> + + + \; + + <\session|scheme|default> + <\unfolded-io|Scheme] > + (kbd-map + + \ \ ("p s v m" + + \ \ \ (begin + + \ \ \ \ (insert "public static int main() {}") + + \ \ \ \ (go-to-previous) + + \ \ \ \ (insert-return) + + \ \ \ \ (insert-raw-return) + + \ \ \ \ (go-to-previous)))) + <|unfolded-io> + ("p s v m") + + + <\input|Scheme] > + \; + + + + \; + + + + +<\initial> + <\collection> + + + + > + + + + + + + + \ No newline at end of file diff --git a/XmacsLabs/LCPU_text.tm b/XmacsLabs/LCPU_text.tm new file mode 100644 index 0000000..67711e2 --- /dev/null +++ b/XmacsLabs/LCPU_text.tm @@ -0,0 +1,239 @@ + + +> + +<\body> + >|>>>> + + <\note*> + Enable first! + + + + + <\subsection> + + + + <\itemize> + Paper + + Paperus + + Book (like reading a real Book) + + Panorama + + + + + <\itemize> + Generic + + Book (Interactive_SICP.tm) + + Seminar + + Beamer + + Source + + + + + <\itemize> + doc + + comment + + language + + + <\question> + How to view the source code of the style package? + + + <\subsection> + + + + menu> + + + + + body + + + + See . + + + + + + + + <\question> + What is semantics? + + + <\itemize> + x + + > + + + + + + Normal + + <\question> + How to highlight the text? + + + <\answer> + + + + menu> + + + + <\question> + How to set the background color? + + + <\answer> + + + + + + menu> + + + + Preamble> + + + + <\question> + How to make page-number right-aligned? + + + +<\initial> + <\collection> + + + + + + + +<\references> + <\collection> + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + |\>|?>> + + + +<\auxiliary> + <\collection> + <\associate|idx> + |Insert>>|> + + |Document>>|> + + |Format>>|> + + <\associate|toc> + |math-font-series||1Focus + Toolbar> |.>>>>|> + + + |1.1 + |.>>>>|> + > + + |1.2Style + |.>>>>|> + > + + |1.3Style packages + |.>>>>|> + > + + |1.4 + |.>>>>|> + > + + |math-font-series||2|Insert>|Insert>>|>> + menu> |.>>>>|> + + + |2.1Content/Size/Presentation + Tag |.>>>>|> + > + + |math-font-series||3|Document>|Document>>|>> + menu> |.>>>>|> + + + |3.1Informative flags + |.>>>>|> + > + + |3.2Part \ Preamble + |.>>>>|> + > + + |3.3Page + |.>>>>|> + > + + |math-font-series||4|Format>|Format>>|>> + menu> |.>>>>|> + + + |4.1Color + |.>>>>|> + > + + |4.2Font + |.>>>>|> + > + + |4.3Paragraph + |.>>>>|> + > + + + \ No newline at end of file diff --git a/XmacsLabs/demoFile1.tm b/XmacsLabs/demoFile1.tm new file mode 100644 index 0000000..ae73843 --- /dev/null +++ b/XmacsLabs/demoFile1.tm @@ -0,0 +1,50 @@ + + + + +<\body> + This is the first line. + + <\equation*> + x+y++> + + + This is the line after the formula. + + <\session|scheme|default> + <\unfolded-io|Scheme] > + (use-modules (utils library tree)) + <|unfolded-io> + (#1=(inlet 'primitive-symbol? symbol? 'boot-start 724 + 'remote-client-list () 'original-display #_display 'original-write + #_write 'write write 'current-module current-module 'provide-public + provide-public 'module-available? module-available? 'list-\module + list-\module 'module-provide module-provide 'resolve-module + resolve-module 're-export re-export 'inherit-modules inherit-modules + 'texmacs-module texmacs-module 'quit-TeXmacs-scheme quit-TeXmacs-scheme + 'on-entry on-entry 'on-exit on-exit 'curried-define curried-define '1- + 1- 'delq delq 'seed-\random-state seed-\random-state + 'assoc-set! assoc-set! 'force-output force-output 'string-null? + string-null? 'append! append! 'string-split string-split + 'make-record-type make-record-type 'record-constructor + record-constructor 'record-accessor record-accessor 'record-predicate + record-predicate 'make-promise make-promise ...)) + + + <\unfolded-io|Scheme] > + (tm-define t (buffer-tree)) + <|unfolded-io> + ((texmacs-user)) + + + <\input|Scheme] > + \; + + + + +<\initial> + <\collection> + + + \ No newline at end of file diff --git a/XmacsLabs/demoFile2.tm b/XmacsLabs/demoFile2.tm new file mode 100644 index 0000000..db6338c --- /dev/null +++ b/XmacsLabs/demoFile2.tm @@ -0,0 +1,50 @@ + + + + +<\body> + <\session|scheme|default> + <\unfolded-io|Scheme] > + (tree-ref t 1) + <|unfolded-io> + + x+y++> + > + + + <\unfolded-io|Scheme] > + (tree-set t 3 "") + <|unfolded-io> + + + + <\unfolded-io|Scheme] > + (tree-ref (tree-ref (tree-ref t 1) 0) 0) + <|unfolded-io> + +>> + + + <\unfolded-io|Scheme] > + (tree-ref (tree-ref (tree-ref (tree-ref t 1) 0) 0) 1) + <|unfolded-io> + > + + + <\unfolded-io|Scheme] > + (tree-set (tree-ref (tree-ref (tree-ref (tree-ref t 1) 0) 0) 1) 1 + '(sqrt "y")) + <|unfolded-io> + > + + + <\input|Scheme] > + \; + + + + +<\initial> + <\collection> + + + \ No newline at end of file diff --git a/XmacsLabs/index.tm b/XmacsLabs/index.tm new file mode 100644 index 0000000..01c2da4 --- /dev/null +++ b/XmacsLabs/index.tm @@ -0,0 +1,95 @@ + + +> + +<\body> + <\show-preamble> + + + |||.tm>>>> + + + <\ignore> + > + + + + <\itemize> + + + + + + <\itemize> + (2022/11/27晚上八点,LCPU\USTCLUG联合沙龙) + + (2022/11/13晚上八点) + + ) + + ) + + (2022/09/18晚上八点) + + + + + + + + + + + + + + + + + <\strong> + 衷心欢迎大家通过以下方式联系我们,交流经验、提供建议或报告问题。 + + 也热情欢迎感兴趣的开发者和志愿贡献者加入墨者实验室。 + + + <\padded-center> + |||||>||https://space.bilibili.com/28058658>>>|>||https://gitee.com/XmacsLabs/>>>|>||https://github.com/XmacsLabs>>>|||https://www.douban.com/group/texmacs/>>>|||https://www.zhihu.com/people/xmacs>>>|| + ()>>|| + (通过微信号 入群)>>|| 中文社区 (934456971)>>>>> + + + + +<\initial> + <\collection> + + + + +<\references> + <\collection> + > + |\>|?>> + |\>|?>> + + + +<\auxiliary> + <\collection> + <\associate|toc> + |math-font-series||文档列表> + |.>>>>|> + + + |math-font-series||会议记录> + |.>>>>|> + + + |math-font-series||联系我们> + |.>>>>|> + + + + \ No newline at end of file diff --git a/XmacsLabs/metropolis.ts b/XmacsLabs/metropolis.ts new file mode 100644 index 0000000..e87d622 --- /dev/null +++ b/XmacsLabs/metropolis.ts @@ -0,0 +1,102 @@ + + +> + +<\body> + + + + <\src-purpose> + A clone of the Beamer Metropolis theme. + + + + + <\src-license> + This software falls under the . It comes WITHOUT ANY + WARRANTY WHATSOEVER. You should have received a copy of the license + which the software. If not, see . + + > + + + + + + + + + + + + + + + + + + + + |#e4e7e7|white>> + + + + + + + + ||Example>>>> + + + + |#cfd3d4|white>> + + + + |font-series|medium|>>> + + |old-color||old-math-color||old-strong-color|||color||math-color||strong-color||||>>>>>>> + + + + + + >>> + + + <\wide-tabular> + ||||||||||>>>|>>>|>>>|>>>>> + + > + + + + + <\wide-tabular> + |||| + ||||>>|>>>>>>> + >>> + + > + + + + + + + <\no-margins> + |>||1.5fn>|0.8fn|>>>>> + |font-size||1|>|||>|>|>||||>|| + |>|>>> + >>>>||||>>>> + > + + > + + +<\initial> + <\collection> + + + \ No newline at end of file diff --git a/墨者实验室/第一次研讨会.tm b/XmacsLabs/第一次研讨会.tm similarity index 100% rename from 墨者实验室/第一次研讨会.tm rename to XmacsLabs/第一次研讨会.tm diff --git a/墨者实验室/第七次研讨会.tm b/XmacsLabs/第七次研讨会.tm similarity index 100% rename from 墨者实验室/第七次研讨会.tm rename to XmacsLabs/第七次研讨会.tm diff --git a/墨者实验室/第三次研讨会.tm b/XmacsLabs/第三次研讨会.tm similarity index 100% rename from 墨者实验室/第三次研讨会.tm rename to XmacsLabs/第三次研讨会.tm diff --git a/墨者实验室/第九次研讨会.tm b/XmacsLabs/第九次研讨会.tm similarity index 100% rename from 墨者实验室/第九次研讨会.tm rename to XmacsLabs/第九次研讨会.tm diff --git a/墨者实验室/第二次研讨会.tm b/XmacsLabs/第二次研讨会.tm similarity index 100% rename from 墨者实验室/第二次研讨会.tm rename to XmacsLabs/第二次研讨会.tm diff --git a/墨者实验室/第五次研讨会.tm b/XmacsLabs/第五次研讨会.tm similarity index 100% rename from 墨者实验室/第五次研讨会.tm rename to XmacsLabs/第五次研讨会.tm diff --git a/墨者实验室/第八次研讨会.tm b/XmacsLabs/第八次研讨会.tm similarity index 100% rename from 墨者实验室/第八次研讨会.tm rename to XmacsLabs/第八次研讨会.tm diff --git a/墨者实验室/第六次研讨会.tm b/XmacsLabs/第六次研讨会.tm similarity index 100% rename from 墨者实验室/第六次研讨会.tm rename to XmacsLabs/第六次研讨会.tm diff --git a/墨者实验室/第十一次研讨会.tm b/XmacsLabs/第十一次研讨会.tm similarity index 100% rename from 墨者实验室/第十一次研讨会.tm rename to XmacsLabs/第十一次研讨会.tm diff --git a/墨者实验室/第十次研讨会.tm b/XmacsLabs/第十次研讨会.tm similarity index 100% rename from 墨者实验室/第十次研讨会.tm rename to XmacsLabs/第十次研讨会.tm diff --git a/墨者实验室/第四次研讨会.tm b/XmacsLabs/第四次研讨会.tm similarity index 100% rename from 墨者实验室/第四次研讨会.tm rename to XmacsLabs/第四次研讨会.tm diff --git a/墨者实验室/财务公开.tm b/XmacsLabs/财务公开.tm similarity index 100% rename from 墨者实验室/财务公开.tm rename to XmacsLabs/财务公开.tm diff --git a/index.tm b/index.tm index 209c78d..18510b5 100644 --- a/index.tm +++ b/index.tm @@ -19,7 +19,7 @@ :强烈推荐新用户观看 |https://www.bilibili.com/video/BV1bo4y1D7wN> - + diff --git a/墨者实验室/index.tm b/墨者实验室/index.tm deleted file mode 100644 index 3e665f3..0000000 --- a/墨者实验室/index.tm +++ /dev/null @@ -1,93 +0,0 @@ - - -> - -<\body> - <\hide-preamble> - - - |||.tm>>>> - - - > - - - - <\itemize> - - - - - - <\itemize> - (2022/11/27晚上八点,LCPU\USTCLUG联合沙龙) - - (2022/11/13晚上八点) - - ) - - ) - - (2022/09/18晚上八点) - - - - - - - - - - - - - - - - - <\strong> - 衷心欢迎大家通过以下方式联系我们,交流经验、提供建议或报告问题。 - - 也热情欢迎感兴趣的开发者和志愿贡献者加入墨者实验室。 - - - <\padded-center> - |||||>||https://space.bilibili.com/28058658>>>|>||https://gitee.com/XmacsLabs/>>>|>||https://github.com/XmacsLabs>>>|||https://www.douban.com/group/texmacs/>>>|||https://www.zhihu.com/people/xmacs>>>|| - ()>>|| - (通过微信号 入群)>>|| 中文社区 (934456971)>>>>> - - - -<\initial> - <\collection> - - - - -<\references> - <\collection> - > - |\>|?>> - |\>|?>> - - - -<\auxiliary> - <\collection> - <\associate|toc> - |math-font-series||文档列表> - |.>>>>|> - - - |math-font-series||会议记录> - |.>>>>|> - - - |math-font-series||联系我们> - |.>>>>|> - - - -