6

With use of the arrows.meta, automata, positioning and quotes library: \documentclass[border=3mm]{standalone} \usepackage{tikz} \usetikzlibrary{arrows.meta, automata, positioning, quotes} \begin{document} \begin{tikzpicture}[auto, > = Stealth, every edge quotes/.style = {font=\footnotesize}, % if you like ...


5

Here is my attempt: \documentclass[border=0.2cm]{standalone} % required packages and libraries \usepackage{tikz} \usetikzlibrary{automata, positioning} \begin{document} \begin{tikzpicture} [draw=cyan!70!black, node distance = 3cm, on grid, auto, every initial by arrow/.style = {thick}] % State q0 \node (q0) [state, initial, ...


4

You can add 'dotted' to draw \draw[brown, dotted] (-2,0.4) -- (2,0.4);


3

You can use the canvas setting and pic definition to draw angle easily. For example, if you draw on xy plane, simly define the canvas as \draw [canvas is xy plane at z = 0] <code here>; Here is the sample code, based on your code, as a starting point: \documentclass[tikz,border=10pt]{standalone} \usepackage{tikz-3dplot} \usetikzlibrary{angles,quotes} \...


3

Using this solution from Tom Bombadil, you can adjust each axis to give it the angle and aspect you want. \documentclass[tikz,border=3.141592mm]{standalone} \begin{document} \newcommand{\xangle}{30} \newcommand{\yangle}{90} \newcommand{\zangle}{-10} \newcommand{\xlength}{1} \newcommand{\ylength}{0.5} \newcommand{\zlength}{1} ...


2

Let me spell out my comment ... If you not specify position of floats (figure, table) they will float to the top of page, so your case you only need to specify positioning for table too: \documentclass{article} \usepackage{graphicx} \usepackage{lipsum} % for dummy text \begin{document} \begin{figure}[ht] % <--- \centering \includegraphics[scale=0.8]{...


2

You have not provided any example, and the space at the top is not expected, and I can not reproduce. I correct for it here anyway causing the image to protude above the text. Mostly the space at the bottom is forced by the \\ which should never be used at the end of a paragraph, and causes TeX to warn about the underfull box with badness 10000 (ie, the ...


2

This is a small cheat with TikZ's library shading. I don't know how to rotate rainbow's colors. % with Nguyen Quang Dung \documentclass[tikz,border=5mm]{standalone} \usetikzlibrary{shadings} \begin{document} \begin{tikzpicture} % decorations \def\a{1.1} \def\b{.03} \draw[gray,nodes={black,scale=.5}] (0,-\a) node[below]{$0$} node[below=4mm]{$x$} (1,-1-\b)--(...


1

That line expects to add .tif support to LaTeX by using ImageMagic (convert executable on Linux; I think on Windows it's called magick) to convert a .tif into a .png before graphics inclusion, because no TeX engine/backend (as far as I know) can include TIFF files natively. That line was probably inspired by this part of grfguide: which invokes the zcat ...


1

Here is simple solution, assuming this is the last page. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{graphicx} \title{bla} \author{Hello} \date{March 2021} \begin{document} \maketitle Some work were done, some work were done, some work were done, some work were done, some work were done, some work were done, some work were done, some ...


1

\begin{tikzpicture} \node[shape=circle,draw=black] (0) at (0,0) {$0$}; \node[shape=circle,draw=black] (4) at (6,0) {$1$}; \node[shape=circle,draw=black] (1) at (3,-1) {$2$}; \node[shape=circle,draw=black] (2) at (3,2) {$3$}; \draw (0) -- (1) node[pos=.5, below, sloped, rotate=0] {e1}; \draw (0) -- (2); \...


1

A recent version of TikZ introduces patterns.meta library which defines new patterns which can be parametrically adapted. It seems that the new library is still experimental and can be changed. But it does what you want. \documentclass[11pt]{amsart} % %%%%%%%%%%%%%%%%% Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{amsmath,amssymb} \usepackage{tikz} \...


Only top voted, non community-wiki answers of a minimum length are eligible