how to insert pipe symbol in TeX?

How to insert pipe symbol | in TeX (LaTeX)?

reverse notes order in org mode

I make my notes in this order: * FIRST * SECOND * THIRD ... * LAST what I want when I export to html or latex is the reverse order: * LAST ... * FIRST so is there any way or command to...

How to use different font types for math text and regular text using matplotlib?

I am using the ieeconf latex class to write a document. To generate the plots for the document, I use matplotlib 1.2. For some reason, the ieeconf class uses Times font for regular text and...

How to (intermittently) skip certain cells when running IPython notebook?

I usually have to rerun (most parts of) a notebook when reopen it, in order to get access to previously defined variables and go on working. However, sometimes I'd like to skip some of the cells,...

Code chunk font size in Rmarkdown with knitr and latex

In knitr, the size option works fine in a .Rnw file, the following code generates: \documentclass{article} \begin{document} <<chunk1, size="huge">>= summary(mtcars) @ \end{document} However,...

Error when generating R package manual

I having the following issue when trying to check a package using the command line. First I get this very general error message: * checking PDF version of manual ... WARNING LaTeX errors when...

Including Bibliography in RMarkdown document with use of the knitcitations

I'm trying to use knitcitations and add bibliography to the R Markdown document that I'm drafting in R Studio. The header of my document looks like this: --- title: "Some Title" author: "Me" date:...

inconsolata missing to build R vignette

On ubuntu 14.04 with texlive, checking an R package, for example with devtools check() would return : LaTeX errors found: ! LaTeX Error: File `inconsolata.sty' not found. Type X to quit or...

In Sphinx, how do I hide the section numbers when producing a LaTeX PDF?

The documentation says that "Numbering up to a specific depth is also possible, by giving the depth as a numeric argument to numbered," which is a toctree option. But giving it a depth of 0 or 1...

How to interrupt an incremental list of items in Rmarkdown, then retake it after a plot or figure?

I'm really interested in interrupting incremental lists of items created in Rmarkdown with RStudio, to show plots and figures, then retake the list highlighting. This is quite straightforward in...

Code chunk font size in Beamer with knitr and latex

I am trying get some R code to fit on my beamer slides. It does not seem possible to change the font size via the size argument for the code chunk as you might do for other knitr type documents....

Tufte-style beamer presentations in Rmarkdown?

I'd love to make "beamer presentations" Tufte-style in Rmarkdown. There I can put in the YAML header either output: beamer_presentation or output: tufte::tufte_html: default ...

Multiple subfigures in a row in a LaTeX document

I am trying to insert four figures in a LaTeX document but if I use subfigure command, two of my figures stay in first row and the other two go to the second line. Like this : The other solution...

How can I format long division of polynomials in MathJax?

I try to format my math like this in MathJax: How can I do long division of polynomials in MathJax?

Enable xelatex in Latex Workshops for Visual Studio Code

I have a template, which defines all the typesetting recommendations for thesis, but it uses xelatex for compilation. I want to continue using VS Code with Latex Workshops, question is how to...

Using conda to install LaTeX on Mac

Is there a way to use conda to install LaTeX on a Mac? I use Spyder and I am having trouble getting LaTeX to work to format figures. I tried just downloading LaTeX from http://www.tug.org/mactex/,...

How to change the font size of a caption in Beamer

I would like to add a caption that can be really small (footnotesize) and be aligned with the image. I used these...

Create a .bib file from bibitem (thebibliography)

I have like 200 bibitem entry in the environment \begin{thebibliography} \bibitem{Bermudez} Berm\'udez, J.D., J. V. Segura y E. Vercher (2010). \emph{Bayesian forecasting with the Holt-Winters...

Remove PDF metadata (removing complete PDF metadata )

I want to remove metadata from PDF files. I have already tried to use "exiftool", "pdftk" and "qpdf" to remove the metadata (method proposed - https://gist.github.com/hubgit/6078384 ). These tools...

How can I center align only one author amongst three other authors in Latex

If I have four authors in a conference (IEEETran) paper, how can I center align only the last one of them? \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts % The preceding line...

How to add page numbers on rmarkdown beamer slide under theme: "boxes"?

Using rmarkdown beamer, I try to add slide number at the bottom of each slide but keep failing. Is there anyway I can add slide number on each page under beamer theme called "boxes"? --- title:...

Get Keras model.summary() as table

I have quite huge model created in Keras and I am writing an article in LaTeX about that. To nicely describe the keras model in LaTeX I want to create a LaTeX table out of it. I can achieve it by...

Incremental Slides with Code/Figures in Rmarkdown to Beamer Presentation

I'm trying to output a beamer_presentation in Rmarkdown, where I'd like to show a code chunk, and then, on click, show the figure as a result of that code chunk. I know "xarigan" package allows...

RStudio Sweave error -> exit code -1073740791

I have problem with running my .rnw (I am running Sweave) files in RStudio due to this error message: Writing to file test.tex Processing code chunks with options ... You can now run (pdf)latex...

7 DOF Inverse kinematics with jacobian matrix in python

I am having problem calculating dtheta. to calculating the dtheta this is a following code according to my lecture Guess initial jointangles θ Solve the equation J∗dθ=dp=pf−pi Increment...

Error embedding image in jupyter and exporting it to PDF with nbconvert

I have a Jupyter notebook and I am exporting it with nbconvert to PDF. When I do it, if I incorporate images, it gives me an error. I do it with edit -> insert image, and save the image in the...

Fontsize in custom class with XeLatex and fontspec

I'm working on a couple of latex templates that belong together (letter, article, report). I've achieved nearly all my objectives except for a single one, having the font size change using the...

Docstrings are not included in Read the Docs Sphinx build

I built a Sphinx documentation and the build works well locally. My docstrings appear as shown below. When moving to readthedoc.io, I added a specific requirement file under docs/requirement.txt...

Recipe terminated with fatal error: spawn latexmk ENOENT

I have just installed debian 10 as well as vscode. I have been struggling with this for 3 days now.. I installed texlive from terminal with the following command: sudo apt install texlive I then...

Citations in KableExtra table missing when format = "latex" and using custom csl

After updating a Bookdown project to include a custom .csl file for citations, citations included within a kableExtra table stop working but only when format = "latex" when creating a PDF...