Tag Info

Hot answers tagged

6

Sometimes spurious " " (white space) are important in beamer and you need to eliminate them with %. I don't know if all of them are necessary but next code works as expected: \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame} \foreach\x in {1,...,9}{% \begin{minipage}{.5\textwidth}% \only<\x>{% \begin{tikzpicture} \draw (0,0) -- ...


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} } ...


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 ...


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} ] { ...


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} ...


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

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

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}


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". ...


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

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

I used flowfram to divide the page into 4 quadrants, and each figure winds up centered (vertically and horizontally) in each quadrant. \documentclass[landscape,twocolumn,letterpaper]{article} \usepackage{geometry} \usepackage{tikz} \usepackage{lipsum} \usepackage{flowfram} \newflowframe[1,2]{\dimexpr 0.5\textwidth - 0.5\columnsep}{\dimexpr 0.5\textheight - ...


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

You have to change the width of the marginpar-column as well as the width of the left margin. Option showframe helps us in visualizing the page layout. Please note the additional paragraph indent. \documentclass{scrartcl} \usepackage{marginnote} \reversemarginpar \usepackage[nochapters]{classicthesis} \usepackage[LabelsAligned]{currvita} ...


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 ...


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

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

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 ...


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} ...


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} ...



Only top voted, non community-wiki answers of a minimum length are eligible