How to use subfigures with subcaption in LaTeX?

Historically, packages like subfigure and subfig were popular choices. However, the subcaption package has emerged as a modern, more flexible alternative that works well with the newer caption package.

The subcaption package not only allows for the insertion of subfigures but also makes it easier to manage individual captions and references for each subfigure.

Social media was a great idea at first. It helped us connect with friends, share stories, and express our thoughts. But slowly, it started taking over our lives. It replaced peace with noise, calmness with chaos, and real moments with endless scrolling.

Stealing Your Time

Have you noticed how much time you spend on social media? One video leads to another, memes keep coming, and selfies never end.

\[ \sum_{i=1}^{n} x_i \]

\[ \sum_{i=1}^{n} x_i \]

Stress on Your Mind

Social media doesn’t just waste your time—it also makes you feel bad.

You see people posting their “perfect lives” and wonder, “Why is my life not like that?” But the truth is, those pictures often hide struggles and problems we don’t see.

\[ \frac{\sin \theta}{x} \]
\[ (\sin\theta)^2 + (\cos\th3ta)^2 = 1 \]

\[ \frac{\sin \theta}{x} \]

\[ (\sin\theta)^2 + (\cos\theta)^2 = 1 \]

Fake Friendships

You might have hundreds of “friends” on social media.

But when you feel lonely, how many of them can you really talk to? These online friendships often feel empty. They take your time but don’t give real happiness.