Tag Info

New answers tagged

3

I show here how to do it with one cobbled together tikz image (I don't know how to use tikz, so please forgive the incompetence) and use an \includegraphics for the rest. Substitute your code for each \savestack. \documentclass{article} \usepackage{graphicx,tikz} \usepackage[usestackEOL]{stackengine} \def\incg{\includegraphics[width=.5in]{graph.jpg}} ...


3

If all you want to do is to stack some tikzpictures, you can avoid nesting tikzpicture environments (which could produce undesired results or force you to previously box the inner environments) by simply using \raiseboxes and some \hspaces: \documentclass{article} \usepackage{tikz} \begin{document} \noindent \begin{minipage}{\textwidth} \centering ...


2

Like this? \documentclass{article} \usepackage{tikz} \tikzset{ box/.style={% rectangle, minimum height=4cm, minimum width=4cm, bottom color=blue,top color=blue!50 } } \begin{document} \begin{tikzpicture} \foreach \x in{4,3,2,1}{ \node[box] (c1) at (\x,\x) {}; } \end{tikzpicture} \end{document}


4

I defined a \Title command with four arguments to produce the desired layout; for example, the title in the image below was produced using \Title{Mohcine}{Some particular title}{Some test text}{Some other text} Please, feel free to adjust the settings according to your needs. The code: \documentclass[11pt,a4paper]{report} \usepackage{xhfill} ...


2

Work-in-progress solution There are many ways, really. You could do \draw ($(shiftedTriangleAcoordC)!0.5!(shiftedTriangleAcoordA)$) node[anchor=west]{2}; to get "halfway along the path from shiftedTriangleAcoordC to shiftedTriangleAcoordA", or use nodes directly in the path drawing (less repetition), like: % Draw triangle. \draw[black] ...


1

To get the text halfway the lines, use the commands \coordinate (midBC) at ($(shiftedTriangleAcoordB)+0.5*(shiftedTriangleAcoordC)-0.5*(shiftedTriangleAcoordB)$); \coordinate (midAC) at ($(shiftedTriangleAcoordC)+0.5*(shiftedTriangleAcoordA)-0.5*(shiftedTriangleAcoordC)$); \draw (midBC) node[anchor=north]{1}; \draw (midAC) node[anchor=west]{2}; Thanks to ...



Top 50 recent answers are included