# Tag Info

4

Some suggestions: Change \multirow{4}{2.5cm}{Stack} to \multirow{5}{2.5cm}{Stack} Replace all \cmidrule directives with \addlinespace Use a single \midrule after the header row Use a common line width (say, 0.1em) for all \toprule, \midrule, and \bottomrule statements. Provide more structure in the setup of the tabular environment, so that you don't have ...

4

You can use breqn package for this: \documentclass{article} \usepackage{amsthm,amsmath,breqn,lipsum} \usepackage[showframe,margin=5cm]{geometry} \begin{document} \lipsum[1-2] \begin{frame}[shrink=0, t]{The \textbf{\textit{DP}} Algorithm} \begin{center} \begin{minipage}{.9\textwidth} \begin{proof} \begin{enumerate} ...

3

You can use alignat to remove the gaps between the alignment marks &: \documentclass{article} \usepackage{mathtools,eqparbox} \begin{document} % Original alignment \begin{align} \cdots\text{ABB}&\bigg|\text{BAABB}&\bigg|\text{AAABB}&\bigg|\text{BB}&\bigg|\text{BB}&\bigg|\text{ABABAABABB}&\bigg|\text{AA}\cdots \\ n_0 &...

3

Here is a solution, if I've well understood what you want. It's based on the code for the \vdotswithin command from mathtools. So I define a \vertwithin{label} command, which puts the \vert command centred in a box of width the labelwidth, and uses this box as alignment point. B.t.w., for n alignment points, you need 2n-1 ampersands. Also, you don't have ...

3

3

This is simply to show how to reformat the equation with as little effort as possible. Copy the line to be broken. Use \right. or \left. to balance an otherwise unmatched \left or \right. Use \hphantom to preserve spacing, and \vphantom to preserve the \left ... \right size. Note, the additional \qquad is to compensate for the missing = and \{. \...

2

tocloft does only hook into ToC, LoF,LoT and the \listof... types that were defined with tocloft's \newlistof command. The glossaries package uses \printglossary[title=...] to change the optical appearance of the glossary title. Using \protect\centering\glossaryname works for the book class. \documentclass{book} \usepackage{glossaries} \...

2

uncomment your \makebox %\makebox[\figurewidth][c]{ but change the specified width to 0pt instead of \figurewidth

2

I am not certain if this is what you want. I don't really have much experience with this package, and not sure how to calculate space consumed by the contents of the interactive stuff. Of course, one could store some of this inside \savebox and get the dimensions that way, but I think the interactivity would be broken, when inside a \savebox. Therefore, I ...

2

\newcommand*\rub[1] {\begin{center}\large\bfseries\color{red}\fontfamily{pbk}\selectfont#1\end{center}} ... \rub{This text will be centered, boldfaced, colored red and with font `pbk'} But since you did not say what you are going to use it for, we don't know if there is a more precise and correct approach.

2

For vertical positioning obey Mico comment, but you use in table commands from TeX not LaTeX, better and simpler code is: \documentclass[12pt]{article} \usepackage{booktabs,makecell,multirow} \renewcommand\theadfont{\normalfont\bfseries} \begin{document} \begin{table}[ht] \centering \caption{Virtual Machine Byte Code}\label{tab:vm} \begin{tabular}...

2

Grab the argument supplied to \rub and set it inside a centred box that has the width of \linewidth: \newcommand{\rub}[1]{\noindent\makebox[\linewidth]{\large\bfseries\fontfamily{pbk}\selectfont\color{red}#1}} Here is a minimal example (without the font changes, as it's not part of the discussion): \documentclass{report} \usepackage{xcolor} \...

1


1

You can move the \multirow identifiers into position using a precise \raisebox: \documentclass{article} \usepackage{booktabs,array} \begin{document} \begin{tabular}{ l >{\ttfamily}l >{\ttfamily}l } \toprule \bfseries Group & \rmfamily\bfseries Name & \rmfamily\bfseries Parameters \\ \midrule\midrule[.1em] & push & ...

1

From the multirow-documentation: It’s just about impossible to deal correctly with descenders. The text will be set up centred, but it may then have a baseline that doesn’t match the baseline of the stuff beside it, in particular if the stuff beside it has descenders and text does not. This may result in a small misalignment. About all that can be done ...

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