Marginfigure OR embedded latex breaking rmarkdown
See original GitHub issueIf I put the following into a document it stops parsing syntax below the block.
```{marginfigure}
![](/Users/jtth/Dropbox/Proposal/text/draft1/gabor.png)
A Gabor patch. These Gabor patches are described by $g(x,y;\lambda,\theta,\psi,\sigma,\gamma) = \exp\left(-\frac{x'^2+\gamma^2y'^2}{2\sigma^2}\right)\sin\left(2\pi\frac{x'}{\lambda}+\psi\right)$, where $\lambda$ ranges from .01 to .1, $\theta$ ranges from 0 to 90, $\psi = 0, \sigma = 50, \gamma = 1$. Degrees of rotation corresponds with the value of $\theta$ and the spacing between the stripes corresponds with $\lambda$.
It ends with three '`' too.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
6.5 Control the placement of figures | R Markdown Cookbook
This can break the reading flow of a report. We can force the figure to always appear after the text by using the...
Read more >r markdown - Latex: fail to show line breaks in formula with ```\\```
I'm using rmarkdown to knit to pdf. However, line break \\ doesn't take effect. I suspect something is wrong with my package amsmath ......
Read more >How to add LaTeX to Rmarkdown to be within text rather than ...
I am writing text in RMarkdown that includes equations ...
Read more >Markdown Basics
Turn your analyses into high quality documents, reports, presentations and dashboards with R Markdown. Use a productive notebook interface to weave together ...
Read more >15 Common Problems with rmarkdown (and some solutions)
15.15 Your Turn · 15.14 My Figure or Table isn't being cited · 15.13 I want to include inline R code verbatim to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Linter, language-r, r-exec, and tidy-markdown.
Interestingly, replacing
marginfigure
(used with the tufte-template in Rmarkdown) with your version and replacing the quotes with\prime
seems to work. And that is probably better. Thanks for the heads-up; I was taking pandoc’s ability to interpret quote characters and transferring that to the text editor. Some day, maybe.Indeed. Thanks!