Tag Info

4

Instead of using sideways inside the node, you can just rotate the border of the shape instead. Further, with text width defined, the node contents will be flush left, so by removing text badly centered they end up at the right place. This also allows you to use \\ to add a line break. Last, don't use \large etc. as environments, you can specify the font ...

1

With PSTricks. \documentclass[preview]{standalone} \usepackage{pst-node,multido} \def\mybox#1{\psframebox{\makebox[3cm]{#1}}} \begin{document} \offinterlineskip \psmatrix[rowsep=.5] \mybox{A}\\ \mybox{B}\\ \mybox{C} \endpsmatrix \multido{\ia=1+1,\ib=2+1}{3}{\ncline{\ia,1}{\ib,1}} \end{document}

7

6

Another option, using TikZ and chains: \documentclass{article} \usepackage{tikz} \usetikzlibrary{chains} \begin{document} \begin{tikzpicture}[ start chain=going below, node distance=3mm, every node/.style={on chain,join}, every join/.style={-}, block/.style={draw, text width=3cm,align=center} ] \foreach \i in {1,...,5} \node[block] {Text \i}; ...

3

The Code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \begin{tikzpicture} [auto, block/.style = {rectangle, draw, text width = 6em, align =center}, line/.style = {draw, thick, -}] \matrix[every node/.style = block, row sep=6mm]{ \node (t1) {Text 1}; \\ \node (t2) {Text 2}; \\ \node (t3) {Text 3}; \\ \node (t4) ...

14

\documentclass{article} \begin{document} \lineskip0pt \framebox[3cm]{\strut Text1} \makebox[3cm]{\strut\vrule} \framebox[3cm]{\strut Text2} \makebox[3cm]{\strut\vrule} \framebox[3cm]{\strut Text3} \end{document}

1

I've made, this, but not with tikz, with PSTricks and especiallythe package pst-circ that can draw circuits diagrams... I believe it is more powerful (and handier), but it's my point of view... I've made a MWE down below. It's the line labelangle=:U that determines the angle between the component and the direction of the label (and the name too). :U will ...

4

I believe I can help with your first two points. It allows upsidedown labels. This is because you have the sloped option set. If you turn that off, then your right-hand example becomes That fixes the upsidedown labels. But then... Sometimes labels overlap the arrow. This can be fixed by giving the auto option for your voltage info ...

5

Not sure this is wise, but it shouldn't break anything. In this case, you just need to save \tikz@mode and \tikz@options, before starting the new path. You could look at tikz.code.tex and find which keys/styles use \tikz@addoption and \tikz@addmode (or just experiment with options) to find out some of the other things can be passed to the "inner path". I ...

2

@everyone Solved in this way: \begin{tikzpicture} \calendar [dates=2013-09-01 to 2013-09-last, week list, month label above centered, month text=\%mt \%y0 ] if (Sunday) [red] if (weekend) [nodes={fill=black!20,minimum size=1.7em}]; \end{tikzpicture}

Top 50 recent answers are included