# Tag Info

2

Two options: Use t as optional argument for both frames; in this way, the frames' content will be top aligned: \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{frame}[t] \frametitle{FRAME 1} \centering \begin{tikzpicture} \node[draw=black] (a) {A}; \node[draw=black, right=of a] (b) {B}; ...

0

The problem is that the each frame is vertically centered. One way to fix it is to use \pause: \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{frame} \frametitle{FRAME 1} \centering \begin{tikzpicture} \node[draw=black] (a) {A}; \node[draw=black, right=of a] (b) {B}; \draw (a) -- (b); ...

2

You can achieve this effect with wrapfig.sty. In its documentation, you find: Placment and floating Parameter #2 (required) is the figure placement code, but the valid codes are different from regular figures. They come in pairs: an uppercase version which allows the figure to float, and a lowercase version that puts the figure "exactly here". [...] ...

4

You can what you want with the plaintex package insbox. It defines \InsertBoxL and \InsertBoxR commands, with two arguments: the number of untouched lines before inserting the box, and the contents of the box. Also an optional argument: the number of supplementary wrapped lines, if the height of the box is not correctly calculated. ...

2

You mention no concern about float numbering, so my suggestion would be to forego any kind of floating for the single-column figures. For this, use the [H] float specifier: \documentclass[twocolumn]{article} \usepackage{lipsum} %used to generate filler text \usepackage{afterpage,float} \usepackage[demo]{graphicx} \begin{document} \section{Section with ...

2

As the two column float has to span the top of the following page, and (in latex 2015 release, or with fixltx2e with older format) all floats are kept in order, and so the single column floats have to come after that, I do not see how you can avoid a lot of white space after the first section, however you can do \documentclass[twocolumn]{article} ...

0

The following code snipped uses remember picture for positioning. \usetikzlibrary{calc} \begin{frame} \tikz[overlay,remember picture] \node[anchor=north east] at ($(current page.north east)+(0,-1)$) { Top-right float content. }; Regular content. \end{frame} It also uses the calc tikz library to specify an offset from the top left corner for ...

0

There is actually a built-in workaround, which is to use \begin{tikzfigure}[Caption]%Figure environment does not work \label{test} \includegraphics[width=0.2\textwidth]{figure.pdf} \end{tikzfigure}

0

You can always lie: \documentclass{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} \begin{figure} \centering \makebox(0,545){% \parbox[b]{5in}{% \subfloat[\label{fig:a}]{\includegraphics[width=5in]{example-image-a}} \par \subfloat[\label{fig:b}]{\includegraphics[width=5in]{example-image-b}} \vspace*{10mm}\par\mbox{ }}} ...

5

Here's an option in which I used the background package to position the sideways text: \documentclass{article} \usepackage[a6paper]{geometry}% just for the example \usepackage{background} \usepackage{eso-pic} \usepackage{contour} \newcommand\BackgroundPic{% \put(0,0){% \parbox[b][\paperheight]{\paperwidth}{% \vfill \centering ...

1

I do not know why that syntax doesn't work, but you can use the syntax of the calc library. While not exactly the same, it does allow you to place axes relative to other nodes/coordinates. Note that the default anchor for the axis is south west, change that if desirable. In the code below I used at={($(nodeOne)+(0cm,1.5cm)$)}. When no anchor for the node is ...

4

It's a good occasion for illustrating a macro by Victor Eijkhout, that can be found in TeX by Topic, section 12.6.8; the advantage over directly using \vcenter is that \setbox<number>=\xvcenter{...} is possible. The \midscript macro chooses a smaller size in (first level) subscripts or superscripts. It won't give good results in second level ones. ...

5


2

\begin{minipage}[t]{7in} \includegraphics[width=7in]{Figures/SynthesisOverview} \end{minipage}% The minipage here isn't doing anything very useful as \includegraphics is already a box, and minipage just wraps it in another box. the problem is that [t] means make the reference point of the minipage the baseline of the top row, but here there is only one ...

1

A simple workaround is \signature{vspace{-80pt} Susan R. Bumpershoot}

2

Ah, got it; see, I had: \tzrn[nf,baseline=(A.base)](A){y} ... which expands to: \tikz[remember picture]\node[nf,baseline=(A.base)](A){y} ... however, that is wrong, the baseline parameter should be applied to \tikz - not to \node (there was a post about this on this site, but I lost the link). The correct would be: \tikz[remember ...

4

There is an implicit kerning between the upper case A and the apostrophe, if the font package charter is used. Because of the shape of the A, a negative kerning makes sense. It's not a bug, but by choice of the font designer. The following example compares three cases: Unmodified version with implicit kernings as defined by the font. Without implicit ...

5

If you use xcharter there seems to be no problem: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{XCharter}% \begin{document} DARPA’s \end{document}

4

the problem is clearly in the kerning instructions in the font, so what you want to do is inhibit kerning. there are several ways to do that: DARPA{}'s -- an empty group DARPA\/'s -- an italic correction DARPA{'}s -- isolate the apostrophe in its own group your choice -- they should all have the same result. warning -- if the passage containing this ...

1

You can also define a node placed at the middle of the coordinates, and big half the distance of the two coordinates. \node[rounded corners, draw=red, minimum size=10cm] at (15,15) {}; Here are the corners to show it fits: Ouput Code \documentclass[border=10pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \coordinate ...

3

If I understood you correctly, you like to determine rectangle with size determined with two coordinates (bottom left, top right). If this is a case, you can obtain this as follows: \documentclass[tikz,border=5mm]{standalone} \usetikzlibrary{fit} \begin{document} \begin{tikzpicture}[ mynode/.style 2 args = { draw, rounded corners, fill=black, ...

5

Instead of using \diameter, you can build the symbol yourself: \documentclass[12pt]{report} \usepackage{pict2e} \DeclareRobustCommand{\slashcirc}{{\mathpalette\doslashcirc\relax}} \makeatletter \newcommand\doslashcirc[2]{% \sbox\z@{$#1\m@th\circ$}% \setlength\unitlength{\wd\z@} \begin{picture}(1,1) \roundcap \put(0,0){\box\z@} ...

0

There are many ways to do this. It only gets tricky when the images are not the same size or scale. \documentclass[twocolumn]{article} \usepackage{graphicx} \usepackage{mwe} \begin{document} \begin{figure*}[h] \centering \includegraphics[width=0.47\linewidth]{example-image}\hfil \includegraphics[width=0.47\linewidth]{example-image-a}\par\medskip ...

0

After searching for a very long time, I found out a simple solution using multicols. \usepackage{multicol} \usepackage{graphicx} \begin{document} \begin{figure*} \begin{multicols}{2} \includegraphics[width=\linewidth]{figure name}\par \includegraphics[width=\linewidth]{figure name}\par \end{multicols} \begin{multicols}{2} ...

0

I've googled some more and figured out, that the list type \description is just too narrow (defined) for my purposes. Commands like \setlength{\leftmargin}{20pt} don't change anything for it. Now I use something (it quite close to be ready) like: \newenvironment{pathlist}{ \let\olditem\item \renewcommand\item[2]{\olditem ...

1

The \FloatBar­rier command from the placeins package seems to do the trick. The documentation states; Placeins.sty keeps floats ‘in their place’, preventing them from floating past a \FloatBarrier command into another section. To use it, declare \usepackage{placeins} and insert \FloatBarrier at places that floats should not move past, perhaps at ...

0

You can do that also with the floatrow package and its \RawCaption command: \documentclass{article} \usepackage{caption, subcaption} \usepackage{floatrow} \usepackage[demo]{graphicx} \usepackage[showframe]{geometry} \usepackage{ragged2e} \DeclareFloatVCode{myrowsep}{\vskip 3.5ex} \begin{document} \begin{figure} \centering \floatsetup{justification ...

3

For aligning the different parts of the frame environment, beamer offers the columns environment. Here you can stack two images in one and the other in another column in a pretty straightforward fashion. The other kind of placement options can be included as if you are operating in a regular frame inside a column. \documentclass{beamer} \usepackage{mwe} ...

3

Caption like this? Just put caption inside minipage or similar parbox, which follows last subfigure. \documentclass{article} \usepackage{graphicx} \usepackage{subcaption} \usepackage[active,floats,tightpage]{preview} \setlength\PreviewBorder{1em} \begin{document} \begin{figure} \centering \subcaptionbox{A subcaption that is wider than ...

3

Here is a simple solution with enumitem and url. I'm not sure to have fully understood your requirements, but Ithink it's more or less what you want. I defined a new list type, based on description, with a different formatting using the url package. The beforekey is for what is executed before entering the list \ here shortening \linewidth. I simpified your ...

2

You can set the phone number and company name/tagline each in their own tabular, since they would necessarily be aligned vertically at the center: \documentclass[a4paper,9pt,oneside,portrait]{memoir} \usepackage[newdimens]{labels} \LabelCols=2% \LabelRows=5% \LeftPageMargin=8.0mm% \RightPageMargin=8.0mm% \TopPageMargin=4mm% \BottomPageMargin=6.5mm% ...

2

For a shorter box, try minimum height=3cm or whatever. For text higher within a 4cm box, try \node [anchor=north] (name) at (box.north) or \node [anchor=center] (name) at ([yshift=5mm]box), say.

1

Usually helps if you add [h] as option for place holder: \documentclass[paper=a4, fontsize=11pt]{article} \usepackage[utf8]{inputenc} \usepackage{graphicx} \begin{document} \section*{Códigos} \begin{figure}[h]% <--- it say "let figure be here" \centering \includegraphics[width=10cm]{example-image} \caption{Código ...

Top 50 recent answers are included