Tag Info

1

If you add @{} to the row of a tabular it removes the padding, so that could maybe be your solution. \documentclass{article} \begin{document} \noindent text text text \noindent \begin{tabular}{@{} ll @{}} $h$ & Specific hentalpy, J/kg \\ $e_f$ & Specific flow exergy, J/kg \end{tabular} \noindent text text \end{document}

1

Basically, you want to right align the subsection numbers within a small space. If this causes problems in the TOC etc., try \hbox to 1em{\hfill...} or use \protect. \documentclass{article} \renewcommand{\thesubsubsection}{\makebox[1em][r]{\alph{subsubsection})}} \begin{document} \section{Dolor Sit Amet} \subsubsection{Lorem Ipsum} \subsubsection{Lorem ...

0

Here is a solution with basic tools: \documentclass{article} \begin{document} \noindent Running text \begin{itemize} \item First level item \par\noindent \hspace{\linewidth-\textwidth}% \begin{minipage}{\textwidth} bla bla bla \end{minipage} \begin{itemize} \item Second level item \par\noindent \hspace{\linewidth-\textwidth}% \begin{...

2

not used \resizebox, rather decrease font size to \footnotesize S columns are adopted to each column removed are table-space-text-pre and table-space-text-post instead of tabulars is used one common tabular* removed except in table headers all \multicolumns determination of spaces between column is left to LaTeX \documentclass[12pt,a4paper,twoside]{article} ...

1

Some comments and observations: The tabular environment does not take an intended-width argument. The only arguments recognized by tabular affect the vertical positioning relative to neighboring elements: t, c (the default), and b. width=\linewidth is simply ignored. You're probably thinking of the tabularx environment. By default, its X column type ...

5

Using \whiledo for building loops around parameterized animation frames is deprecated. It may lead to unexpected results, because \newframe embedded into its loop body may hide local assignments of dimensions and counters. Instead, use pkg animate's built-in command \multiframe: \documentclass{beamer} \usepackage{animate} \begin{document} \begin{frame}{...

1

\documentclass{article} \usepackage{lipsum,stackengine} \setstackEOL{\\} \begin{document} \lipsum[1] \begin{center} {\textbf{\Longstack[l]{ Question 1: Can we archive the blacked out text\\ so that it can be left aligned?\\\\ Question 2: Can we archive the blacked out text\\ so that it can also be centered? }}} \end{center} \lipsum[2] \end{document}

1

Use hl command (in soul package) to highlight text. For your purpose, just set the highlight color is black \sethlcolor{black}. The default highlight color is yellow. \documentclass{article} \usepackage{xcolor,soul} \sethlcolor{black} %\sethlcolor{green} \usepackage{lipsum} \begin{document} \lipsum[1] \begin{center} \begin{minipage}{.8\textwidth} \noindent\...

0

I always need to line up equals signs outside of a math environment, the best thing I found was to use center and tabular. This was best for lining up my equals signs in proofs, and in variable descriptions. \documentclass{article} \usepackage{amsmath} \begin{document} \int_{a}^{b} f(x) dx \approx h \left[ \dfrac{f(a)}{2} + \sum_{i=1}^{\...

1

Quick and dirty trick: \documentclass[10pt,a4paper]{article} \usepackage{array,xcolor} \begin{document} \color{gray!50} 1 2 3 --- --- --- --- ---> 4 5 \color{black} \vspace{-5\baselineskip} \newcolumntype{C}{ >{\centering\arraybackslash}m{0.45\textwidth}} \begin{tabular}{|C|C|} \hline \rule[-25.5pt]{0em}{60pt} A & \rule[-25.5pt]{0em}{60pt} ...

5

Here you are. I added a spacing of 4em. Anyway, you only need three alignment columns: \documentclass[11pt,letterpaper,twoside]{book} \usepackage{lmodern} \usepackage{amsmath} \begin{document} Blabla bla : \begin{alignat*}{4} x \quad &\Rightarrow \quad & y&\sim z,&\hspace{4em} a \quad &\Rightarrow \quad & 4b & \sim c, \\...

2

I would reformat your table in the following (however, I'm not sure, what you like to have): \documentclass[10pt,a4paper]{article} \usepackage{enumitem} \usepackage{ragged2e} % <--- \usepackage{array, makecell} \renewcommand\theadfont{\normalsize\bfseries} % <--- \newcolumntype{L}[1]{ >{\csname @minipagetrue\endcsname% ...

2

I would use a single align* environment. Then, only after the math part is entered correctly, I would insert a few judiciously chosen \mskip directives to fine-tune the horizontal alignment. That said, I don't think it's really necessary to perform the fine-tuning. \documentclass{article} \usepackage{amsmath,mleftright} \mleftright \begin{document} \begin{...

1


0

The default for chapter openings is openright so that each chapter starts on a recto (odd) page. This is what happens in your MWE. You could try the option openleft so that chapters all start on verso (even) pages or the openany option whereby chapters start on the next page. %\documentclass{memoir} % chapters start on next odd page %\documenclass[...

1

To ensure a consistent cell padding, I deleted the \extrarowheight specification and added the cellspace package, in addition to a redefinition of the X column type and the use of >{\hsize=xx\hsize} to obtain X column widths in the ratio 2:1. Unrelated: needless to load array if you load tabularx. \documentclass{article} \usepackage[textwidth=6in]{...

1

Try the following: \documentclass{article} \usepackage[textwidth=6in]{geometry} \usepackage{array, tabularx} \renewcommand{\tabcolsep}{0pt} %%--------------------------------------------------------------% %% patch of Ulrike Fisher (on my request) % %% (http://tex.stackexchange.com/questions/319768/ % %%--------------------...

Top 50 recent answers are included