# Tag Info

18

As mentioned in the comments, \tikz[baseline=(X.base)]{% works for this \documentclass{article} \usepackage{pgf,tikz} \makeatletter \begin{document} \gdef\drawfontframe#1{% \tikz[baseline=(X.base)]{% \node[rectangle,draw,inner sep=0pt,outer sep=0pt] (X){#1}; \draw[red, line width=0.4pt] (X.text) circle(0.4pt)[fill=red] -- (X.base east);}% ...

14

You need to use baseline on the tikzpicture, not on the nodes. As Tom Bombadil mentioned in the comments you can use current bounding box.center to put the center of the TikZ picture on the baseline. I would also add an yshift to center it around the middle of the = sign. -.5ex seems to do it. \documentclass{article} \usepackage{tikz} \begin{document} ...

12

The number of the enumerate environment does not move to the bottom, the bottom of the bounding box of the TikZ picture is set at the base line. This base line can be changed by using the baseline option of TikZ. The PGF manual states in subsection 12.2.1 “Creating a Picture Using an Environment” on page 117.: The following key influences the ...

11


4

Explanation: inner xsep = <distance between longest text and end of picture> raise = <inner xsep> - <distance between longest text and brace> The baseline option is used to align the text vertically. Code \documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations.pathreplacing,decorations.pathmorphing} \tikzset{% ...

3

Without changing anything in your tree-syntax, the tikz-qtree package allows you to get the right result: \documentclass{scrreprt} \usepackage{tikz-qtree} \begin{document} \Tree[.table [.thead [.tr [.th [.\textit{Vorname} ] ] [.th [.\textit{Nachname} ] ] ] ] ...

3

Is this what you want? \begin{tikzpicture} [mainbullet/.style={rectangle, minimum size=0.3cm, draw=orange!100, fill=orange!100, thick}, maintitle/.style={rectangle, opacity=0.5}] \node[mainbullet] (experiencebullet) at (0, -23) {}; \node[maintitle] (experiencetitle) [right=10mm of experiencebullet.south east, anchor=base west] {Experience}; ...

2

Not sure if this helps but, introducing a \strut after every node text will adjust bottom node's limit. \documentclass{article} \usepackage{fontspec} \usepackage{tikz} \begin{document} \begin{tikzpicture}[remember picture,baseline,every node/.style={draw,red,inner sep=0pt,outer sep=0pt}]% \node [align=left,text width=5em] (moonfact) {The moon is ...

1

Using baseline option in tikz was the solution. Here is the MWE that produces the desired result: \documentclass{article} \usepackage{tikz} \newcommand{\rbox}[1]{ \begin{tikzpicture}[baseline] \node[rounded corners=3pt, draw, anchor=base]{#1}; \end{tikzpicture} } ...

1

Use \raisebox to adjust the height. It's a trial and error process, but it works fine. \titlegraphic{ \raisebox{10pt}{\includegraphics[width=2cm]{NCSE}} \hfill% \includegraphics[width=2cm]{KENT-Blue} } Or, you could use \raisebox for the second picture, and put in a negative value for the first argument.

1

This is another attempt. minipage is used with [b] alignment Code \documentclass{beamer} \usetheme{Warsaw} \usepackage{graphicx} \usepackage{mwe} \title{Title} \author{A.~Author} \institute{MWE} \titlegraphic{ \begin{minipage}[b]{0.49\textwidth} \centering \includegraphics[height=1.5cm,width=2cm]{example-image-A} \end{minipage} \hfill% ...

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