ale

How can small-scale farmers benefit from trees on farms?

The adoption of agroforestry at scale in India by smallholders is currently stymied by ecological and socio-economic factors




ale

Scientists found a bacteria tricked a wasp to get rid of its males

A new study reports Wolbachia may have taken it a bit too far, after scientists found it manipulated the evolution of Encarsia formosa wasps




ale

Jabong sales up 14% in March quarter




ale

Sensex scales 27,000-mark after seven-month hiatus




ale

RBI adds 13 firms to its Alert List of unauthorised Forex trading platforms




ale

Mild tremors at magnitude 3.3 on richter scale in Krishnagiri

Mild tremors were registered in and around Pochampalli in Krishnagiri and parts of Dharmapuri




ale

Vasan urges T.N. govt. to take steps to end illegal sale of narcotic drugs

He expressed concerns over the future of a section of students and youth who were allegedly involved in using and selling such banned substances




ale

Co-encapsulation of organic polymers and inorganic superparamagnetic iron oxide colloidal crystals requires matched diffusion time scales

Soft Matter, 2024, 20,8312-8325
DOI: 10.1039/D4SM00935E, Paper
Open Access
Brian K. Wilson, Robert K. Prud’homme
Composite nanoparticles co-encapsulate organic materials with inorganic primary colloids. Producing “stoichiometric NPs”, where all NPs contain organic and inorganic species at similar ratios, requires matched diffusion-aggregation time scale.
The content of this RSS Feed (c) The Royal Society of Chemistry




ale

Long range signature of liquid's inertia in nanoscale drainage flows

Soft Matter, 2024, Advance Article
DOI: 10.1039/D4SM01006J, Paper
Nathan Bigan, Mathieu Lizée, Marc Pascual, Antoine Niguès, Lydéric Bocquet, Alessandro Siria
In confinement, liquid flows are governed by a complex interplay of molecular, viscous and elastic forces.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




ale

Optimality and cooperativity in superselective surface binding by multivalent DNA nanostars

Soft Matter, 2024, 20,8515-8523
DOI: 10.1039/D4SM00704B, Paper
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Christine Linne, Eva Heemskerk, Jos W. Zwanikken, Daniela J. Kraft, Liedewij Laan
Our study shows that DNA nanostars with three binding sites (ligands) can (1) bind superselectively to surfaces based on receptor density, and (2) that interactions between ligands affect the optimum number of ligands required for superselectivity.
The content of this RSS Feed (c) The Royal Society of Chemistry




ale

Scale-dependent interactions enable emergent microrheological stress response of actin–vimentin composites

Soft Matter, 2024, Advance Article
DOI: 10.1039/D4SM00988F, Paper
Julie Pinchiaroli, Renita Saldanha, Alison E. Patteson, Rae M. Robertson-Anderson, Bekele J. Gurmessa
The unique mechanical behaviors of actin–vimentin composites in both linear and nonlinear regimes are shaped by the complex interactions among actin entanglements, vimentin crosslinking, and poroelastic properties.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




ale

Revealing microscale bulk structures in polymer–carbon nanocomposites using spin-echo SANS

Soft Matter, 2024, 20,8663-8674
DOI: 10.1039/D4SM00578C, Paper
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
L. V. Tiihonen, M. P. Weir, A. J. Parnell, S. C. Boothroyd, D. W. Johnson, R. M. Dalgliesh, M. Bleuel, C. P. Duif, W. G. Bouwman, R. L. Thompson, K. S. Coleman, N. Clarke, W. A. Hamilton, A. L. Washington, S. R. Parnell
Spin-echo small-angle neutron scattering (SESANS) revealed structure in polymer–carbon nanocomposites over multiple length scales with unprecedented range (10 nm–16 μm). Data from two SESANS instruments and other methods were analysed with SasView.
The content of this RSS Feed (c) The Royal Society of Chemistry




ale

Confined bicontinuous microemulsions: nanoscale dynamics of the surfactant film

Soft Matter, 2024, 20,8692-8701
DOI: 10.1039/D4SM00925H, Paper
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Margarethe Dahl, Olaf Holderer, René Haverkamp, Ingo Hoffmann, Kathleen Wood, Jessica Hübner, Thomas Hellweg, Stefan Wellert
A confined bicontinuous C10E4–D2O–n-octane microemulsion is studied using neutron spin echo spectroscopy (NSE). The pore size of the confining matrices determines the dynamics of the confined bicontinuous microemulsion.
The content of this RSS Feed (c) The Royal Society of Chemistry




ale

Structure affinity of the Langmuir monolayer and the corresponding Langmuir–Blodgett film revealed by X-ray techniques

Soft Matter, 2024, 20,8601-8609
DOI: 10.1039/D4SM01050G, Paper
Alvina V. Alexandrova, Maxim A. Shcherbina, Yuriy L. Repchenko, Yuriy M. Selivantiev, Alexander V. Shokurov, Vladimir V. Arslanov, Sofiya L. Selektor
Using X-ray techniques, crown-substituted chromoionophore Langmuir–Blodgett films were proved to preserve the fine structure and functional features of pre-organized monolayers.
The content of this RSS Feed (c) The Royal Society of Chemistry




ale

A multi-scale framework for predicting α-cyclodextrin assembly on polyethylene glycol axles

Soft Matter, 2024, Advance Article
DOI: 10.1039/D4SM01048E, Paper
Open Access
Cameron D. Smith, Chenfeng Ke, Wenlin Zhang
We predict the assembly and time-dependent distribution of cyclodextrin along PEG axles by combining atomistic molecular dynamics with an analytical treatment of bulk diffusion. Our kinetic Monte Carlo can aid in the design of polypseudorotaxanes.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




ale

Scale-dependent sharpening of interfacial fluctuations in shape-based models of dense cellular sheets

Soft Matter, 2024, Accepted Manuscript
DOI: 10.1039/D4SM00804A, Paper
Haicen Yue, Charles Packard, Daniel Sussman
The properties of tissue interfaces – between separate populations of cells, or between a group of cells and its environment – has attracted intense theoretical, computational, and experimental study. Recent...
The content of this RSS Feed (c) The Royal Society of Chemistry




ale

Effects of Hydration Water on Bioresponsiveness of Polymer Interfaces Revealed by Analysis of Linear and Cyclic Polymer–Grafted Substrates

Soft Matter, 2024, Accepted Manuscript
DOI: 10.1039/D4SM00977K, Paper
Open Access
Shin-nosuke Nishimura, Naoya Kurahashi, Shohei Shiomoto, Yoshihisa Harada, Masaru Tanaka
Given that the hydration water of polymer matrices may differ from that of outermost polymer surfaces, processes at biomaterial–biofluid interfaces and role of hydration water therein cannot be adequately examined...
The content of this RSS Feed (c) The Royal Society of Chemistry




ale

A Modern Typographic Scale

Rob Weychert reaches for the top notes to sing us a song of typographic scale. A little attention to scale and to the mathematics will help you to hit a high note with your designs this Christmas and beyond.


I’ve been studying music theory this year. While some of its core concepts were already familiar to me, much of their specifics were not. Or so I thought. A funny thing happened when I was learning the major scales.

While playing through a song I had written some years before, I started picking it apart to see how it correlated with the theory I was learning. I had composed the melody without any thought to what the specific notes were, but as I started to transcribe them, a pattern quickly emerged: all the B’s and E’s were flat and the rest of the notes were natural. Lo and behold, long before my music theory studies began, I had written a song in B♭ major. My ears already knew how the major scales worked even if my brain didn’t. (If you know how “do re mi fa so la ti do” is supposed to sound tonally, then your ears know, too.)

When music is composed to a scale, it sounds “right” to us. And just as our ears appreciate harmony and melody with a rational basis, our eyes can appreciate the same concepts applied to spatial relationships.

Have you ever struggled with sizing type in a design project, especially when you need more than just one or two sizes? Have you ever despaired at the number of ad-hoc type sizes on your site spiraling out of control over time? It could be that you’ve been composing the typographic equivalent of a cacophonous symphony. And the first thing any composer will tell you to do is to get that thing on a scale.

Meet the typographic scale

You don’t need to know music theory to work with a typographic scale. You only need to know that a scale is a range of values with an established mathematic relationship. For a typographic scale, that relationship is frequently a steady interval between type sizes. Depending on what you need your type to do, the interval might be fixed (e.g. each size is two pixels bigger than the size before it) or it might be proportional (e.g. each size is twice as big as the size before it). I personally rarely find fixed intervals useful, so I’ll be focusing on proportional intervals.

The most important thing to understand about proportional intervals is thankfully not complicated: The bigger the intervals are, the more drastic the size differences will be in your scale. If your layout calls for contrast, a bigger interval might be the way to go. If you’re aiming for something more nuanced, go smaller. But keep these things in mind:

  • There is such a thing as too much nuance: if a size on your scale is virtually indistinguishable from the sizes adjacent to it, it defeats the purpose of using a scale.
  • On the flip side, too much contrast renders the sizes’ proportional relationship moot. At a certain point, massive display type is arguably more graphic than textual.
  • More is less. The more sizes you use, the less they’ll mean.
A small interval (left, 1.1) offers a smoother range of sizes; a large interval (right, 1.8) offers more contrast.

Setting up the scale variables

The quickest way to get a scale up and running when working on the web is to drop its values into some CSS variables. The naming convention I typically use begins with --scale0, which is the body text size. The size below it is --scale-1 (as in “scale minus one”), the size above it is --scale1, and so on. Keeping the names relative to each other like this helps me move around the scale intuitively as I use it. If, say, --scale4 isn’t big enough for my h1, I can move up to --scale5 or --scale6, and I always know exactly how many steps away from the body text I am. Here’s a first pass at a simple set of scale variables using an interval of 1.5:

:root {
  --scale-2: 7.1px;  /* 10.7 ÷ 1.5 */
  --scale-1: 10.7px; /* 16 ÷ 1.5   */
  --scale0: 16px;    /* body text  */
  --scale1: 24px;    /* 16 × 1.5   */
  --scale2: 36px;    /* 24 × 1.5   */
}

I can use these variables with any CSS property that accepts a numeric value, like so:

p { font-size: var(--scale0); }

Rooting around in rems

I’m off to a good start. However, those px values are a little too absolute for my liking. If I convert them to rems, it’ll give my scale more flexibility. rem stands for “root em.” 1rem is equivalent to the html element’s text size, which in most browsers defaults to 16px. Crucially, though, users can adjust that size in their browser settings, and using rems in my CSS will respect those preferences.

:root {
  --scale-2: 0.4rem;  /* 0.7rem ÷ 1.5 */
  --scale-1: 0.7rem;  /* 1rem ÷ 1.5   */
  --scale0: 1rem;     /* body text    */
  --scale1: 1.5rem;   /* 1rem × 1.5   */
  --scale2: 2.25rem;  /* 1.5rem × 1.5 */
}

Another benefit of the relative nature of rems: I tend to use larger text sizes on large viewports and smaller text sizes on small viewports. Rather than adjusting dozens or hundreds of typographic CSS declarations per breakpoint, I can shift the whole scale up or down merely by adjusting the font-size on the html element:

html { font-size: 100%; }     /* 1rem = 16px */

@media screen and (min-width: 25em) {
  html { font-size: 112.5%; } /* 1rem = 18px */
}

Calculating with calc()

My scale is coming along. Its variables’ intuitive names make it easy for me to use, and its rem values respect the user’s browser preferences and allow me to easily shift the size of the entire scale at different viewport sizes. But my setup still isn’t optimized for one very important adjustment: the interval, which is currently 1.5. If 1.5 isn’t quite working for me and I want to see how an increase or decrease will affect the scale, I need to do the math all over again for every step in the scale every time I adjust the interval. The bigger the scale, the more time that will take. It’s time to put down the abacus and get calc() involved.

:root {
  --int: 1.5;
  --scale0: 1rem;
  --scale-1: calc(var(--scale0) / var(--int));
  --scale-2: calc(var(--scale-1) / var(--int));
  --scale1: calc(var(--scale0) * var(--int));
  --scale2: calc(var(--scale1) * var(--int));
}

My interval now has its very own variable, called --int. calc() determines each scale size by multiplying the preceding size by --int. Now that every size is ultimately dependent on --scale0’s value, --scale0 must appear first in the list. Since the sizes smaller than --scale0 are going down rather than up, their values require division rather than multiplication.

Scaling the scale

I can now quickly and easily tweak my scale’s interval by adjusting --int until the proportions are just right, but if I want to add more sizes to the scale, I need to add more variables and calc() values. This isn’t too big of a deal, but if I want to double or triple the number of sizes, it’s kind of a headache. Luckily, this is the sort of thing Sass is really good at. In the following code, adjusting the first four Sass variables at the top of :root will quickly spin up a set of CSS variables like the scale above, with any interval (proportional or fixed) and any number of scale sizes:

:root {
  $interval: 1.5;    // Unitless for proportional, unit for fixed
  $body-text: 1rem;  // Must have a unit
  $scale-min: -2;    // Unitless negative integer
  $scale-max: 2;     // Unitless positive integer

  --int: #{$interval};
  --scale0: #{$body-text};

  @if $scale-min < 0 {
  // Generate scale variables smaller than the base text size
    @for $i from -1 through $scale-min {
      @if type-of($interval) == number {
        @if unitless($interval) {
          --scale#{$i}: calc(var(--scale#{$i + 1}) / var(--int));
        } @else {
          --scale#{$i}: calc(var(--scale#{$i + 1}) - var(--int));
        }
      }
    }
  }
  @if $scale-max > 0 {
    // Generate scale variables larger than the base text size
    @for $i from 1 through $scale-max {
      @if type-of($interval) == number {
        @if unitless($interval) {
          --scale#{$i}: calc(var(--scale#{$i - 1}) * var(--int));
        } @else {
          --scale#{$i}: calc(var(--scale#{$i - 1}) + var(--int));
        }
      }
    }
  }
}

Go forth and scale

Typographic scales have been an indispensable part of my work for many years, and CSS variables and calc() make setup, adjustments, and experimentation easier than ever. I hope you find these techniques as useful as I do!


About the author

Rob Weychert is a Brooklyn-based designer. He helps shape the reading experience at ProPublica and has previously helped make books at A Book Apart, games at Harmonix, and websites at Happy Cog. In his free time, he obsesses over music and film. Despite all this, he is probably best known as a competitive air guitarist.

More articles by Rob




ale

Where fairy tales come true!

“It is a Festival of Fantasy; Beauty and majesty shining magically. Dreams that grow wondrous; Dazzling brilliantly”




ale

Sahodaran’s 2023 calendar highlights India’s textile heritage

It was the effort of four photographers, 14 models, and three stylists, and was shot at four locations



  • Life &amp; Style

ale

‘Your life is more than just a number on a weighing scale’

At an event to launch her book Gain to Lose, Dr. Sheela Nambiar said weight training helped women lose weight and cope better with their myriad tasks




ale

Spinning a tale of fitness

PedalBeat, a new indoor cycling studio, was recently opened in the city




ale

Editorial. Small-scale commercial nuclear reactors, the way forward

It is increasingly being realised that achieving net-zero is not possible without nuclear energy




ale

Editorial. Sort out FPO problems before trying to scale up

The policy confusion over FPOs needs to be cleared




ale

For John / directed by: Dale Montour ; produced by: Alanis Obomsawin, Sally Bochner ; production agency: National Film Board of Canada (Montreal)

Montreal : National Film Board of Canada, 2018




ale

Traditional healers told not to treat infants, children to prevent mortalities in Chintoor agency

The methods and ingredients used in the preparation of Ayurvedic medicine by traditional healers are to be suspected, says an official




ale

India needs to move from legalese to ‘legal-easy’

The language used in Indian laws needs to be simpler to read and understand, which will ensure inclusive justice




ale

Uniform output regulation of nonlinear systems [electronic resource] : a convergent dynamics approach / Alexey Pavlov, Nathan van de Wouw, Henk Nijmeijer

Boston : Birkhäuser, 2006




ale

The splendors and miseries of martingales [electronic resource] : their history from the casino to mathematics / Laurent Mazliak, Glenn Shafer, editors.

Cham : Birkhäuser, 2022




ale

Number theory revealed [electronic resource] : an introduction / Andrew Granville

Providence, Rhode Island : American Mathematical Society, [2019]




ale

Number theory revealed [electronic resource] : a masterclass / Andrew Granville.

Providence, Rhode Island : American Mathematical Society, [2019]




ale

Deepavali: KSRTC sets record with ₹5 crore in online ticket sales; 85,462 bookings in a day, highest since 2006 launch

According to KSRTC officials, major routes that saw high demand included popular destinations from Bengaluru such as Davangere, Mysuru, Hubballi, Tirupathi, Shivamogga, and Kalaburagi 




ale

VTU offers incentives to nurture research talent among faculty and students

Incentive ranging from ₹1,000 to ₹3,000 will be given to students winning competitions at the national level, State level and hackathons or project competitions




ale

Carl Zeiss AG sets up maiden GCC in India; to scale up people front to 5,000 by 2027




ale

‘Anger Tales’ anthology review: Potpourri of hits and misses

The Telugu anthology ‘Anger Tales’ explores anger that stems from everyday situations through effective performances 




ale

Talent, tech sector drive Hyderabad’s real-estate growth: CBRE-CREDAI report

‘Hyderabad accounts for 14 per cent of aggregate national office stock’




ale

Housing sales dipped 11% in Jul-Sept, average prices up by 23% in top 7 cities: Anarock

Among the top 7 cities, Hyderabad saw the highest jump of 32 per cent in average residential property prices




ale

Mumbai property sales in September fall due to ‘shraadh’ period

The shraadh period this year started on September 18 and ends this week on October 3




ale

Home sales, office leasing show robust growth in 2024 so far

BL Mumbai Bureau Knight Frank India reports 9 per cent rise in home sales and 27 per cent increase in office leasing in 2024




ale

Nyati Group onboards Navigo’s futuristic capabilities to boost sales 

The move aligns with the Group’s vision of utilizing cutting-edge technology to improve the home-buying experience and boost operational efficiency in property sales




ale

Puravankara posts 18% sales growth, nets ₹1,331 cr in Q2FY25

The company’s cumulative sales value reached Rs ₹2,459 crore in H1FY25




ale

Pune’s home sales value surges 19% in Q3 2024 despite a slight dip in transactions

Based on data from the Inspector General of Registration (IGR), the city’s home sales value jumped 19 per cent year-on-year (YoY), reaching ₹13,865 crore




ale

DLF's sales bookings rise 66% to ₹7,094 crore from April to September despite weak Q2

DLF's sales bookings jumped over three-fold to around ₹6,400 crore during the first quarter of this fiscal from ₹2,040 crore in the year-ago period




ale

October home sales soar in Mumbai; Builders to keep the frenzy going

According to state government data, it has garnered revenue of over ₹1,200 crore as stamp duty from the city alone




ale

Earnest show of talent




ale

Rafoogari tales

Priya Ravish Mehra has documented the life and work of skilled darners or Rafoogars of Najibabad in Uttar Pradesh besides giving them international exposure to them through workshops and seminars.




ale

Sulfenylation of bioactive maleimides, acrylates and cyclohexenones under ambient organophotocatalysis

Org. Chem. Front., 2024, 11,6503-6509
DOI: 10.1039/D4QO01342E, Research Article
Debanjana Bag, Rajjakfur Rahaman, Anindya S. Manna, Subhasis Pal, Rajesh Nandi, Shobhon Aich, Narendra Nath Ghosh, Dilip K. Maiti
A novel visible light-induced sulfenylation of biologically important maleimides, acrylates and cyclohexenones has been developed using cheap and easily available organophotoredox catalyst Eosin Y with thiols under ambient conditions.
The content of this RSS Feed (c) The Royal Society of Chemistry




ale

Scholarship Alert




ale

Construction of a zero-dimensional halide perovskite in micron scale towards a deeper understanding of phase transformation mechanism and fluorescence applications

RSC Adv., 2024, 14,35490-35497
DOI: 10.1039/D4RA06404F, Paper
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Lili Xie, Haiyan Qiu, Yuxin Chen, Yingxue Lu, Yanyan Chen, Lanlan Chen, Shanwen Hu
A zero-dimensional halide perovskite in micron scale is constructed to gain a deeper understanding of phase transformation mechanism and better fluorescence applications.
The content of this RSS Feed (c) The Royal Society of Chemistry




ale

Neeraj Chopra qualifies for Diamond League season finale in Brussels

The season finale will be a two-day affair on September 14 and 15 in Brussels. Chopra accumulated 14 points from his two second-place finishes in the one-day meets held in Doha and Lausanne.