Tag Info

Hot answers tagged horizontal-alignment

8

That is the correct variable to play with. It is allow lines to be up to 8% shorter than standard. Try reducing it via e.g. \setlength{\RaggedRightRightskip}{0pt plus 0.02\hsize} for a percentage (here 2%) of the line length or \setlength{\RaggedRightskip}{0pt plus 1em} for an absolute possible shortfall. For the tufte classes this change needs to ...

7

The "raggedness" of \RaggedRight can be configured by length \RaggedRightRightskip, which is inserted at the right end of a line, when TeX breaks the paragraph. The default is 0pt plus 2em, which means the line can be full or short with upto 2em white space at the right side. Increasing the value to 2.8em reduces the number of hyphenations to one at the ...

6

Some words about line breaking. TeX assigns a badness to each line, based on the amount of stretching of the glue in it. In a ragged right setting, there's only stretchable glue at the right (\rightskip), which has the consequence that this glue (if finite) will usually stretch more than stated. The default for \RaggedRight has an the “optimal” stretching of ...

5

You can easily do that. You shouldn't use `eqnarray, which is deprecated and can produce bad horizontal spacing. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{alignat*}{2} 12 \left( \frac{1}{4}(2x-1)-x \right) &<12 \left( \frac{x}{6}-\frac{1}{3} \right) & \qquad \leftarrow\enspace & \text{multiplicar por 12} \\ -6x - ...

4


2

You also could use \underbrace\overbrace and \mathclap. I give an example with \underbracket/\oberbracket (defined in mathtools): \documentclass{article} \usepackage{mathtools} \begin{document} \[ \underbracket[0.6pt][0.6ex]{\{\varphi\}\cup\Delta_M\cup\{p_M\} }_{\text{Finito e instasifacible.} } \subseteq ...

1

Something like this? \documentclass{article} \newcommand\mybullet{{\tiny\raise0.5ex\hbox{\textbullet}\ }} % custom-size "bullet" \begin{document} \noindent \begin{tabular}{@{\mybullet}ll} list-item & i want this\\ longgg-item & and this to be aligned\\ another-item & at the same level auto\\ \end{tabular} \bigskip\noindent ...

1

Following the answer given here, I added the following in a LaTeX block immediately after the item text in LyX: \par\begin{minipage}{\linewidth} \centering\includegraphics{myimage} \captionof{figure}{My very very ... very long caption text} \end{minipage}

1

to right align text in a \parbox use \parbox{6em}{\raggedleft (The colorbox is not really involved at all)

Only top voted, non community-wiki answers of a minimum length are eligible