# [Tex/LaTex] No command like \large \Large \Huge and so on work in the LaTeX document

dimensionsmath-mode

I was trying to enlarge a bit some equations, and I tried EVERYTHING.

\large \Large \begin{large} \mathlarger..

None of those commands work. I don't know what to try.
Does anyone have some idea?

If this help, here is my LaTeX "starting code":

\documentclass[danish, a4paper, 12pt]{report}
%\documentclass{article}
\usepackage[paperheight=28cm, paperwidth=20cm, margin=2cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage[urw-garamond]{mathdesign}
\usepackage[english]{babel}
%\usepackage[italian]{babel}
\usepackage[utf8]{inputenc}
\usepackage[usenames,dvipsnames]{color}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{tabularx}
\usepackage{amsopn}
\usepackage{xparse}
\usepackage{physics}
\usepackage{wasysym}
\usepackage{pstricks}
\usepackage{pspicture}
\usepackage{mathrsfs}
\graphicspath{{"Immagini/"}}
\usepackage{mathtools}
\DeclarePairedDelimiter\ceil{\lceil}{\rceil}
\DeclarePairedDelimiter\floor{\lfloor}{\rfloor}
\definecolor{ballblue}{rgb}{0.13, 0.67, 0.8}
\definecolor{apple}{rgb}{0.55, 0.71, 0.0}
\definecolor{awesome}{rgb}{1.0, 0.13, 0.32}
\definecolor{azure}{rgb}{0.0, 0.5, 1.0}
\newcommand\Large{\@setfontsize\Large\@xviipt{22}}
\DeclareMathOperator{\de}{\text{d}}
\newenvironment{sistema}%
{\left\lbrace\begin{array}{@{}l@{}}}%
{\end{array}\right.}
\renewcommand\theequation{\arabic{equation}}

\begin{document}

cui e chiesto un tempo $t^*$ per il quale il peso e il doppio, ossia
$$P(t^*)=2P_0$$
Si agisce come prima, solo che in questo caso l'incognita è il tempo,
e si scrive
$$2P_0 = \scalebox{2}{e^{\frac{\ln(1.4)}{30}\ t^*}}$$

\end{document}


As you can see, I also tried with

\newcommand\Large{\@setfontsize\Large\@xviipt{22}}


and nothing happens…

After having tried with "scale box" and after having failed again… here is a screenshot of the log.

You definitely not want to scale parts of the equation, but rather use the proper way of setting it.

By the way, why asking for Danish when the document appears to be in Italian?

\documentclass[a4paper]{report}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}

\usepackage{amsmath}
\usepackage{graphicx}

\begin{document}

\chapter{Some examples}

Ecco una formula composta male. Si agisce come prima, solo
che ora l'incognita è il tempo, e si scrive
$2P_0=\scalebox{2}{e^{\frac{\ln(1.4)}{30}\ t^*}}$
Ecco la stessa formula composta correttamente. Si agisce come
prima, solo che ora l'incognita è il tempo, e si scrive
$2P_0=\exp\biggl(\frac{\ln(1.4)}{30}t^*\biggr)$

\end{document}


Note that  should never be used in LaTeX. Using \large or \Large instead of \scalebox would not solve the main issue, even if they worked in math mode, which they don't.

If you insist on the exponential notation, you can type

$2P_0=e^{(\ln(1.4)/30)t^*}$


to get

Two story fractions in exponents should be avoided as long as possible.