-
-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pull-left with parameters? #360
Comments
I also wished this feature existed several years ago, but unfortunately remark.js doesn't support it. You can at most define several CSS classes like |
Thank you @yihui --- I suspected as much... Shame... I'll have a think --- but thanks for your quick reply! |
I wouldn't write an R function, but I'd just write |
Yeah... I think you're right... |
Hi there,
This may be a trivial issue, but is there a way to use elements defined in the
xaringan
css with parameters? To make an easy example,.pull-left
and.pull-right
are defined to havewidth: 47%
(I think that's the default value, not the one that I have made default...). Anyway, of course one can redefine them globally, eg by setting the width to a different value (but, as I understand it, this applies to all.pull-*
elements throughout the slides), or by defining new elements, say.my-pull-*
with set widths (different than the default).But I wonder whether you can do something like I believe is possible in
quarto
, which mimicsLaTeX
and defines a general "environment"columns
, under which you place suitablecolumn
where you can specify the width, egsay, something like
or something?
It may well be a trivial thing to do --- I am probably not that good with css to figure out myself...
Thanks for your help!
Gianluca
By filing an issue to this repo, I promise that
xfun::session_info('xaringan')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('yihui/xaringan')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: