latex

latex 论文模板

本秂侑毒 提交于 2019-12-22 02:42:24
https://blog.csdn.net/parked/article/details/82773464 华东师范大学数学系 LaTeX 教学课程网页:http://math.ecnu.edu.cn/~latex/ 武汉大学硕博士毕业论文 LaTeX 模板:https://github.com/netspaces/LaTeX-Template-Cn/tree/master/Thesis/WHU 收集互联网上各种实用 LaTeX 中文模版:https://github.com/netspaces/LaTeX-Template-Cn 国外模板网站:http://www.latextemplates.com/ 来源: CSDN 作者: ujn20161222 链接: https://blog.csdn.net/ujn20161222/article/details/103641667

ubuntu18.04中搭建latex环境

纵饮孤独 提交于 2019-12-22 01:32:13
安装texlive(在这过程中可能需要一个小时的时间) texlive的作用相当于是编译器。编辑器中的内容经过编译器编译之后会生成pdf文档。 sudo apt-get install texlive-full 安装texmaker texmaker的相当于是编辑器。可以对各种格式的LaTex指令和论文的内容进行编辑,这些内容经过编译(编译的时候会调用前面已经安装的texlive,快捷键是F1,也可以在工具栏中依次点击 工具–》快速构建)之后会生成pdf文档。 sudo apt-get install texmaker 打开textmaker 在linux系统中,重要的是首先要将构建命令改为XeLaTex,这样在编译的时候就不会报错了,如下图。 演示插入图片,上下标 _后面跟的是下标,^后面跟的是上标。 \documentclass[UTF8]{ctexart} \usepackage{graphicx} %调用graphicx宏包 \begin{document} \begin{figure}[ht] \includegraphics[scale=0.6]{demo.png} \caption{这是演示图片} \end{figure} \section{这是一个段落} $a_{\frac{3}{4}}^n$ $a^n_{\frac{3}{4}}$ \section{这是第二个段落

LaTeX技巧 twocolumn 双栏

余生长醉 提交于 2019-12-22 00:43:01
twocolumn状态下怎么实现onecolumn的footnote,即双栏中如何排版通栏脚注。 查了些资料都没找到解决的方法,是不是有什么方便的宏包?还是要怎么设置一下就OK了? 参看: http://bbs.chinatex.org/forum.php?mod=viewthread&tid=3586&page=1&extra=#pid9792 问题解决方案: 日本人 93 年写的宏包即:1-in-2.sty。 测试文件和宏包下载地址: http://cid-3cfe530319707374.office.live.com/self.aspx/ChinaTeX/1-in-2/1-in-2test.rar 测试代码如下: % sample is here : 1-in-2.tex % \documentclass[twocolumn]{article} % \usepackage{1-in-2} \textwidth=420pt \textheight=600pt \columnsep=20pt \newcommand{\bs}{{\tt\symbol{'134}}} \newcommand{\fat}[1]{\mbox{\boldmath{$#1$}}} % \title{{\sc One-Column Abstract and Footnote \\ in the Two

How to insert an image into Anki notes in latex format?

馋奶兔 提交于 2019-12-21 22:15:49
问题 I am trying to create an Anki deck with, for example, a word on the front. Then I add the word with definitions on the back with a picture as well. But I am having trouble including graphics when there are already two fields (front text and back text). Here is an example note: \begin{note} \begin{field} \textbf{\large ruminate} \end{field} \begin{field} \textbf{\large ruminate} \begin{description} \item[verb] \hfill \\ chew the cuds \item[verb] \hfill \\ reflect deeply on a subject \end

latex: dollar $ sign within lstlising

懵懂的女人 提交于 2019-12-21 21:14:37
问题 I am trying to put some asm code into a latex document, onfurtunatly pdflatex treats the $ signs within my document as math env (which I do not want). On the other side I'd still like to use that fancy linebreak arrow (which uses math env to display it). \lstset{ texcl=false, mathescape=false, .., prebreak = \raisebox{0ex}[0ex][0ex]{ensuremath{\hookleftarrow}} } example snap: CTRL_WD_12 equ $303400 CTRL_WD_34 equ $220000 CTRL_WD_56 equ $000000 CTRL_WD_78 equ $000000 thanks for any help. 回答1:

Sublime Text 3 LaTeXTools plugin won't compile on Ubuntu

让人想犯罪 __ 提交于 2019-12-21 21:09:01
问题 I've been a fan of the LaTeXTools plugin for Sublime Text for a while. However, the author recently updated the plugin, and it will no longer build my LaTeX documents. I'm wondering if anyone else has had this problem and knows how to fix it? Here's the full console output that I'm getting: [Compiling /home/tingley/Dropbox/testtex.tex] TraditionalBuilder: Invoking latexmk... COULD NOT COMPILE! Attempted command:latexmk -cd -e $pdflatex = 'pdflatex -interaction=nonstopmode -synctex=1 %S %O' -f

Stem-and-Leaf from R into LaTeX

非 Y 不嫁゛ 提交于 2019-12-21 20:27:13
问题 High school statistics teacher here, so sorry for the simple question (or maybe not so simple). I'm running R to create a stem-and-leaf plot. I'm trying to turn a stem-and-leaf output from stem() into LaTeX. Here is what I've got so far: y<- c(50, 26, 31, 57, 19, 24, 22, 23, 38, 13, 50, 13, 34, 23, 30, 49, 13, 15, 51) stem(y) I've tried to use xtables (because it works for my simple two-way tables) as such: print(xtable(stem(y)), type="latex", latex.environments=c("center"), tabular

Can't knit to pdf with custom styles

淺唱寂寞╮ 提交于 2019-12-21 17:49:33
问题 Trying to knit to pdf from RStudio using a custom mystyles.sty file. This used to work fine but now that I have upgraded to RStudio 1.044 I get an error. Example: --- title: "Test" output: pdf_document: includes: in_header: mystyles.sty --- ## R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>. When you click the **Knit** button a document will

how to turn a DVI to tex?

怎甘沉沦 提交于 2019-12-21 17:36:58
问题 Any idea how to take DVI files and turn them into tex? 回答1: This is similar to the problem of turning PDF into XML which is referred to as "trying to turn a hamburger back into a cow". Both TeX->DVI and XML->PDF lose information, both in the structure of the document and its semantics. It requires a great deal of heuristics and a large corpus to recreate (some of) the original document. It is never usually 100%. The text strings may be possible, the vectors are harder. Bitmaps are almost

glossaries package and footnote in LaTeX

喜夏-厌秋 提交于 2019-12-21 16:59:07
问题 I am currently stuck, having two separate glossaries: main & acronyms . Acronyms glossary prints footnotes on first use in the text, but main glossary does not. Is there any way to make any other glossary than acronyms to print footnote on first use of the term? I don't get how to do it. Here is the code example compiled with TeXnic Center and MiKTeX 2.7: \documentclass{article} \usepackage{index} \usepackage[toc,style=long3colheaderborder,footnote,acronym]{glossaries} \makeindex