- 博客(74)
- 资源 (12)
- 收藏
- 关注
原创 Win11+VirtualBox安装虚拟机——解决与Hyper-V冲突问题
目录1. 问题描述2. 解决方法2.1 启用VT-x/AMD-V1) 显示待开启VT-x/AMD-V的虚拟机名称2) 开启嵌套VT-x/AMD-V的支持2.2 关闭Hyper-V (不用卸载)3. 参考链接1. 问题描述前段时间将电脑上操作系统升级了win11,刚刚安装了VirtualBox6.1.32 + win10,1). 但启动Virtual Box中的虚拟机时总是报错,网上搜了一下发现win11系统默认开启了Hyper-V,且当前与VirtualBox存在兼容性问题。Microsoft W
2022-03-13 14:59:02
21189
13
原创 Latex中设置enumerate有序列表使用方括号标号以及设置item间距
问题描述如题。解决方法看了[1]中的解答,用法如下:\begin{enumerate}[label={[\arabic*]}] %\setlength{\itemsep}{0pt}\item xxxxx %[1] xxxxx\item yyyyyy %[2] yyyyyy\item zzzzz %[3] zzzzz\end{enumerate}其中,enumerate环境后面跟的参数label={[\arabic*]}即可使得列表以“方括号+阿拉伯数字”的形式编号;在
2020-10-19 21:23:28
21763
5
原创 解决Latex中跨页表格的第一页最后一行没有横线的问题
环境Document Class: ctexbook 2019/05/29 v2.4.16TexStudio + Texlive 2019Win10问题描述Latex中制作跨页长表格可以使用supertabular环境,但是它创建的跨页表格第一页最后一行没有横线。解决方法将supertabular环境换成longtable环境,同时将导言区的包\usepackage{supertabular} 换成\usepackage{longtable}即可。注意:根据博文[1]所述,longtabl
2020-10-19 18:30:39
4516
原创 如何取消Latex正文中参考文献引用的上标显示(使用的GBT7714-2015)
从以下链接https://github.com/CTeX-org/gbt7714-bibtex-style/issues/65知道了GBT7714-2015宏包支持的标注样式:super / numbers / authoryear从名称可以看出,super代表着以上标形式显示引文编号,那么不使用上标显示我就应该指定numbers或authoryear,但我要用数字形式显示,所以指定numbers。latex代码如下:\usepackage[numbers]{gbt7714} %使用自有目录中的g
2020-09-24 23:19:38
14066
5
原创 Latex如何将长表格Table横置(旋转90度)
问题描述在写论文时,长表格会超出页面的右边界,因此需要将长表格旋转90度横放在页面中。解决办法[1,2]首先在导言区添加rotating宏包:\usepackage[figuresright]{rotating} 。然后,将\begin{table}[thp] \caption{This is the caption} \centering \begin{tabular}{|c|c|c|c|} \hline ....... \end{tabular}\end{t
2020-09-13 16:43:06
44196
3
原创 如何在一个Latex文档中包含多个bib文件
问题描述在一个长篇文章中,我们需要引用的参考文献很多,可以分为不同主题的引文,那么就希望每个主题的参考文献构成一个bib文件。那么在用Latex编写文档时,如何添加多个bib文件呢?引申问题:如果是在写一个Book,各个章节有独立的参考文献部分,又该如何弄呢?解决方法若是在一个长篇文档中只有最后一个参考文献部分(即多个bib文件中的文献共同编号),我们把两个主题的参考文献放在两个bib文件中:ref1.bib和ref2.bib。那么,我们就在Latex主文件中使用如下命令[1]:\bibli
2020-09-11 17:00:59
7751
原创 从源码编译安装QEMU以及如何创建QEMU虚拟机
目录1. 主机环境/软件版本2. 从源码编译安装QEMU2.1 获取QEMU 5.1.0的源码2.2 创建build目录+配置2.3 编译QEMU3 创建QEMU虚拟机镜像4 启动QEMU虚拟机1. 主机环境/软件版本Host: Ubuntu 16.04QEMU v5.1.0Guest: Ubuntu 16.042. 从源码编译安装QEMU2.1 获取QEMU 5.1.0的源码~/workspace$ wget https://download.qemu.org/qemu-5.1.0.tar
2020-08-17 15:43:06
10467
原创 解决latex提示Warning: Font shape `TU/phv/m/n‘ undefined (Font)
环境Document Class: ctexbook 2019/05/29 v2.4.16TexStudio + Texlive 2019Win10\documentclass[12pt,openright,a4paper,AutoFakeBold,twoside]{ctexbook} %在双面(twoside)环境下,openright使得每个新章节从奇数页开始\usepackage[CJKbookmarks]{hyperref}\usepackage{shortvrb,indentfirst
2020-07-17 23:07:01
12832
原创 解决Font shape `TU/ptm/m/n‘ undefined (Font)的问题 -- Latex
环境Document Class: ctexbook 2019/05/29 v2.4.16TexStudio + Texlive 2019Win10\documentclass[12pt,openright,a4paper,AutoFakeBold,twoside]{ctexbook} %在双面(twoside)环境下,openright使得每个新章节从奇数页开始\usepackage[CJKbookmarks]{hyperref}\usepackage{shortvrb,indentfirst
2020-07-17 16:32:45
17989
2
原创 对于中英混排ctex类中字体设置的说明 -- Latex
一. 环境Document Class: ctexbook 2019/05/29 v2.4.16TexStudio + Texlive 2019\documentclass[12pt,openright,a4paper,AutoFakeBold,twoside]{ctexbook} %在双面(twoside)环境下,openright使得每个新章节从奇数页开始\usepackage[CJKbookmarks]{hyperref}\usepackage{shortvrb,indentfirst,ul
2020-07-16 22:34:42
6125
原创 Bibtex报错Unsupported entry type for misc
环境参考文献样式文件使用的是GBT7714-2005.bst;引擎使用的Bibtex;问题在JabRef中新增了一个misc类型的参考文献(主要是网址链接),@Misc{WikiSystemRDL, author = {Wikipedia}, title = {SystemRDL}, howpublished = {[EB/OL]}, note = {\url{https://en.wikipedia.org/wiki/SystemRDL
2020-07-14 18:58:05
2596
翻译 在Bibtex中注释掉某个项(field/attribute)以及某个完整参考文献
注释掉bibtex文件中一个参考文献的某个特定项:[1]% is actually not a comment character in .bib files! So, inserting a % in .bib files not only fails to comment out the line, it also causes some BibTEX errors. To get BibTEX to ignore a particular field we just need to renam..
2020-07-09 17:04:30
3424
2
原创 解决bibtex中提示“Command \U unavailable in encoding T1…”问题
环境\documentclass[12pt,openright,a4paper,fancyhdr,twoside]{ctexbook}\usepackage[numbers,sort&compress]{natbib}\usepackage{fontspec}\begin{document}\clearpage\phantomsection\addcontentsline{toc}{chapter}{参考文献}\bibliographystyle{GBT7714-2005}\bi
2020-07-09 12:56:14
3332
原创 在Latex插图或插表目录编号前加上‘图’或‘表’字
一. 环境texlive2019 + TeXstudio使用的文档类是:ctexbook\documentclass[12pt,openright,a4paper,fancyhdr,twoside]{ctexbook}二. 问题直接使用默认的\listoffigures命令所生成的插图目录如下: 插 图2.1 XXX示意图 .........................72.2 YYY示意图 .........................11但我想在每一条
2020-06-22 14:28:41
4503
5
原创 解决Latex编译报错:Command `\Bbbk' already defined. ...ol{\Bbbk} {\mathord}{AMSb}{"7C}
Latex template 版本使用的是ACM 最新的latex模板:\ProvidesClass{acmart}[2020/02/22 v1.70 Typesetting articles for the Association for Computing Machinery]场景例子\documentclass[sigconf]{acmart}\usepackage{times...
2020-04-26 14:34:43
24695
5
原创 在Latex的$$符号中无法显示数学加号
最终发现原因是:使用mathptm或mathptmx包导致无法显示数学加号"+"。原本导入的packages如下:\documentclass[sigconf]{acmart}\usepackage{times, mathptm}\usepackage{moreverb}\usepackage{graphicx}\usepackage{mathrsfs}\usepackage{...
2020-04-26 14:11:39
6382
2
原创 解决共享文件夹不显示以及VMware-tools的重装问题
环境:Win10VMware Workstation 12虚拟机:Xubuntu 14.04 (内核4.4)问题:之前虚拟机中安装过VMware-tools,可能没有安装完整导致现在开启共享文件夹设置后在虚拟机中无法显示(没有hgfs/目录)。检查虚拟机发现:/usr/lib/vmware-tools目录没有;vmware-config-tools.pl和vmware-unins...
2020-02-25 19:45:49
6208
3
原创 解决Unresolved dependencies: unable to get resource for io.spray#sbt-revolver;0.9.1
系统环境:Windows, scala-2.12.10,JDK-1.8_40D:\workspace\akka-quickstart-scala>sbt.bat 运行后出错部分信息如下:[warn] ::::::::::::::::::::::::::::::::::::::::::::::[warn] :: UNRESOLVED DEPENDENCIES ...
2019-11-10 13:50:46
3122
原创 解决PKIX path building failed: SunCertPathBuilderException: unable to find valid certification path
系统环境:windows, Scala-2.12.10,JDK-1.8_40错误提示:Error while downloading https://repo.typesafe.com/typesafe/ivy-releases/com.lightbend/emoji_2.12/1.2.1/jars/emoji_2.12.jar: sun.security.validator.Valida...
2019-11-10 13:47:01
4170
1
原创 由编译导致的segmentation fault (core dump)
首先说一下,如何project是由Makefile自动compile/build的,应该不是我下面所述场景。我这里所述由编译导致的segmentation fault是在使用compiler单独以命令行编译部分source code生成.o文件再link所有object files的情况下运行生成的可执行文件时发生的。简单说就是,修改了某个头文件(增加了类的成员函数)以及构造函数 (我就重新...
2019-07-26 03:12:50
2416
翻译 打开core dumps [bash: ulimit: core file size: cannot modify limit: Operation not permitted]
Original Site: https://www.akadia.com/services/ora_enable_core.html概述(Overview)In most Linux Distributions core file creation is disabled by default for a normal user. However, it can be necessary t...
2019-07-26 02:50:09
4855
原创 Formt SD Card for SD boot [zynq, zybo z7 boards]
RemarkHow to format SD card for SD boot – by XilinxStep 14: Partitioning the Boot SD Card Using GParted (1GiB for the first partition)Discussion about Booting Zynq from a 64GB SD CardDiscussion ab...
2019-02-01 03:37:27
603
原创 Bringup Zybo-Z7-20 Board Using Petalinux
OS: Ubuntu 16.04 LTSTo create a petalinux project from a given .bsp file, download a released .bsp file from here firstly. I am using Petalinux-Zybo-Z7-20-2017.4-2.bsp.//1. Init petalinux environmen...
2019-01-24 15:19:34
2513
2
原创 Configure the port of UART on XSDK connecting to Zybo-z7-20 under Ubuntu
Connect the PC and Zybo-z7-20 board using Serial-USB cable and power on the board. Use the command dmesg |grep USB to figure out to which port the board is connected.On my PC (ubuntu 16.04), zybo-z7-...
2019-01-16 05:25:51
418
原创 [Solved] There is no currnt hw_target (Cannot connect to Zybo-z7 board by Vivado) under Ubuntu 16.04
I tried to execute the following command with root permission using sudo rather than went to the deepest directory. It didn’t work.That is because ./install_digilent.sh should be called under corre...
2019-01-16 02:51:19
583
原创 Rename network adapter on Ubuntu 16.04 LTS
Step 1I created a new file named 70-persistent-net.rules under the path /etc/udev/rules.d/, like the following command$ sudo vim /etc/udev/rules.d/70-persistent-net.rulesThe texts written in thi...
2019-01-12 03:00:09
359
原创 unresolved dependency: edu.berkeley.cs#firrtl_2.12;1.2-SNAPSHOT: not found
Machine EnvironmentSBT: sbt-1.1.1Scala: scala-2.12.4IntelliJ: IntelliJ IDEA 2018.2.5 (Community Edition)Build #IC-182.4892.20, built on October 16, 2018JRE: 1.8.0_181-8u181-b13-1OS: ubuntu0.16.0...
2018-11-03 14:19:10
1730
原创 如何在lstlisting环境下加粗一行内容——Latex
找到答案了: 通过用逃逸字符设置(如/lstset{escapeinside=“}),可从lstlisting环境跳回到LaTex环境,从而可以使用/textbf{}来加粗一整行内容。例如我刚刚亲测有效的代码:\lstset{language=c, caption={xxxx}, label=inscon, basicstyle=\scriptsize\ttfamily,fr...
2018-08-18 10:33:45
3322
原创 使用xFig画图
简单实用随笔画椭圆:点击画圆形图标后,在画布区域用鼠标中键点击拖拽,结束时点击鼠标左键即可。让画布显示网格:在界面左下角有个Grid Mode, 点击选择相应的视图模式。界面右上角有块区域显示“Mouse Buttons”,它是一个help区域,展示鼠标左中右三个键在启用画图时分别对应什么功能。一个功能的结束要么以鼠标左键结束,要么以鼠标右键结束。例如,“Glue objects in...
2018-08-16 22:23:45
2240
原创 设置图列(key/legend)的位置和大小 --gnuplot
先看几个例子://不显示图例。unset key//设置图例 显示在图形(内)的顶部居中,并且多个图例水平显示。set key top horizontal center//设置图例 显示在图形(外)的顶部居中,并且多个图例水平显示。set key top outside horizontal center//设置图例 显示的字体并加粗。set key font "Times
2017-11-18 14:00:24
25486
原创 设置坐标轴刻度偏移量和刻度文本(tics text)加粗--gnuplot
//设置刻度文本远离坐标轴set xtics offset -3.5,0 font 'Times,19,Bold'//设置刻度文本靠近坐标轴set xtics offset 2.5,0 font 'Times,19,Bold'//设置刻度文本加粗set xtics font 'Bold'offset is the offset of the tics texts from their d
2017-11-18 10:58:19
8206
1
原创 gnuplot中的画布尺寸set size
一开始使用gnuplot来画实验结果图形时,把控制画布大小的命令set size <XX> <YY> //缩放plot相对于画布的大小例如:set size 0.5 1理解为仅仅是坐标轴的尺寸比例(针对上面的例子就是y坐标轴长度是x坐标轴长度的2倍),然而实际上这么理解是错误的。 图行小的话影响不大,如果图形很大就会有影响。 例子中的设置实际是指:绘制图形区域横向使用画布的50%,纵向使用画
2017-11-04 10:34:53
9305
原创 bash的brace expansion(大括号扩展)功能
刚刚在执行find搜索命令时,报错了。。$ find ./ -maxdepth 1 -type f -name *.tracefind: paths must precede expression: eEEProIfconfig.traceUsage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec]
2017-10-27 16:49:16
1789
原创 Ubuntu上通过源码安装QEMU
QEMU是一个多平台虚拟化工具,可以安装在所有Linux平台、OS-X, Win32 (通过Mingw64 工具链)和其他类Unix平台。 其安装步骤如下:首先安装QEMU的依赖库$sudo apt-get install git libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev以out-of-tree的形式编译安装 1$git clone
2017-10-26 22:09:51
1830
原创 查看QEMU支持的模块列表
通过编译安装好QEMU后,可以通过参数 -device help 来查看QEMU支持的设备模块。例如,针对x86_64平台:$ qemu-system-x86_64 -device helpname "VGA", bus PCIname "usb-storage", bus usb-busname "tpci200", bus PCI, desc "TEWS TPCI200 I
2017-10-26 16:45:13
7014
原创 Ubuntu中的两套网络连接管理方式
Linux里面有两套管理网络连接的方案:/etc/network/interfaces(/etc/init.d/networking)Network-Manager这两套方案是冲突的,不能同时共存。 第一个方案适用于没有X的环境,如:服务器;或者那些完全不需要改动连接的场合。 第二套方案使用于有桌面的环境,特别是笔记本,搬来搬去,网络连接情况随时会变的。 -----------
2017-10-19 16:57:48
2244
原创 Antlr4-python3-runtime在ubuntu上的安装
Get the source code from http://www.antlr.org/download.html (或 https://pypi.python.org/pypi/antlr4-python3-runtime/4.6 网址最后的参数4.6即版本号,可修改为对应的版本进行下载)$ sudo tar zxvf ~/Downloads/antlr4-python3-runtime-
2017-10-09 10:56:57
1934
原创 IntelliJ IDE中无法运行java程序
通常我们写程序源代码都是放在src目录下,IDE对项目进行build后就可以直接运行java程序了。 但有时候项目src目录更名了,或有些源代码不放在项目中的src目录下,而放在项目中其他自定义的目录里,这是直接build该project后会发现没有java程序可以运行。参考此处Unable to run Java code with Intellij IDEA 发现,要想让IntelliJ 自动
2017-07-17 22:00:18
50063
3
原创 ANTLR4 java版代码生成指令参数详解
代码生成的指令参数 此处,我的环境是windows。Linux下相似。C:\Users\Jeremy>java -jar c:\Javalib\antlr-4.7-complete.jarANTLR Parser Generator Version 4.7 -o ___ specify output directory where all output is g
2017-07-07 11:32:29
2829
原创 ANTLR4的IntelliJ插件安装及示例Hello.g4
Download:https://plugins.jetbrains.com/plugin/7358-antlr-v4-grammar-plugin 或者从这里http://www.antlr.org/tools.html进入下载。前提安装好 - jdk - IntelliJ配置好ANTLR的java运行时环境(库)。具体见这里插件安装Hello.g4示例在IntelliJ中新建java项目(
2017-07-03 17:34:30
16592
3
MSYS-1.0.11.exe
2016-09-25
AspectC++ 转换源码运行脚本
2016-05-10
AspectC++运行脚本
2016-05-10
EN 50159-2010版
2016-05-06
EN50159- Part2
2016-05-06
EN50159- Part1
2016-05-06
CPNTools 软件
2015-06-05
Linux初学者入门优秀教程
2011-09-17
How to Write makefile
2011-09-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人