latex

SymPy print only function name

自作多情 提交于 2021-02-04 21:10:45
问题 I'm trying to do some symbolic calculations in SymPy but I'm unable to use latex printing and get the graphical output I want. That has always troubled me and have spent several hours (perhaps days) trying to fine a way to customize how objects are printed (in LaTeX, in pprint representation it's well documented). However, in this case I'm trying to make symbolic calculations on an Undefined Function, psi, which depends on x, y, z. However, those calculations imply terms which have up to

SymPy print only function name

試著忘記壹切 提交于 2021-02-04 21:09:25
问题 I'm trying to do some symbolic calculations in SymPy but I'm unable to use latex printing and get the graphical output I want. That has always troubled me and have spent several hours (perhaps days) trying to fine a way to customize how objects are printed (in LaTeX, in pprint representation it's well documented). However, in this case I'm trying to make symbolic calculations on an Undefined Function, psi, which depends on x, y, z. However, those calculations imply terms which have up to

kableExtra HTML styling in Rmarkdown and kable_save()

眉间皱痕 提交于 2021-01-29 22:20:41
问题 This has plagued me for too long, I would appreciate help. I have been investing time into kable, but it hasn't quite worked out for me the way I would like. I am looking to create multi grouped rows as in the image The code to do this is as follows: collapse_rows_dt <- expand.grid( District = sprintf('District %s', c('1', '2')), City = sprintf('City %s', c('1', '2')), State = sprintf('State %s', c('a', 'b')), Country = sprintf('Country with a long name %s', c('A', 'B')) ) collapse_rows_dt <-

kableExtra HTML styling in Rmarkdown and kable_save()

99封情书 提交于 2021-01-29 21:49:10
问题 This has plagued me for too long, I would appreciate help. I have been investing time into kable, but it hasn't quite worked out for me the way I would like. I am looking to create multi grouped rows as in the image The code to do this is as follows: collapse_rows_dt <- expand.grid( District = sprintf('District %s', c('1', '2')), City = sprintf('City %s', c('1', '2')), State = sprintf('State %s', c('a', 'b')), Country = sprintf('Country with a long name %s', c('A', 'B')) ) collapse_rows_dt <-

Viewing log files written to the filesystem on Heroku

只谈情不闲聊 提交于 2021-01-29 14:57:03
问题 I have a gem (rails-latex) that is not functioning correctly on my app deployed to Heroku but works fine on my local app. I succeeded in installing pdflatex on Heroku so that is not the issue. To debug this further, I would need to see the log file described in the Heroku logs 2014-03-23T04:32:21.431646+00:00 app[web.1]: This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) 2014-03-23T04:32:21.431646+00:00 app[web.1]: \write18 enabled. 2014-03-23T04:32:21.450999+00:00 app[web.1]:

Secondary axis in ploty for R and Shiny

戏子无情 提交于 2021-01-29 13:00:38
问题 EDIT: Regarding my question 2, it seems it is a bug and hasn't been fixed yet as it is not their top priority at the moment. Someone asked to try katex instead of latex, but not sure how that works https://github.com/plotly/plotly.js/issues/559 I have attached an output for a code- https://i.stack.imgur.com/u65if.jpg. I am trying to plot two y axis and a common x axis using plotly. The issues I am facing are: I would like the primary and the secondary y axis ticks to share the same gridline.

Secondary axis in ploty for R and Shiny

烂漫一生 提交于 2021-01-29 12:07:24
问题 EDIT: Regarding my question 2, it seems it is a bug and hasn't been fixed yet as it is not their top priority at the moment. Someone asked to try katex instead of latex, but not sure how that works https://github.com/plotly/plotly.js/issues/559 I have attached an output for a code- https://i.stack.imgur.com/u65if.jpg. I am trying to plot two y axis and a common x axis using plotly. The issues I am facing are: I would like the primary and the secondary y axis ticks to share the same gridline.

Using pos option in chemnum changes the size of some labels

自闭症网瘾萝莉.ら 提交于 2021-01-29 10:30:24
问题 I am using pos options to change the alignment of chemnum tags. However, it changes the size of the labels. It appears to negate the defined font size in the preamble. What options am I missing? MWE eps file: https://drive.google.com/file/d/1ePJGhcUoorYQgAN_DR0A89RZFwWnIGtm/view?usp=sharing MWE code: \documentclass[12pt]{report} \usepackage[crop=off]{auto-pst-pdf} \usepackage{chemstyle} \usepackage{chemnum} \usepackage{ifpdf} \ifpdf \usepackage{tikz} \fi \setchemnum{ replace-style = \fontsize

How to show all DataFrame/ table columns for wide tables while exporting as pdf from Jupyter using nbconvert?

↘锁芯ラ 提交于 2021-01-29 08:34:39
问题 This question is linked to Jupyter nbconvert LaTex Export Theme I am trying to export my Jupyter Notebook as a .pdf using nbconvert through the terminal (on Mac). I already created a .tplx template that will hide the code and show only outputs and markdowns. # this is my jupyter notebook heading pd.set_option('display.notebook_repr_html', True) pd.set_option('display.expand_frame_repr', True) pd.set_option("display.latex.repr", True) pd.set_option("display.latex.longtable", True) pd.set

page numbers in beamer output from R markdown

感情迁移 提交于 2021-01-29 06:20:45
问题 I am trying to add page numbers to my beamer presentation. I am using the following code in Rmarkdown (see below). The problem is that the page numbers are cut off. I have tried using geometry to adjust the dimensions but i keep getting an error message that they are incompatible. Does anyone have any ideas? I have spent hours searching for a solution. --- title: my title author: "me" date: "May 05, 2016" output: beamer_presentation header-includes: - \usepackage{fancyhdr} - \pagestyle{fancy}