Code Monkey home page Code Monkey logo

Comments (8)

AB1908 avatar AB1908 commented on June 26, 2024

Can you post the source?

from tufte-css.

 avatar commented on June 26, 2024

The file is located at my PC. I downloaded the css file from https://github.com/edwardtufte/tufte-css, renamed it, modified font size, font color, and used it at yaml.

output:
  tufte::tufte_html:
    css: css\tufte_v03.css

Could you reproduce the problem by using such tufte.css?

from tufte-css.

AB1908 avatar AB1908 commented on June 26, 2024

I can't say I've run into this but it looks like styling rules are being applied twice. We'd need more info about you're applying the CSS and what your HTML looks like.

from tufte-css.

 avatar commented on June 26, 2024

I can't say I've run into this but it looks like styling rules are being applied twice. We'd need more info about you're applying the CSS and what your HTML looks like.

I am not sure how I share the html file with the associated css file. email to you?

from tufte-css.

AB1908 avatar AB1908 commented on June 26, 2024

Paste here whatever HTML you used to generate the screenshot above. E.g.

<p> sample preparation equipment <sup>2</sup></p>

from tufte-css.

 avatar commented on June 26, 2024

Paste here whatever HTML you used to generate the screenshot above. E.g.

<p> sample preparation equipment <sup>2</sup></p>

I wrote it this way in R Markdown:

sample preparation equipment ^[test]

from tufte-css.

 avatar commented on June 26, 2024

Please be noted that I replaced the default tufte_html css setting in YAML with a specific CSS file in a folder for this file as follows. I assume that it caused the problem.

output:
  tufte::tufte_html:
    css: css\tufte_v03.css

The reason is this. If I do not change the default tufte_html css setting in YAML, but add the following to the R Markdown file:

<style type="text/css">
...
...
</style>

I don't have any problem with the side notes.

from tufte-css.

AB1908 avatar AB1908 commented on June 26, 2024

It may be an issue with your static site generator. Sadly, I'm not well versed in what's happening here and use pandoc to generate my HTML so I won't be of much help.

from tufte-css.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.