Tag Info

1 vote
Accepted

• 1,270

• 103
Accepted

tikz: draw arc between two specific points

Here are some different arcs: \documentclass[tikz, border=1cm]{standalone} \begin{document} \begin{tikzpicture} \draw[yshift=0cm] (1,0) to [bend right=45] (5,0); \draw[yshift=2cm] (1,0) to [bend ...
• 21.4k

tikz: fit rectangle to content and rectangle nodes

For nodes positioning I would use positioning library and define anchors for nodes. For nodes I suggest to use common defined style (without definition of minimum node size) with parameter for colors: ...
• 250k
1 vote

tikz: fit rectangle to content and rectangle nodes

Not the best solution but at least one possibility: \documentclass{article} \usepackage[margin=1.5cm,top=1cm,headheight=16pt,headsep=0.1in,heightrounded]{geometry} \usepackage{tikz} \usetikzlibrary{...
• 240

How to control image to be at proper position in 2 column documents?

I will propose a solution, which you probably will not like. The journal has this class and very likely, this is an intended behavior to arrange different articles in the journal more easily. If you ...
• 2,069
Accepted

CV symbol position alignment problem

Try this code for \cveventtt using parboxes. Adjust the relative size of the parboxes to your liking. \newcommand{\cveventtt}[4]{% {\large\color{emphasis}#1\par} \smallskip\normalsize \...
• 24.4k
Accepted

How to position multiple objects inside a fbox by relative X/Y position

Picture mode isn't just for technical drawing \documentclass{article} \begin{document} \fbox{\begin{picture}(10cm,7cm) \put(2cm,1cm){this} \put(8cm,5cm){that} \put(5cm,6cm){3rd} \end{picture}} \end{...
• 665k
1 vote

How to fix the number lines to to fit on the page

Its is better to add a blank line to start a new paragraph instead of \\. I added several and changed many of the tikzpicture to \begin{tikzpicture}[scale = 2] and moved then outside of example. So ...
• 24.4k
Accepted

Footnote rule y position

This modifies \footnoterule to add a tikzmark to the left. The actual line is 3pt-2.6pt above the baseline. You might also look at \iftikzmark, but that shouldn't be an issue in this case. \...
• 69.4k
1 vote
Accepted

backgroundsetup is not working when using another tikzpicture

I guess this is what you wanted: \documentclass[12pt]{article} \usepackage{tikz} \usetikzlibrary{arrows.meta} \usepackage{pgfplots} \pgfplotsset{compat=1.18} \usepackage{mwe} %%%%%%%%%%%%%%%%%%%%%%%%%%...
• 1,278

Adjusting the starting coordinates of an arrow precisely inside a TikZ node

With use of the chains library and define arrows start position by perpendicular coordinate systems: \documentclass[border=3.141592,tikz]{standalone} \usetikzlibrary{arrows.meta, ...
• 250k
1 vote

• 11

Aligning and positioning the node contents inside a table made of TikZ matrix

You should not have minimum height smaller from "font height + inner ysep". In the case that nodes content are only numbers (and not letters), you can use the following style for matrix ...
• 250k
1 vote
Accepted

Aligning and positioning the node contents inside a table made of TikZ matrix

I'm not sure about differences between desired and achieved results, but a simplified version with TiKZ could be: \documentclass[a4paper,openany,14pt]{extbook}%extbook \usepackage{tikz} \...
• 127k
1 vote

Aligning and positioning the node contents inside a table made of TikZ matrix

Do you really need tikz here? If not, this should solve your problem: \documentclass[a4paper,openany,14pt]{extbook}%extbook \begin{document} \begin{tabular}{p{1.5cm}|c|p{1cm}|} \cline{2-3}...
• 131
Accepted

tikz: How can I find the value of current page.north west?

According to tikz document P.260: https://ctan.mirror.globo.tech/graphics/pgf/base/doc/pgfmanual.pdf The current page is a predefined node in tikz. This node can be used to access the current page. It ...
• 1,278

Image from \includegraphics showing up in wrong location?

For those who use XeLaTex, it's better to use \usepackage{float} and use [H] as an option for a figure.
Accepted

Figure placement after first time referenced in text

The base latex release includes the flafter package that ensures floats never float "back" to the top of the current page before their definition in the source. So you just need to place the ...
• 665k
1 vote

Figure placement after first time referenced in text

so what I did in my Thesis is that I wrote my text, then reference it with \ref{fig:foo} and then placed my figure with \begin{figure}[h!] \includegraphics{foo.png} \label{fig:foo} \end{figure} ...
• 109

Top 50 recent answers are included