# Tag Info

4

For this I would start by placing (and naming) nodes or coordinates at the desired locations. (A coordinate is basically a node with no size and no caption.) In the example below I name them according to location, with l/r meaning left/right, and t/m/b meaning top/mid/bottom. I would then connect the nodes as necessary. Using a thick line may be easier in ...

3

\documentclass{article} \usepackage{collcell} \newcolumntype{f}{>{\collectcell\cellframe}l<{\endcollectcell}} \newcommand*\cellframe[1]{\fbox{\makebox[2em][l]{\strut#1}}} \begin{document} \begin{tabular}{lffl} something & x & & text \\[10pt] something & & & text \\[10pt] something & & xy & text ...

3

You may want to try the matrix approach from TiKZ. This is just an example, but many positioning and style aspects may be added. \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix} \tikzset{squarestyle/.style={draw,text width=2cm,text height=1cm}} \tikzset{matrixstyle/.style={matrix of nodes,nodes in empty cells,ampersand ...

4

The straightforward way can be this (obviously, you will define macros for the boxes, but this is to give an idea), using basic LaTeX boxes: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \begin{document} \parindent=0pt\relax % no indent at the start of the paragraph \fbox{\parbox[t][3cm][c]{5cm}{ Some text ...

1

Here is one example. Following your comment after the question, I have put 10 segments (11 ticks). \documentclass[tikz,border=7mm]{standalone} \usetikzlibrary{decorations.pathreplacing} \begin{document} \begin{tikzpicture} % draw segment and ticks \draw[-](0,0)--(10,0) foreach~in{0,...,10}{(~,-2pt)--(~,2pt)}; % draw braces and labels ...

3

Here's one way to modify things: \documentclass[tikz,border=10pt,multi]{standalone} \usetikzlibrary{decorations.pathreplacing,calc,positioning} \begin{document} \begin{tikzpicture}[every edge/.style={shorten <=1pt, shorten >=1pt}] \draw (0,0) node [below] {0} -- (10,0) node [below] {1}; % draw the tick marks \coordinate (p) at (0,2pt); ...

2

Here is my progress: after paying close attention to the first block of the initial posted code, I learn 2 things. The first thing is that the (7,7) right after the begin{pstricks} is the sum of the 2 defined nodes in the function. The second is, I can join 2 object by using "multidipole and put the object in curly bracket." This works with resistors and ...

4

Use always xelatex and do not load package inputenc it is not needed for xelatex: \documentclass[a4paper,10pt]{article} \usepackage{pst-circ} \begin{document} \begin{pspicture}(7,7) \pnodes(0,0){A}(7,7){B} \multidipole(A)(B)\resistor{$R$}% \capacitor[linecolor=red]{$C$}% \diode{$D$}{} \end{pspicture} \begin{pspicture}(-1,-1)(1,1) ...

Top 50 recent answers are included