latex

latex beamer: prevent showing the TOC at one occasion

无人久伴 提交于 2019-12-10 04:06:44
问题 Normally I use \AtBeginSection[] { \begin{frame}<beamer>{Gliederung} \tableofcontents[currentsection] \end{frame} } in my preamble to achieve that before a new sections starts the TOC is shown with the now starting section highlighted. In the talk I am actually preparing I have one special section for which I do not want this behavior. The transition from the section before should be "silent". All the other sections should start like they do now. I am sure that must be possible. 回答1: In the

Knitr preamble error results in “pandoc document conversion failed with error 43”

冷暖自知 提交于 2019-12-10 02:56:23
问题 Rstudio Version 0.99.441; Windows 7 enterprise; knitr 1.10.5; MiKTex 0.4.5 r.1280 (2.9 64-bit) I have a an error on my office computer when trying to knit PDF's in Rstudio, there are no problems knitting to HTML or word. The problem may be related to updates because knitting used to work fine and my home computer can knit to pdf without issue, however I took my computer home to update and the problem is still there. My error message was as follows "pandoc.exe: Error producing PDF from TeX

Is it possible to write own “packages” for LaTeX?

不打扰是莪最后的温柔 提交于 2019-12-09 22:25:12
问题 As a programmer, I wonder if I could create my own package for LaTeX. I need something like that famous "listings" package, but something that is much more capable for my needs. I look for a listings solution that would watch out for a comment line like // BEGIN LISTING 3122 // END LISTING 3122 No syntax highlighting, but intelligent support for tab indents. That package then would be used with a file name or path, walk through the lines and copy out just the snippets of interest. I am 100%

positions of page numbers, position of chapter headings, chapters AND Table of Contents, References

天涯浪子 提交于 2019-12-09 20:49:39
问题 I am writing my PhD thesis (120+ pages) in latex, the deadline is approaching and I am struggling with layout problems. I am using the documentstyle book. I am posting both problems in this one thread because I am not sure if the solution might be related to both problems or not. Problems are: 1.) The page numbers are mostly located on the top-right of each page (this is correct and where I want them to be). However, only on the first page of chapters and on the first page of what I call

Setting size of the rgl device

不打扰是莪最后的温柔 提交于 2019-12-09 17:38:56
问题 I have a problem with the fullscreen / non-fullscreen of my rgl device. Currently I use R 3.00 I plot a persp3d plot (library rgl) into my device, it opens in a quite small window: The R code: persp3d(x, y, z, theta=50, phi=25, expand=0.75, col=red, ticktype="detailed", xlab="", ylab="", zlab="",axes=FALSE) axes3d(c('x--','z')) axis3d(edge='y+-',at =c(1,500,1000,1500,2000,2320), labels =rownames(fd)[c(1,500,1000,1500,2000,2320)]) Which looks like this: I now rotated it and saved the single

Inkscape screws up EPS files

倖福魔咒の 提交于 2019-12-09 17:28:12
问题 I have been trying to use Inkscape to prepare artwork graphics for my scientific papers. I use LaTeX, and I need my figures to be prepared as high-quality Encapsulated PostScript (EPS) images. The work order is as follows. First, I plot parts of my figure using matplotlib and save them in EPS format. Second, I launch Inkscape and import the EPS files. Using Inkscape I compose a figure, leaving needed objects, killing unneeded, and adding some markups. So I used to do when I worked with

LaTex常用数学符号

感情迁移 提交于 2019-12-09 16:53:35
字母上标 希腊字母 二元关系符 二元运算符 加减乘除等运算 大尺寸运算符 连加号、连乘号等运算 定界符 括号、方括号、大括号等运算 参考资料 https://jingyan.baidu.com/article/4b52d702df537efc5c774bc9.html 来源: https://www.cnblogs.com/letisl/p/12011904.html

Changing git conflict markers

依然范特西╮ 提交于 2019-12-09 16:24:03
问题 Is it possible to change the conflict markers to something user defined? Motivation: It has happened several times to me that, due to hasty and not very careful merging of several branches, there are some left over merge tags in my LaTeX document. With most programming projects these tags would result in an syntax error and therefore I would spot them. However, in Latex the <<<<, ==== and >>>> tags are just compiled into some other character sequences without any warning. To remedy this I

Redefining commands in a new environment

徘徊边缘 提交于 2019-12-09 15:03:04
问题 Two questions: Does LaTeX allow one to (re)define commands within a \newenvironment ? I've tried using \renewcommand , \newcommand and \def in the before declaration but to no avail. How would one redefine \item when creating a new list environment? I've created a new type of list environment from scratch using \newenvironment while using another token instead of \item for each but I'd really like to keep things consistent by using \list and redefining \item . 回答1: Sure; it's hard to know

Print LaTeX Table Directly to an Image (PNG or other)

对着背影说爱祢 提交于 2019-12-09 14:59:57
问题 Is there a way to print, from within R, a LaTeX table directly to an image file (for inclusion in another document/webpage). Basically, I'd like to supply LaTeX code to a function that saves it as an image to the working directory. Pipe dreams? 回答1: There are various LaTeX-to-Image converter scripts, designed to do things like convert equations into images for including on web pages. If you can find one of those (dvipng perhaps?) then you can go from a table in R to LaTeX easy enough and then