# Tag Info

3

Please always post complete documents which reproduce the problem. With the standard classes the bullets are to the left of the number: \documentclass[leqno]{article} \usepackage{amsmath} \begin{document} aaa \begin{itemize} \item Such and so \item the following holds \begin{align} x - 2 \end{align} always. \item whatever else ...

4

You can add a \strut to make them vertically aligned. Or add a \vphantom only when necessary. This is a relatively low-level implementation: \documentclass{article} % cf. \oalign and \mathstrut in LaTeX kernel \newcommand\textoverset[3][(]{% \leavevmode\vbox{% \baselineskip0pt \lineskip.25ex \ialign{\hfil##\hfil\crcr \scriptsize#2\cr ...

14

using \tiny shifts the math axis so the vertical alignment of the bullet, so what you want is not a smaller font but a smaller symbol in the same font set (or to raise the symbol by hand) \documentclass{book} \begin{document} \begin{itemize} \item One \item Two \end{itemize} \renewcommand\labelitemi{$\cdot$} \begin{itemize} \item One \item Two ...

12

You can raise the bullet to your liking. The following does that (to the extreme): \documentclass{article} \newlength{\mylen} \setbox1=\hbox{$\bullet$}\setbox2=\hbox{\tiny$\bullet$} \setlength{\mylen}{\dimexpr0.5\ht1-0.5\ht2} \setlength{\parindent}{0pt}% Just for this example \begin{document} \begin{minipage}{0.3\linewidth} \begin{itemize} \item One ...

3

You don't need subfig or subcaption. Use a minipage bottom aligned, but also specify its vertical size. \documentclass{article} \usepackage[demo]{graphicx} % demo is just for the example \begin{document} \begin{figure} \centering \includegraphics[height=0.18\textheight,width=.246\textwidth]{tease5_a.jpg} ...

4

Simply get rid of the \makebox command (which in the new distribution won't do anything) and now you can use the standard line change command \\: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{subfig} \begin{document} \begin{figure} \centering %\makebox[\textwidth]{ \subfloat[Single ...

3

If you are open to using subcaption rather than subfig, then maybe this: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{subcaption} \begin{document} \begin{figure}[htb] \centering% \begin{subfigure}{3cm} \includegraphics[demo,width=3cm, height=2cm]{} \caption{A} \label{fig:A} ...

3

A TikZ based solution: \documentclass{article} \usepackage{subcaption} \usepackage{tikz} \begin{document} \begin{figure}[!ht] \begin{subfigure}{0.3\textwidth} \begin{tikzpicture} \node{\includegraphics[width=\textwidth]{tall}}; % obtain coordinates of size of the largest bounding box to % be used in the other ...

2

I am so stupid. There is a solution, but not documented. And as your problem was not very different of an other problem for me, I answers too quick. The solution, which I would now document, is to write on the preamble : \rightnoteupfalse \leftnoteupfalse

0

One solution to your problem would be to use the two commands \setlength{\abovecaptionskip}{Xpt} \setlength{\belowcaptionskip}{Ypt} with X and Y to determine, function of what you need. As it is only locally that you want to change them, you should use these functions thrice. Once for moving down the caption of the third picture, once for resetting ...

3

Using Jake's answer to another question, (column separator in header line in column with dec sep align), I have been able to add a vertical rule for you. I'm afraid I don't know how to center the columns when dec sep align is active. I have taken the liberty of neatening up the formatting of your table for you, in two ways: Units should be typeset in ...

2

Change my \rule{}{} with yours \includegraphics[]{}. \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} \usepackage[top=2cm, bottom=1.8cm, left=3cm, right=3cm]{geometry} \usepackage[pdftex]{graphicx} \usepackage[english]{babel} \usepackage{url, floatrow, caption, fancyhdr, pifont, adjustbox, array, longtable, tikz} \usepackage[toc, ...

2

Don't use multirow for this: put the images on the left in a minipage: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{table} \centering \begin{minipage}[b]{4cm} \offinterlineskip % no vertical space between the two images \includegraphics[height=3cm,width=4cm]{example-image}\\ \includegraphics[height=5cm,width=4cm]{example-image} ...

1

EDITED to use \shortstack rather than \vcenter. The command \shortstack starts building up from the baseline, so there are no depth-below-baseline issues with which to contend. However, there is a slight gap between the two left-hand images, which means that the right-hand image won't perfectly align, unless you take care of it by effectively trimming it ...

7

Please always post complete documents showing all packages (and colours) used. I made up some different colours. As you are in picture mode anyway it is easier to directly control the position of the braces using \put coordinates, and you can hide the depth of the text using \raisebox. \documentclass{article} \usepackage{color} \begin{document} ...

5

For reference, the same problem with TikZ could be fixed as shown in Problem with TikZ and vertical alignment of text inside nodes. Combining that hint with Connecting nodes with brace in TikZ, it is possible to build the following solution: \documentclass{article} \usepackage{tikz,pdftexcmds} ...

10

It's all about the placement of the \strut: \documentclass{article} \usepackage{xcolor}% http://ctan.org/pkg/xcolor \begin{document} \begin{center} \setlength{\unitlength}{10pt} \begin{picture}(24,4) \setlength\fboxsep{0pt} \put(0,2){\underbrace{\strut ... 0 You can still use the positioning library if you are overlaying these nodes. Basic mechanism is the fix the first node somewhere and place the rest of the nodes using the below=###mm of <the node above it> option. I don't know what the underlying figure looks like but here is a general template. \documentclass{article} \usepackage{tikz} ... 4 I think really it's a mistake to try to make a one-one mapping of the alignment specifiers (with either Word or HTML) as the underlying table models are fundamentally different. However I think the main problem is that your first comment isn't really correct: The first row of tools matrix (yellow row) are equivalent to tabular's l, c and r handles. ... 6 Here's an emulation of what you'd get by raising the superscript. In the first line the result ofJ_{ne}\bm{\mathsf{J}}_{ne}^{-1}J^{}_{ne}\bm{\mathsf{J}}_{ne}^{-1}\$ showing left the bad output and on the right the recommended one; in the second line the emulation of raising the superscript (obtained by pretending that the subscript has zero width and ...

4

Instead of raising the subscript term in the second expression, which will make for an extremely cramped look unless you also raise the superscript term (and risk making the whole expression look top-heavy...), you may want to consider lowering the subscript term in the first expression by placing an empty "atom" -- produced by {} -- in the superscript ...

5

Why do you have the center environment as part of your definition? I got decent results with this: % FIGURE DEFINITION \newcommand{\myfig}[3][0]{ \vspace{1.5cm} \includegraphics[width=#3\hsize,angle=#1]{#2} } Then you can either use \myfig[0]{time}{0.01} {\Large Text...........} or \myfig[0]{time}{0.01}~{\Large Text...........} if for some reason ...

2

You've got so many nested boxes; it's very hard to tell what purpose you're expecting them all to serve. I'm also not sure why you need a tabular environment for any of this. Perhaps, if you could make that need a bit more clear, I could give you a better answer. Also, it seems that you are under the impression that the alignment commands of the boxes and ...

2

I don't really understand your definitions. The parbox-definition are not needed However to use \raisebox you have to take into account the height of \strutbox to justify the image. \documentclass[10pt]{scrartcl} \usepackage{lmodern} \usepackage[a4paper,showframe]{geometry} \usepackage{graphicx} %\DeclareGraphicsExtensions{.pdf} \usepackage{array} ...

10

Here's one possibility using the background package: \documentclass{article} \usepackage[a6paper]{geometry}% just for the example \usepackage{background} \usepackage{lipsum}% just to generate text for the example \backgroundsetup{ scale=1, angle=0, color=blue, contents={\tikz\draw[ultra thick,dotted] (current page.west) -- (current page.east);} } ...

4

This is how I use columns environment for alignment at the top (you may repalce the [t], by [c] for centering). \begin{columns}[t] \begin{column}{5cm} \begin{figure} \includegraphics[scale=0.08]{2ENQ-A.png} \end{figure} \end{column} \begin{column}{5cm} \begin{itemize} \item<1-> 345, 453 and 420 are all ...

3

You can get a reasonable approximation by putting \raisebox{-1.5em}{...} around your \rotatebox. Code \documentclass{article} \usepackage{array} \usepackage{booktabs} \usepackage{graphicx} \newcommand{\spheading}[2][10em]{% \spheading[<width>]{<stuff>} \raisebox{-1.5em}{\rotatebox{90}{\parbox{#1}{\raggedright #2}}}} ...

Top 50 recent answers are included