lyx是什么类型的文件?为什么在每个lyx文件外,都会有同名的lyx文件?
如下图所示:

我知道了,是备份文件。要是嫌弃它不好看,可以换文件夹存储。
As Stefan said, it is a backup file indeed. If you rename your main .lyx file, a new .lyx~ file will be created, with the new name, while the old one, with the old name, will not be deleted. It is good to have these files in case of a disaster (e.g., power-cut might destroy your document completely or mess it up badly).
There are two things you might want to know regarding backup files:
- You can tell LyX how often it should create/update backup files, or even disable them completely (which is not a good idea): Tools > Preferences > Look & Feel > User Interface (first two checkboxes under "Document")
- You can create a directory in which backup files of all your projects will be stored, instead of the current directory: Tools > Preferences > Paths > Backup directory.