Tag Info

New answers tagged

3

If you fix the with of the columns, then the width of the second column can be calculated, just subtracting the total width of the other columns, taking account the \tabcolsep padding on either side of each cell. \documentclass[10pt]{report} \usepackage{booktabs} \usepackage{longtable} \usepackage{pdflscape} \usepackage{geometry} \geometry{ a4paper, ...


3

@egreg has already addressed your main question in a comment: @{} suppresses the intercolumn whitespace anywhere it gets inserted, not only to the left of the first column and to the right of the final column. I find that writing this particular group of equations using an array environment inside an equation* environment to be quite cumbersome. A more ...


3

@{command} defines the space before and after one column !{command} defines what should be printed as vertical line \documentclass[border=14pt]{standalone} \usepackage{array} \begin{document} \begin{tabular}{@{dimen} c !{rule} c !{\vrule width 5pt}}\hline foo & bar \\\hline \end{tabular} \end{document} Instead of a space command in writes dimen ...


2

It is called @-expression, at least in this source, and is part of the standard table column specifier. It replaces the column separator with the content between { and }, in this case with nothing, which is useful to make very condensed tables, arrays, etc. In your example it is used to reduce the distance between the summation sign and its operands.


2

Here is an update to my answer using ideas from Counters for use in array/tabular cells: \documentclass{article} \usepackage{array} \makeatletter \def\insert@column{% \the@toks \the \@tempcnta \global\advance\c@tabcol\@ne \ignorespaces \@sharp \unskip \the@toks \the \count@ \relax} \let\old@arraycr\@arraycr ...


3

I don't think that aligning the \equiv and \sum signs adds to readability; to the contrary, I believe that it hinders it. Anyway, with some more work one can get the required alignments. I made also some improvements, defining a \moebius command that uses \DeclarePairedDelimiter, so you can say \moebius{x} % normal size \moebius[\big]{x} % big ...


6

The array environment is for math mode and cell contents will be typeset in math mode (textstyleby default) and tabular is for text mode. While array requires being in math mode, the tabular environment can be used in math mode, and its contents will be typeset in text mode. Inside an array, the p, m or b specifiers also switch cell contents to text mode.


6

Environments such as tabular, tabular*, tabularx, tabulary, and longtable -- hereafter, tabular-like environments -- should be used if much of the material they contain should be typeset in text mode. (Note that having numbers in a table does not automatically mean it's necessary to typeset the numbers in math mode.) The material formatted by the l, c, r, ...


6

I would use cases here: % arara: pdflatex \documentclass{article} \usepackage{amssymb,mathtools} \newcommand*\R{\mathbb{R}} \begin{document} \begin{equation} M_2 = \begin{cases} \text{variables:} &\begin{cases} \text{inputs:} &x\\ \text{outputs:} &y ...


3

Here is what you need: \documentclass{article} \usepackage{amssymb,amsmath} \def\R{\mathbb{R}} \begin{document} \begin{equation} M_2=\left\{ \begin{array}{rl} \text{variables :} & \left\{ \begin{array}{r} \text{inputs :} x \\ \text{outputs :} y \end{array} \right.\\ \text{types :} & x,y \in \R \\ ...


0

I suggest you not take any steps that end up reducing the font size used in the math expression relative to that used for the surrounding text. Instead, you might want to pursue the following approach: Don't use the \nolimits modifier after each \sum macro. Instead, encase the \sum{...} expressions in \smashoperator directives; this reduces the amount of ...


0

This is one possible solution. use of resizebox from graphicx package and parbox combo as shown below. \resizebox{0.48\textwidth}{!}{\parbox{\linewidth}{ math envrionment}} or {\tiny \begin{align*} ... \end{align*} environment} Code \documentclass[10pt,conference,letterpaper]{IEEEtran} \usepackage{amsmath,graphicx} \begin{document} as abcd dsfe ...



Top 50 recent answers are included