Graphics, Figures & Tables ⇒ tikZ | Padding for Text inside the Node
tikZ | Padding for Text inside the Node
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
tikZ | Padding for Text inside the Node
http://www.latex-community.org/forum/vi ... ?f=5&t=547
This code worked, giving the left indent for the whole text:
Code: Select all
\newenvironment{myindentpar}[1]%
{\begin{list}{}%
{\setlength{\leftmargin}{#1}}%
\item[]%
}
{\end{list}}
Code: Select all
{\setlength{\topsep}{0pt}}%
{\setlength{\partopsep}{0pt}}%
{\setlength{\itemsep}{0pt}}%
{\setlength{\parsep}{0pt}}%
{\setlength{\labelsep}{0pt}}%
How can I set the top margin to 0 for a list inside a tikz node?
Also this approach:
Code: Select all
\hangindent2em
\hangafter=0
\blindtext
\medskip
\blindtext
tikZ | Padding for Text inside the Node
regarding TikZ, have you checked out the “inner sep” and maybe the “outer sep” attributes for nodes? Try to set the seps to zero…
Code: Select all
\node[inner sep=0cm]...
By the way, when I use lists inside of diagrams, I always use the “compact”-versions from the paralist package. Its much more accurate for the use in graphics.
tikZ | Padding for Text inside the Node
http://dxdy.ru/topic47224.html
Code: Select all
\node[draw] (p0) {\hspace{1 cm}\parbox{2cm}{C ccccccccc cccccccccc cccccc ccccccccc cc ccccc ccccc}};