Skip to content
Discussion options

You must be logged in to vote

Using CSS you can achieve custom column-width

---
title: "ECON526: Quantitative Economics with Data Science Applications"
subtitle: "Probability, Uncertainty, and Stochastic Processes"
author: "Jesse Perla"
format: revealjs
include-in-header:
  - text: |
      <style>
      .reveal .custom3070 > div.column:first-child {
        width: 30%;
      }
      .reveal .custom3070 div.column:not(:first-child) {
        width: 70%;
      }
      </style>
---

## Binomial

```{python}
#| classes: custom3070
#| echo: true
#| output-location: column
#| code-line-numbers: "4-6"
import matplotlib.pyplot as plt
import numpy as np
import scipy.stats
u = scipy.stats.binom(10, 0.5)
grid = np.arange(6)
u_pm…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jlperla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
revealjs Issues with the revealjs format themes Related to HTML theming or any other style related issue (like highlight-style)
2 participants