Latex 技巧_11 Texlive配置华文新魏字体 安装字体配置texlive 的模板时,发现系统没有STXinwei 字体,但是在系统安装了ttf 和 otf 都没有解决这个问题,最后直接把字体文件设置为公共获取;在\texmf-dist\fonts\opentype\public中粘贴字体文件 STXinwei.otf 然后直接运行texlive 即可。环境:texlive 2021; Emacs+CDlatex; xelatex engine....
Latex 技巧_10 CDLatex 中文论文设置 用 Emacs 写中文论文的两个方法这两个都是基于 XeTeX 的引擎,该引擎需要 UTF-8 的编码。如果文件开始不是 UTF-8 编码,需要使用命令转换编码。注意转换完后需要重新启动 XeTeX 引擎。方法一:使用 ctexart.cls 直接进行书写。\begin{document} {ctexart}方法二:不修改原来 .tex 文件内容,引入包:\usepackage{xeCJK}...
Latex 技巧_8 Emacs 配置 latex Emacs+auctex+ TeXlive2021+cdLaTeX官网下载安装 Emacs, TeXlive, Sumatra PDFEmacs 安装auctex 包安装cdlatex.el设置源文件与 PDF 正反向搜索其他官网下载安装 Emacs, TeXlive, Sumatra PDF直接官网下载合适的版本,普通安装即可。设置 Sumatra PDF 为默认PDF阅读器。Emacs 安装auctex 包// An highlighted blockM-X package-list-pack
Latex 技巧_7:梯形表格的绘制 梯形表格绘制`\resizebox{\textwidth}{18mm}{ %防止表格过宽 \renewcommand{\arraystretch}{1.5} %为了美观,不用的话内容会和上表格线距离过近 \begin{tabular}{|p{2.5cm}<{\centering}|p{2.5cm}<{\centering}|p{2.5cm}<{\centering}|p{2.5cm}<{\centering}|p{2.5cm}<{\centering}|p{2.5cm}
Latex 技巧_6:纸张横排和页边距 \documentclass[runningheads]{article}%\usepackage{graphicx}\usepackage{color}%%packages:\usepackage{amsthm,amsmath,amssymb}\usepackage{enumerate}**\usepackage[landscape]{geometry}** %纸张横排**\geometry{left=0.1cm,right=0.1cm,top=3cm,bottom=1cm}**%页边距:
Latex 技巧_5: 表格的列宽限制 \begin{table}[h] \centering \begin{tabular}{p{2.3cm} p{12cm} p{5.8cm} p{3.5cm} } \toprule Reporter & Title & Authors & Journal/Conference \\ \midrule 1u & 1 & 1 & 1 \\ 1 & 1\"{o}1 & 1 \\
Latex 技巧_3:在边上画label 如何在一条边上写label。\begin{figure}[h] \centering \begin{tikzpicture}[scale=.5] \tikzstyle{state}=[filled vertex] ode[state] (a) at (1,1.7) {}; ode[state] (b) at (0,0) {}; \draw[thick,violet] (a)--(b); ode at (0.26,1)
Pat 1014 Waiting in Line (30) Each input file contains one test case. Each case starts with a line containing 4 positive integers: N (<=20, number of windows), M (<=10, the maximum capacity of each line inside the yellow line), K (<=1000, number of customers), and Q (<=1000
Partition Refinement (in writing ...) Recently, i am studying the data structure of Partition Refinement. It is an useful technique to partition set. The main application of the technique is as follows:Q\textbf{Q}Q: Given two sets SSS and XXX, how to find S∩XS \cap XS∩X and S∖XS \setminus XS∖
魔方七步还原口诀 默认 第一层拼好,上层顺勾逆回,右层顺上逆下,前层顺顺逆提, 下层顺天逆地, 左层顺正逆反。使用口诀的时候有些地方要进行翻的操作,e.g., 对中的操作,需要考虑已经对好的中的位置,适时翻转(不详细展开),具体操作请参阅https://jingyan.baidu.com/article/f54ae2fcde34be1e92b849d4.html,口诀如下:左: 勾上回下 回提勾顺(回提勾顺勾上回下)十:顺 上勾下回 提中:上勾下勾 上勾勾下半:勾上回反 勾下回正完:下天上地.