Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
\documentclass{article}

\newcommand*{\LeftWidth}{3.0cm}%
\newcommand*{\RightWidth}{\dimexpr\linewidth-\LeftWidth-2em\relax}%
\newcommand{\AlignedBrace}[2]{%
    \medskip\par\noindent%
    \makebox[\LeftWidth][r]{\textbf{#1}~}%
    $\left\{~\parbox{\RightWidth}{\strut\textit{#2}\strut}\right.$%
}%

\begin{document}
\AlignedBrace{Gradation}{%
    Industria Virtutem parit: \\
    Virtus Laudem excibat: \\
    Laus adfert honorem: \\
    Honoris socia est, et comes AEmulatio
}
\AlignedBrace{Commutation}{%
    Quae de illo dicuntur; \textasciicircum{}dici non\textasciicircum{} \\
    dici non possunt: \\
    quae dici possunt: \\
    non dicuntur:
}
\AlignedBrace{Distribution}{%
    consilio ciuitatem inuare: \\
    Senatus officium est: \\
    Magistratus officium est: \\
    opera \& diligentia, consequi senatus Voluntatem
}
\AlignedBrace{Division}{%
    Si probus es: \\
    non meruisti: \\
    sin improbus: \\
    non commoVeris:
}
\AlignedBrace{Similitude}{%
    Vt hirundines estiuuo tempore, presto sunt \\
    frigore pulsae recedunt: \\
    Ita falsi amici amici: sereno Vitae tempore, presto sunt \\
    Simulatque hyemem fortunae dederint Auolant omnes
}
\AlignedBrace{Exposition}{%
    Qui est tam tenui cogitatione praeditus: \\
    cuius animus, tantis angustiis invidiae continentur: \\
    Qui non hunc hominem, studiosissime Laudet, \\
    et sapientissimum iudicet:
    Qui pro salute patriae, pro incolumitate ciuitatis \\
    pro Repub: fortunis, quamuis magnum atque \\
    atrox periculum, studiose subeat?
}
\end{document}

This works very well but I've got a further problem: sometimes, what I type on the left, before the big curly braces, is too long and sticks out of the left margin, what should I do?

This is a follow up to aligning braces in a text (not maths).

share|improve this question

1 Answer 1

In this case I would recommend using a \parbox{} in the definition of \AlignedBrace:

enter image description here

Note:

  • As per Werner's comment I have added a \strut for the \parbox to ensure that lines without descenders are properly aligned.

Code:

\documentclass{article}

\newcommand*{\LeftWidth}{3.0cm}%
\newcommand*{\RightWidth}{\dimexpr\linewidth-\LeftWidth-2em\relax}%
\newcommand{\AlignedBrace}[2]{%
    \medskip\par\noindent%
    \parbox{\LeftWidth}{\raggedleft\textbf{#1}\strut~}%
    $\left\{~\parbox{\RightWidth}{\strut\textit{#2}\strut}\right.$%
}%

\begin{document}
\AlignedBrace{Some very long text on left}{%
    Industria Virtutem parit: \\
    Virtus Laudem excibat: \\
    Laus adfert honorem: \\
    Honoris socia est, et comes AEmulatio
}
\AlignedBrace{Commutation}{%
    Quae de illo dicuntur; \textasciicircum{}dici non\textasciicircum{} \\
    dici non possunt: \\
    quae dici possunt: \\
    non dicuntur:
}
\end{document}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.