# Tag Info

2

You are using overlay, if you remove this it will flow with the text not above it. \documentclass[12pt,a4paper]{scrartcl} \usepackage{tikz} \begin{document} Some text above ... Some text above ... Some text above ... Some text above ... Some text above ... Some text above ... Some text above ... \begin{center} \begin{tikzpicture}[remember ...

1

The error there's no line to end is not related to \href or \centerline. Before, you have very likely a \\, which does not end a line. \documentclass{article} \usepackage{hyperref} \begin{document} \href{URL}{\centerline{text}} \centerline{\href{URL}{text}} \end{document} Runs fine except for an overfull \hbox, because the first line is too large ...

3

Even with auto active, you can force a on path placement adding anchor=center in node options: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{shapes,arrows,positioning} \begin{document} \begin{tikzpicture}[node distance=2cm,auto,>=latex, every node/.style={ font=\sffamily\scriptsize }, circtext/.style={draw,circle,minimum ...

3

References: Introduction to positioning Relative positioning of nodes in TikZ Difference between "right of=" and "right=of" in PGF/TikZ An overview of node positioning? Rounded corners as a tangent in the right direction (the first section) Code \documentclass[tikz]{standalone} \usetikzlibrary{positioning,backgrounds,calc} ...

4

Try \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{shapes,arrows,positioning} \begin{document} \begin{tikzpicture}[node distance=2cm,>=latex, every node/.style={ font=\sffamily\scriptsize }, circtext/.style={draw,circle,minimum size=8pt,inner sep=2pt}, dot/.style={draw,circle,fill=black,minimum size=0.6mm,inner sep=0pt} ] { ...

0

How about something like \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \node[inner sep=0pt] (explanations) {THIS IS MY EXPLANATION}; \node[anchor=north west,inner sep=0pt] (otherexplanations) at ($(explanations.south east)+(4mm,0)$) {First text}; \node[anchor=north west,inner sep=0pt] ...

0

\documentclass{article} \usepackage{graphicx} \begin{document} \begin{center} X\dotfill X \resizebox{\textwidth}{!}{% \includegraphics[height=1cm]{example-image} \includegraphics[height=1cm]{example-image-4x3}} \end{center} \end{document} The initial 1cm height is arbitrary, then scale the combined pair to text width.

1

You should use the techniques described at this answer \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{decorations.pathmorphing} \usetikzlibrary{decorations.markings} \usetikzlibrary{% calc,% fadings,% shadings% } \usetikzlibrary{arrows,shapes} \usetikzlibrary{shapes.geometric,calc} \usetikzlibrary{backgrounds,fit} ...

0

With the setting \setlength{<some parameter>}{<length>}, you can change the default settings as you wish. Here, I changed the \selfmesswidth parameter: \documentclass{article} \usepackage{msc} \begin{document} \begin{msc}{test} \setlength{\selfmesswidth}{3cm} \setlength{\envinstdist}{3.5cm} % According to the above one \declinst{a}{}{$A$} ...

0

After some time, a few hours actually, I finally figured out how to do it! \documentclass{article} \usepackage{msc} \begin{document} \begin{msc}{test} \drawframe = \declinst{a}{}{$A$} \selfmesswidth = 5cm %First outgoing \lostsymbolradius = 0px \lost[1]{label}{}{a} \nextlevel \nextlevel %First receiving \lostsymbolradius = 0px \found[1]{label2}{}{a} ...

1

This is also possible using background package, according to this answer: \documentclass{beamer} \usepackage{lipsum} \usepackage{background} \backgroundsetup{ placement=top, position={\paperwidth-0.7in,-0.2in}, scale=1, opacity=1, contents={\Huge DRAFT}, } \setbeamertemplate{background}{\BgMaterial} ...

4

Put a rule of 1in height and 0in width and another with 1in width and 0in height. \documentclass{beamer} \usepackage{lipsum} \begin{document} \setbeamertemplate{background}{% \rule{0in}{1in}% \rule{1in}{0in}% \Huge DRAFT } \frame{\lipsum[1]} \end{document} There is always a possibility of using tikz to put things on a page byt here only light ...

0

Both solutions that recommend Tikz are over-complicated. You can do that without defining new variables or calling other packages than tikz. As Section 17.13.2 of the (long) Tikz manual explains, you can use: \begin{tikzpicture}[remember picture,overlay] \draw [...options...] (current page.center) ...figure... (size); \end{tikzpicture} Simple! Change ...

0

Many replies for the alternative forms of this question that use Tikz seem overcomplicated to me. If you look in the (long) Tikz manual, Section 17.13.2 has everything you need, in very simple terms. For example, for my case I used: \begin{tikzpicture}[remember picture,overlay] \node [xshift=5cm,yshift=1cm] at (current page.center) { Some text }; ...

4

Inside a picture environment, you can place things a arbitrary positions using \put \documentclass{beamer} \usepackage{lipsum} \begin{document} { \setbeamertemplate{background}{ \begin{picture}(254,190.5)(0,0)% \put(42,72){% Adjust these coordinates \Huge DRAFT% }% \end{picture} } ...

2

Use \raisebox: \documentclass{article} \usepackage{graphicx} \begin{document} Just testing something here... Lorem ipsum dolor sit amet,... \noindent Attempt at signature: \makebox[0pt][l]{\hspace*{2cm}\raisebox{-3ex}{\includegraphics{testing.png}}}% \hrulefill That's all, folks ... \end{document}

0

I generally use $\begin{array} FIGURES \end{array}$ to insert many graphs in one figure... No need for extra packages: \begin{figure*}[t!] \$\begin{array}{rl} \includegraphics[width=0.5\textwidth]{FIGURE_1.pdf} & \includegraphics[width=0.5\textwidth]{FIGURE_2.pdf}\\ \multicolumn{2}{c}{\includegraphics[width=0.5\textwidth]{FIGURE_3.pdf}} ...

0

to uncover the image at last, you should use the uncover option : \uncover<2>{\includegraphics[width = \textwidth]{image.pdf}} the number is the number of the slide. To put the image at the right side and under the bullet, you can use a very small line where you put a unbreakable space with the ~ sign. One example is : \begin{itemize} ...

0

It seems that encapsulating the content of each step in textblocks often solves the problem of jumping frames. This is an example for a frame: \begin{frame} \only<1-> { \begin{textblock*}{100mm}(10mm,0.2\textheight) % first content \end{textblock*} } \only<2-> { \begin{textblock*}{100mm}(10mm,0.5\textheight) % second content \end{textblock*} } ...

3

Yes there exists a generic workflow to place object relatively to another. This generic workflow is TeX itself. Only what you need is to know TeX. For example, you can create the macro \putto{right}{up}{object} which pusts the object relative to the current point of typesetting but the typesetting point isn't moved. The macro can be defined as: ...

2

Looking arround TX.SX you'll find a lot of examples with \tikzmark \documentclass{beamer} \usepackage{booktabs} \usepackage{tabularx} \newcolumntype{Y}{>{\centering\arraybackslash}X} \usepackage{tikz} \usepackage{bbding} \newcommand{\BigArrow}{\scalebox{5}[1]\ArrowBoldRightShort\!} \setbeamertemplate{background}[grid][step=10mm] % tikzmark command, ...

2

Without the original images and some output, I guess that just one or more images on the left are bigger that the width of the column because the option [scale=0.4], so that they are covered by the image of the right column. Try with [width=\linewidth]. In this MWE, the images A is wrongly scaled to the 70% and therefore is covered with the image "1x1". ...

1

Use the floatrow package for that: \documentclass[]{report} \usepackage[a4paper,showframe]{geometry} \usepackage{subcaption} \usepackage{lipsum} \usepackage[demo]{graphicx} \usepackage{floatrow} \begin{document} \vspace*{4ex} \begin{figure}[!htb] \begin{floatrow}[2]\ \ffigbox{\caption{discussion1} \label{fig:discussion1}}% ...

1

\vfill is gobbled when used at the top of a page. You would have to place a blank marker like \mbox{}: \mbox{} \vfill \begin{mdframed} <stuff> \end{mdframed} or use \vspace*{\fill}.

1

In essence you need to place each of the elements in a block. This can be achieved either via a tabular, or via a minipage (other options also exist). Below I've used a set of minipages: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure} \begin{minipage}[b]{.45\textwidth} \centering ...

2

If the tabular and image has roughly the same height, then align them at their baselines. By default, \includegraphics is aligned at the base, but tabular is aligned at the vertical centre. Using \begin{tabular}[b] would suffice as it changes the vertical centre alignment to be aligned with the last line's baseline... Other options include adding ...

2

It is not at all clear from your question what code you are using so it is almost impossible to say what the problem might be. Perhaps you have not loaded the graphicx package. Perhaps you are using beamer commands in a document which uses the article class. Perhaps something else. This is an example of a custom title in the article class which emulates the ...

1

You have to use right = of (which is the syntax for positioning library) instead of right of =. \documentclass[tikz,border=10pt]{standalone} \usetikzlibrary{shapes,arrows,positioning} \begin{document} \tikzstyle{block} = [draw, rectangle, minimum height=3em, minimum width=6em] \tikzstyle{line} = [->, dashed] \begin{tikzpicture}[auto, node ...

3

For adding Eq. use cleveref. For the equation numbers in the margin: \documentclass[leqno]{article} \usepackage{amsmath} \usepackage{etoolbox} \usepackage{lipsum} \makeatletter % detach \eqref processing from \tag processing \let\tagform@ref\tagform@ \let\maketag@@@ref\maketag@@@ \patchcmd{\eqref}{\tagform@}{\tagform@ref}{}{} ...

Top 50 recent answers are included