5 votes
Accepted

Redoing the align environment with a specific formatting

Here's a quick tikzmark version (though without the library because we don't need any advances techniques it has to offer). Change the outer ysep to adjust the white space between the = and the actual ...
4 votes

Redoing the align environment with a specific formatting

As stated in the comments, you can place the equals signs in \tikzmarknodes (add {} for proper spacing) and then use tikz to draw lines between these nodes (which can span over several lines): \...
3 votes
Accepted

Chapter Style Where All Chapter Numbers Appear Above Chapter Title

Interesting idea. You could do something like this: \documentclass[oneside,11pt,a4paper]{memoir} \usepackage[margin=2.5cm]{geometry} \usepackage{tikz} \usetikzlibrary{positioning} \usepackage{...
3 votes
Accepted

How to Create a Fancy Style of Chapter

This might get you started, at least in a minimal example this works. \documentclass{report} \usepackage[explicit]{titlesec} \usepackage{titletoc} \usepackage{tikz} \colorlet{chaptercolorA}{violet} \...
  • 53.2k
2 votes
Accepted

How I can do this section style better?

I am not sure whether it is a good idea to indent the section title so that it starts further to the right than the body text. Maybe you should rather increase the left margin. Anyways, the following ...
2 votes

Color diagonal of a matrix

For information, here is what you can do with {pNiceArray} of nicematrix. \documentclass{article} \usepackage{nicematrix,tikz} \begin{document} $\begin{pNiceArray}{cccw{c}{9mm}c} \CodeBefore \...
  • 31.2k
2 votes
Accepted

Struggling in drawing a path graph in TikZ

Here you go! \documentclass[border=0.2cm]{standalone} % https://tex.stackexchange.com/questions/678743/struggling-in-drawing-a-path-graph-in-tikz \usepackage{tikz} \usetikzlibrary{automata, ...
  • 18.3k
2 votes
Accepted

Coloring and arrow orientation of smart diagram

You could do the following: \documentclass[12pt,a4paper]{report} \usepackage{smartdiagram} \usesmartdiagramlibrary{additions} \begin{document} \smartdiagramset{% back arrow disabled=true, ...
2 votes
Accepted

Tikz: Text not centered within Tikz boxes

The reason why the text in the nodes is not centered is actually, that what looks like nodes (the black rectangles) are indeed just that: black rectangles. The text is then positioned later using ...
1 vote

Drawing a Flowchart for a Degree Plan

Here are a few ideas: Placing Nodes The nodes are getting placed via the online grid placement of the graphs library. This needs manual adjustments of distances between nodes (via x and y keys) since ...
1 vote

Circuitikz: How to draw an electromagnetic relay?

\documentclass[a4paper,12pt]{article} \usepackage{tikz} \begin{document} \tikzset{every picture/.style={line width=0.75pt}} %set default line width to 0.75pt \begin{tikzpicture}[x=0.75pt,y=0....
  • 49.7k
1 vote
Accepted

Package PGF Math Error: Unknown operator `c' or `co' (in '{4cos(deg(x))}')

Try this: \documentclass{article} \usepackage{graphicx} % Required for inserting images \usepackage{amsmath} \usepackage[a4paper, total={6in, 8in}]{geometry} \usepackage{graphicx} % ...

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