Font Size in JupyterLab Presentation Mode for Code Cells

I am using jupyterlab version 4.2.5 and jupyterlab-rise version 0.42.0. I am attempting to change the font size of code cells that is reflected in Presentation Mode. The font size is intolerably small at 12 points.

I’ve tried various attempts, and have not made heads nor tails on how to increase the font size. Everything from modifying the cell’s metadata to putting a rise.css file within the same directory as my notebook. I can increase the font size within the JupyterLab interface without error, but nothing changes in the Presentation Mode.

This brings me to a question: How is this useful to have as a default? I’d say at least 20 point font for most presentations. Seriously. At 12 points, my audience would have to walk up to the screen to see.

Is there an easy way to change this font? Perhaps a workaround? This moment, I’m at a loss for any new ideas.

I’d greatly appreciate any help.

2 Likes

Same issue here. Increasing code cell font size from Theme menu does nothing. This issue defeats the purpose of the presentation mode in Jupyter Lab.

Piling on. I decided to try JupyterLab instead of VSCode to see if I can get better presentation styling. Got to have big presentation font size for that.

You can style things cell-by-cell with CSS, like putting this in a cell:

<center> <span style="color:lightblue; font-size: 30pt"> Title </span> </center>

But that’s definitely less preferable than a global variable that scales presentation-mode font sizes.