<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[小猫の博客]]></title><description><![CDATA[https://column.mowchan.me/]]></description><link>https://blog.youkuaiyun.com/MowChan</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; MowChan]]></copyright><item><title><![CDATA[LaTeX理工科排版实现]]></title><link>https://blog.youkuaiyun.com/MowChan/article/details/124800959</link><guid>https://blog.youkuaiyun.com/MowChan/article/details/124800959</guid><author>MowChan</author><pubDate>Mon, 16 May 2022 15:35:19 +0800</pubDate><description><![CDATA[常用命令
新命令
定义新的命令
\newcommand{\&lt;name&gt;}[&lt;num&gt;]{&lt;defination&gt;}

重命名字体命令
\renewcommand{\heiti}{\CJKfamily{heiti}}

重定义命令
\renewcommand{}{}

重定义命令时防止递归调用1
\renewcommand{\vec}[1]{\vec{\mathbf{#1}}}

\let\oldvec\vec
\renewcommand{\vec}[1]{\oldvec{]]></description><category></category></item><item><title><![CDATA[理工科题库创建与Office Word数据交换笔记]]></title><link>https://blog.youkuaiyun.com/MowChan/article/details/124799869</link><guid>https://blog.youkuaiyun.com/MowChan/article/details/124799869</guid><author>MowChan</author><pubDate>Mon, 16 May 2022 15:05:19 +0800</pubDate><description><![CDATA[笔记
OMML 模型是实现 Office Math 功能的标记语言
文本转换图片的相关库合集：https://xosh.org/text-to-diagram/
开源实例
目前尝试的开源项目，基本没有 OMML 与 LaTeX 互相转换效果好的，甚至连根号都无法正常处理。

michaelfranzl/docx_converter: Ruby gem converting Word docx files into html or LaTeX via the Kramdown syntax (github.c]]></description><category></category></item><item><title><![CDATA[Nw.JS无法播放个别网页音频的解决方案]]></title><link>https://blog.youkuaiyun.com/MowChan/article/details/123405140</link><guid>https://blog.youkuaiyun.com/MowChan/article/details/123405140</guid><author>MowChan</author><pubDate>Thu, 10 Mar 2022 16:37:54 +0800</pubDate><description><![CDATA[因为 MP3 版权的限制，Nw.JS 无法播放 MP3 格式的音频，下载额外编译过的 ffmpeg.dll 并替换，即可。
Nw.JS 历史版本下载：https://dl.nwjs.io/
FFmpeg 编译版本下载：https://github.com/iteufel/nwjs-ffmpeg-prebuilt

]]></description><category></category></item><item><title><![CDATA[Python3复制PNG透明图片到剪贴板]]></title><link>https://blog.youkuaiyun.com/MowChan/article/details/122823017</link><guid>https://blog.youkuaiyun.com/MowChan/article/details/122823017</guid><author>MowChan</author><pubDate>Tue, 08 Feb 2022 14:51:10 +0800</pubDate><description><![CDATA[Python 3 的 Pillow 模块是常用的图片处理库。Pillow 可以将图片以位图格式写入剪贴板中，但是对于有 Alpha 通道的图片（透明图片）也只能以位图格式写入剪贴板，这样会丢失 Alpha 通道信息，无法粘贴透明图片。
可以确定的是通过 Pillow 无法实现，那么考虑先将 PNG 文件保存，以读取文件的形式写入剪贴板。查资料得到在 Windows 系统下的两种解决方案，分享如下
写入文件标识符
该方法是写入文件标识符，理论上所有拖拽文件上传、通过路径上传文件的应用都支持。
应用场景：网页编]]></description><category></category></item><item><title><![CDATA[【笔记】微信公众号插入数学公式（矢量图格式）的若干尝试]]></title><link>https://blog.youkuaiyun.com/MowChan/article/details/122787964</link><guid>https://blog.youkuaiyun.com/MowChan/article/details/122787964</guid><author>MowChan</author><pubDate>Sat, 05 Feb 2022 09:28:38 +0800</pubDate><description><![CDATA[微信公众号文章中可插入的富文本格式不如一般的博客自由，但目前来说也是中文互联网勉强都能接受的一个平台和事实标准了。然而，在撰写理工相关的文章时不免要用到数学公式，微信公众号不支持数学公式的插入和编辑，用图片（位图）代替又比较麻烦，截图、上传，尤其是行间公式排版相当麻烦。
目前来说，最佳的方案是将公式转换为 SVG 图片格式插入。SVG 是矢量图格式，在不同设备上都能清晰显示，而且可以以 DOM 的形式嵌入到富文本中，还有简单而严格安全的交互功能。
但是就目前可查阅到的资料来看，实现这一功能的仅有 ciaoc]]></description><category></category></item><item><title><![CDATA[【笔记】理科教学矢量图像绘制工具实用分析]]></title><link>https://blog.youkuaiyun.com/MowChan/article/details/122768711</link><guid>https://blog.youkuaiyun.com/MowChan/article/details/122768711</guid><author>MowChan</author><pubDate>Wed, 02 Feb 2022 12:27:12 +0800</pubDate><description><![CDATA[近日分析几款矢量图绘制工具，优劣比较简记之，以供以后参考。]]></description><category></category></item><item><title><![CDATA[用 Acrobat 修复因缺少内嵌字体而乱码的 PDF 文件]]></title><link>https://blog.youkuaiyun.com/MowChan/article/details/119709544</link><guid>https://blog.youkuaiyun.com/MowChan/article/details/119709544</guid><author>MowChan</author><pubDate>Sun, 15 Aug 2021 11:03:44 +0800</pubDate><description><![CDATA[前言
最近在阅读一本电子书的时候发现 PDF 文件中只要是英文、数字、空格的位置都是乱码，影响阅读。这应该是 PDF 文档没有将所需要的所有字体内嵌到文档中，缺少字体导致的。比如某东的电子发票在不同的 PDF 阅读软件上打开会出现不同的字体。
这里分享一下修复文档的整个过程。 
需要软件

Adobe Acrobat Pro DC 2020
文件中尚未内嵌的字体（方正EU系列）

检查字体缺失
PDF 文档出现乱码，首先要检查是否是缺失字体。用 Acrobat 打开 PDF 文件，菜单栏选择“文件”、“属性]]></description><category></category></item><item><title><![CDATA[为什么下标从0开始（Dijkstra手稿）]]></title><link>https://blog.youkuaiyun.com/MowChan/article/details/116260750</link><guid>https://blog.youkuaiyun.com/MowChan/article/details/116260750</guid><author>MowChan</author><pubDate>Thu, 29 Apr 2021 10:05:36 +0800</pubDate><description><![CDATA[To denote the subsequence of natural numbers 2, 3, ..., 12 without the pernicious three dots, four conventions are open to us


a)
			
			2 ≤i&lt; 13
		b)
			
			1 &lt;i≤ 12
		c)
			
			2 ≤i≤ 12
		d)
			
			1 &lt;i&lt; 13
		Are there reasons t...]]></description><category></category></item><item><title><![CDATA[Git 常用操作一览]]></title><link>https://blog.youkuaiyun.com/MowChan/article/details/115364227</link><guid>https://blog.youkuaiyun.com/MowChan/article/details/115364227</guid><author>MowChan</author><pubDate>Wed, 31 Mar 2021 23:44:28 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[PAT A1027：Colors in Mars（Python 实现 进制转换）]]></title><link>https://blog.youkuaiyun.com/MowChan/article/details/113182143</link><guid>https://blog.youkuaiyun.com/MowChan/article/details/113182143</guid><author>MowChan</author><pubDate>Tue, 26 Jan 2021 15:56:20 +0800</pubDate><description><![CDATA[题目内容
People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, where the first 2 digits are for Red, the middle 2 digits for Green, and the last 2 digits for Blue. The ]]></description><category></category></item><item><title><![CDATA[PAT A1009：Product of Polynomials（Python迭代器的使用）]]></title><link>https://blog.youkuaiyun.com/MowChan/article/details/113175984</link><guid>https://blog.youkuaiyun.com/MowChan/article/details/113175984</guid><author>MowChan</author><pubDate>Tue, 26 Jan 2021 11:12:09 +0800</pubDate><description><![CDATA[题目内容
This time, you are supposed to find A×BA\times BA×B where AAA and BBB are two polynomials.
Input Specification:
Each input file contains one test case. Each case occupies 2 lines, and each line contains the information of a polynomial:
KKK N1aN1N2aN2⋯]]></description><category></category></item><item><title><![CDATA[字典相同的键值合并求和（Python实现）]]></title><link>https://blog.youkuaiyun.com/MowChan/article/details/102757918</link><guid>https://blog.youkuaiyun.com/MowChan/article/details/102757918</guid><author>MowChan</author><pubDate>Sat, 26 Oct 2019 16:16:36 +0800</pubDate><description><![CDATA[Counter实现
from collections import Counter

dict(sum(map(Counter, data), Counter()))

函数实现
def union_dict(data):
    _keys = set(sum([list(d.keys()) for d in data],[]))
    _total = {}
    for _key in ...]]></description><category></category></item><item><title><![CDATA[使用DFS（深度优先搜索）处理字符串可选替换问题（Python实现）]]></title><link>https://blog.youkuaiyun.com/MowChan/article/details/102175098</link><guid>https://blog.youkuaiyun.com/MowChan/article/details/102175098</guid><author>MowChan</author><pubDate>Sun, 06 Oct 2019 09:37:04 +0800</pubDate><description><![CDATA[问题背景
输入一个字符串，字符串中仅含有+、-、?三种字符。其中?既可以变成+又可以变成-，比如+-?的结果是+-+和+--两种字符。那么请输出?-+??-的结果。
DFS（深度优先搜索）
DFS的常用模板（伪代码）：
def dfs(deep):
    if 判断条件:                # 在这里进行递归的退出
        return
    for 某条内容 in 遍历内...]]></description><category></category></item></channel></rss>