Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 5
mineure

31 Oct '19, 01:16

Pathe's gravatar image

Pathe
7.6k50210252

Redéfinition de l'environnement « cases »

Dans `latex.ltx`, je trouve : \def\cases#1{\left\{\,\vcenter{\normalbaselines\m@th \ialign{$##\hfil$&\quad{##}\hfil\crcr#1\crcr}}\right.} (auquel, pour tout dire, je ne comprends pas grand chose). chose). Que faut-il faire pour que cet environnement se comporte comme : \left\{\begin{aligned}& a \\ & b \\ &c \end{aligned}\right. En fait, je pourrais tout aussi utiliser l'environnement `aligned` mais je ne veux pas indiquer les `&`. A À titre de comparaison: comparaison : \begin{equation} \begin{cases} \nabla_z \mathcal L(\bar z,\lambda,\mu) = Q&\\ h_i^T \bar z - g_i = 0,&\forall i \in \mathcal A(\bar z) \\ h_i^T \bar z - g_i \geq 0,&\forall i \in \mathcal I \setminus\mathcal A(\bar z) \\ \lambda \geq 0,&\forall i \in \mathcal I \cap \mathcal A(\bar z). \end{cases} \end{equation} \begin{equation} \left\{\begin{aligned} &\nabla_z \mathcal L(\bar z,\lambda,\mu) = Q&\\ &h_i^T \bar z - g_i = 0,&&\forall i \in \mathcal A(\bar z) \\ &h_i^T \bar z - g_i \geq 0,&&\forall i \in \mathcal I \setminus\mathcal A(\bar z) \\ &\lambda \geq 0,&&\forall i \in \mathcal I \cap \mathcal A(\bar z). \end{aligned}\right. \end{equation}
cliquez ici pour masquer/afficher la révision 4

27 Sep '19, 02:43

pluton's gravatar image

pluton
1.2k22937

Redéfinition de l'environnement « cases »

Dans `latex.ltx`, je trouve : \def\cases#1{\left\{\,\vcenter{\normalbaselines\m@th \ialign{$##\hfil$&\quad{##}\hfil\crcr#1\crcr}}\right.} (auquel, pour tout dire, je ne comprends pas grand chose). Que faut-il faire pour que cet environnement se comporte comme : \left\{\begin{aligned}& a \\ & b \\ &c \end{aligned}\right. En fait, je pourrais tout aussi utiliser l'environnement `aligned` mais je ne veux pas indiquer les `&`.`&`. A titre de comparaison: \begin{equation} \begin{cases} \nabla_z \mathcal L(\bar z,\lambda,\mu) = Q&\\ h_i^T \bar z - g_i = 0,&\forall i \in \mathcal A(\bar z) \\ h_i^T \bar z - g_i \geq 0,&\forall i \in \mathcal I \setminus\mathcal A(\bar z) \\ \lambda \geq 0,&\forall i \in \mathcal I \cap \mathcal A(\bar z). \end{cases} \end{equation} \begin{equation} \left\{\begin{aligned} &\nabla_z \mathcal L(\bar z,\lambda,\mu) = Q&\\ &h_i^T \bar z - g_i = 0,&&\forall i \in \mathcal A(\bar z) \\ &h_i^T \bar z - g_i \geq 0,&&\forall i \in \mathcal I \setminus\mathcal A(\bar z) \\ &\lambda \geq 0,&&\forall i \in \mathcal I \cap \mathcal A(\bar z). \end{aligned}\right. \end{equation}
cliquez ici pour masquer/afficher la révision 3
mineure

26 Sep '19, 03:10

Pathe's gravatar image

Pathe
7.6k50210252

cliquez ici pour masquer/afficher la révision 2

25 Sep '19, 21:13

pluton's gravatar image

pluton
1.2k22937

cliquez ici pour masquer/afficher la révision 1

25 Sep '19, 21:13

pluton's gravatar image

pluton
1.2k22937

C'est votre première visite ici ? Consultez la FAQ !

×