自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(21)
  • 收藏
  • 关注

原创 Mac:TexStudio 小BUG总结

不要使用中文下的逗号句号,容易报错aligned下不能有空行,容易报错

2017-12-31 20:35:53 3731

原创 Mac:VSCode XeLatex 配置

配置文件中: 在右侧user处修改以覆盖配置latex-workshop.latex.toolchain "latex-workshop.latex.toolchain":[ { "command": "xelatex", "args": [ "-synctex=1",

2017-12-31 16:19:19 6344

原创 Mac:TexStudio 插入伪代码

\documentclass{article}\usepackage{algorithm} %需要用的库\usepackage{algpseudocode} \begin{document}\begin{algorithm} \begin{algorithmic}[1] \Procedure{gcf}{$a,$b}\Comment{The gcd function}

2017-12-30 17:06:47 2959

原创 Mac:TexStudio 公式对齐

\begin{equation}\begin{aligned}& x = y \\& y = z .......................z\\\end{aligned}\end{equation}

2017-12-27 00:41:15 3043 1

原创 Mac:TexStudio 公式换行

\begin{eqaution}\begin{aligned}x = y \\y = z\end{aligned}\end{equation}

2017-12-27 00:31:11 5071 1

原创 Mac:TexStudio 插入图片

\documentclass[conference, 12pt]{IEEEtran}\usepackage{xeCJK} %提供字体\usepackage{fontspec} %提供字体\setmainfont{Times New Roman}\usepackage{cite} %提供\cite\usepackage{amsmath} %提供\begin\

2017-12-25 23:12:13 15358

原创 Mac:TexStudio 从csv文件创建表格

csvtext.csv文件A,B,C,DABC,XYZ,AB,YesDEF,HKM,BV,NoGHI,MMM,CV,No\documentclass[conference, 12pt]{IEEEtran}\usepackage{xeCJK} %提供字体\usepackage{fontspec} %提供字体\setmainfont{Times New Roman}\usepa

2017-12-25 22:47:00 1241

原创 Mac:TexStudio 标准数学公式

\documentclass[conference, 12pt]{IEEEtran}\usepackage{xeCJK}\usepackage{fontspec}\setmainfont{Times New Roman}\usepackage{cite}\usepackage{amsmath} %提供\begin{equation}\usepackage{amssymb} %提供\subs

2017-12-25 21:59:01 12976

原创 Mac:TexStudio 首行缩进

\usepackage{indentfirst}\setlength{\parindent}{2em}%然后在需要缩进的文段前添加\indent

2017-12-25 16:43:36 6114

原创 Mac:TexStudio 简单公式示例

\documentclass[conference, 12pt]{IEEEtran}\usepackage{xeCJK}\usepackage{fontspec}\setmainfont{Times New Roman}\usepackage{cite}\begin{document}\title{题目}\author{\IEEEauthorblockN{作者}\IEEEauthorbloc

2017-12-25 14:14:37 7247

原创 Mac:TexStudio 添加论文引用

添加引用需要额外添写一个文件ieetutorial.bib%一条引用记录@INPROCEEDINGS{sample1,author={作者},booktitle={书名},title={论文名},year={},volume={},number={},pages={},keywords={},doi={},ISSN={},}\documentclass[conference,

2017-12-25 14:07:20 3586

原创 Mac:TexStudio 中文论文模版

使用XeLatex编译\documentclass[conference, 12pt]{IEEEtran}\usepackage{xeCJK}\usepackage{fontspec}\setmainfont{Times New Roman}\begin{document}\title{论文题目}\author{\IEEEauthorblockN{名字}\IEEEauthorblockA{实验

2017-12-25 13:59:51 9584

原创 Mac:TexStudio environ not found

使用tlmgr安装sudo tlmgr install environ

2017-12-22 15:31:59 492

原创 Mac:TexStudio I3 too old

更新所有包:sudo tlmgr update --all

2017-12-22 15:28:38 304

原创 Mac:TexStudio ctex.sty not found

下载sty文件:https://ctan.org/pkg/ctex拷贝到/usr/local/texlive/2016basic/texmf-dist/tex/latex/ctex/刷新配置sudo texhashsudo mktexlsr查看宏包信息sudo tlmgr info ctex

2017-12-22 15:06:24 7103

原创 UVa 508 摩斯码匹配单词

/** 20171215*//*multi match !need make up ?than same*/#include <cstdio>#include <cstring>#include <algorithm>using namespace std;char sC[30][10];char sN[20][10];char ans[1000][1000];char mtc

2017-12-15 15:35:37 340

原创 UVa1590 找最小子网掩码,和子网ip

/** 20171214*//*注意:1,数字没有前导零,数字长度不一;2,数字会出现0的情况;3,注意初始化数组,因为要用0来结束字符串;*/#include <cstdio>#include <cstring>#include <algorithm>using namespace std;#define maxn 1005char str[maxn][40];int m;in

2017-12-14 19:40:23 944

原创 C/C++:a&1 and a%2 problem

int a = 11;char b = '0' + a%2;char c = '0' + a&1;printf("(%c) (%c) (%d)\n",b,c,c);return 0;此时输出: (1) () (1) 为什么第二个没有输出? 难道int转char强制类型转换出了问题?

2017-12-14 15:46:00 1115

原创 Mac:miss xcrun

xcode-select –install

2017-12-12 00:01:54 699

原创 Codeforces 896A

/** 20171205*/#include <cstdio>#include <algorithm>#include <cstring>using namespace std;char F[] = "What are you doing at the end of the world? Are you busy? Will you save us?";char A[] = "What a

2017-12-07 00:54:10 330

原创 Mac:VSCode 批量替换快捷键

command+F2

2017-12-06 23:40:46 41404 7

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除