Questions tagged [annotations]

about annotating text and graphics with other typographical structures: {tikz-pgf}, {marginpar}, {soul}, {math-mode}, ...

Filter by
Sorted by
Tagged with
1
vote
0answers
78 views

Illustrated equation (with TikZ) with evenly spaced lines (and some homogeneous highlight)

If possible, I would like to achieve this in a simpler and better way, namely: using a single equation where lines are spaced in a regular way the cup and bracket are big enough each highlighting ...
5
votes
3answers
1k views

How do I make Wick contractions?

Can I make this in LateX? I want do group numbers with these lines. Can someone help me, please?
0
votes
2answers
125 views

Annotate math equation with text on arrows around the equation

is there any particular way to get something similar to that in tikz with or without any packages?
2
votes
2answers
101 views

Annotating equations

I tried to annotate my equation but the annotation shows up on the opposite side. \begin{equation*} a+k_nr=a(a^{\varphi(r)})^n \tag{dla n=1,2,\ldots,} \end{equation*} How do I move it to the right?
1
vote
0answers
43 views

How can I achieve this annotation effect?

I am reading a programming book, and I notice a very intuitive use of annotations to explain syntax, Here is an example: Here is another example I would like to achieve a similar effect for my own ...
0
votes
0answers
37 views

Annotated linguistic resource for grammar, syntax and morphology

I stumbled upon this site (link) that have made a full syntax tree (annotated linguistic resource for grammar, syntax and morphology) of an Arabic text: Is their a package/similar approach to ...
0
votes
2answers
62 views

Arrow up-down with annotation to its right

I know commands like \underrightarrow{Text} which allow for annotatoin of an arrow. Is there a similar way to create an arrow pointing up-down with text annotation to its right?
3
votes
2answers
152 views

TikZ: Annotate edges with distributions of Bayesian neural network

Is there a way of annotating edges in TikZ with "distributions" as in the right half of this image illustrating the difference between a regular and a Bayesian neural network? Here's what I have so ...
1
vote
2answers
86 views

Overlaying drawings and annotations over tables and ordinary text

Okay, here's another one on tables (maybe we should do a series). So, we've got our tables grouped together nicely with braces (thanks to some great answers to an earlier question). Follow the link ...
3
votes
2answers
228 views

Contractions using {simplewick}

Hi I need the syntax for a wick contraction under a number that goes to infinity. Essentially the sum going over all contractions. The right side of the contraction doesn't have an end essentially. ...
2
votes
2answers
87 views

Operations on both sides of equation with annotations

I recently found the package witharrows which allows you to annotate your equations and steps taking during algebraic manipulations and things like this for example. \WithArrowsOptions{displaystyle,...
1
vote
1answer
76 views

How to make annotation to code listings

Is it possible to make annotations to source codes like below?
1
vote
0answers
148 views

Is there a LaTeX package for annotating text/code?

I would like to annotate one-line code (shell commands) in a LaTeX document. For example, the command du -ah --max-depth=1 . | sort -h. I like the style in which shell commands are annotated at ...
0
votes
0answers
82 views

Can Latex formatting commands be used in Mendeley notes?

I am putting together an annotated bibliography and am using the "notes" field in Mendeley for my annotations. Mendeley automatically stores these notes in the bibtex annotate field. I am able to ...
4
votes
2answers
380 views

Add annotation text below a matrix

I already have this matrix: \[ \left[ \begin{array}{ccc} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \\ \end{array} \right] \] But I would like to ...
2
votes
2answers
443 views

Add annotation on beamer slide, simulating hand-drawing?

I would like to add on my beamer slides something that simulate as if I had been drawing a comment by hand. This would circle, come on top of text or formulas, and allows to insert text. Ideally, I ...
1
vote
1answer
696 views

Creating an annotated bibliography in APA

Update: When I tried implemented gusbrs's solution (below), I was having issues with the code as well, so I couldn't add my own references. Then I discovered that the issue had something to do with my ...
11
votes
1answer
666 views

How to annotate matrix using tikz

so not really sure on how I can achieve this, I have tried to do it so far with tikznode and didn't get it to look like I wanted, granted not really sure of what I'm doing. This is the output I'm ...
3
votes
0answers
106 views

How can I typeset and annotate bilingual poetry?

I need to translate into English and annotate Latin poetry (specifically Horace's satires, which I will copy and paste from here), and then annotate the Latin. Ideally I would have to make minimal ...
2
votes
2answers
175 views

annotate a tikz matrix-vector multiplication graphic

Hello all I am struggling to annotate a graphic for Matrix Vector Multiplication (henceforth as MVM). Here is the source code I wrote: \documentclass{article} \usepackage{tikz} \usetikzlibrary{...
2
votes
1answer
86 views

Follow-up to: Figure with table, text, background colors, and outside figure annotations [tikz][library matrix]

This is a follow-up question to Figure with table (using tikz with library matrix). Although I received a great answer and good feedbacks for my previous question (see above link), I am having a ...
1
vote
1answer
119 views

Figure with table, with both text and background colors within the cells of the table, and outside figure annotations

I am trying to draw a figure that includes a table 4x3 (probably combining tikzpicture and colortbl), with text and background colors (grayscale) within the cells, and some annotations outside the ...
0
votes
1answer
48 views

Align left margin note with displaystyle math

For one of the packages I'm making, I want to denote part problems in the left margin. I don't want to use e.g. \reversemarginpar since this is up to the user to define. Exercises are always going to ...
13
votes
3answers
907 views

Add Annotations and Remarks next to Equations

for a thesis I am currently writing on, I would like to highlight and explain some mathematical transformations inside the equations (to explain why the transformation holds). Of course, I could "...
7
votes
1answer
486 views

Source code annotation line by line

I'm need to annotate source code line by line using the listings package. Here's an example of what I'm looking for (made in MS Word): These particular examples display price of executing each line (...
1
vote
0answers
60 views

Adding reply to annotation using pdfcomment

I recently discovered the pdfcomment package to annotate my latex-generated PDF files. Here is a minimum working example of what I have been doing: \documentclass{article} \usepackage[utf8]{inputenc}...
0
votes
1answer
81 views

tikz circuits: how to adjust color of annotation

I defined an annotation for make contact symbol. It works well but I have a hard time overriding the color of annotation when I use the symbol. I checked, the same is the case for light emitting ...
2
votes
1answer
140 views

biblatex force single indented annotations

I'm writing an annotated bibliography that has to be in the MLA format (so no indentation first line of the citation, every line after that has to be indented once) but the annote tag automatically ...
1
vote
1answer
232 views

Annotation of the node of neural network:

Here is the code of the neural network representation: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usepackage{hyperref} \usepackage{url} \usepackage{graphicx} \usepackage{...
2
votes
2answers
66 views

Matrix vertical and horizontal description

I'm trying a Matrix to represent. What I have now is this: But I want this. A solution with tikz would be maybe better. \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc}...
1
vote
1answer
319 views

Annotation on vertical arrow

I am illustrating the relation between some formulas. I need to add annotations on the iff arrow to refer them later. I know it can be done with \overset like: \[ A \overset{(1)}{\iff} B \overset{(2)}...
8
votes
2answers
216 views

Move shaded polygon behind chemfig schemes

I have the following chemical reaction scheme with a shaded polygon (using link) as shown in MWE below: MWE \documentclass{article} \usepackage{chemfig} \begin{document} %\schemedebug{true} % ...
3
votes
1answer
114 views

overbrace in Context

In LaTeX and Co, I can reach the following by using \overbrace and mathclap: The source creating this example is: \[ E(\vec{r},t) \propto e^{ \overbrace{ i(\vec{k}\cdot\vec{r}-\omega t)...
5
votes
2answers
109 views

Annotating the rightmost upper corner of a cell of a ROTATED table with a small letter/symbol

(second post) The previous answer works fine for the tables I have, except for big tables that I need to rotate has shown in the next code. I played with the first two parameters of the solution ...
2
votes
2answers
133 views

Adding shaded polygon to chemfig schemes

I have the following chemical reaction scheme with MWE below: MWE \documentclass{article} \usepackage{chemfig} \begin{document} \schemestart P \arrow(P--Q){<=>[$\mathrm{k_{pq}}$]} Q \arrow{&...
4
votes
1answer
109 views

How to added shaded rounded rectangle to chemfig schemes?

I have the following chemical reaction scheme with MWE below: MWE \documentclass{article} \usepackage{chemfig} \begin{document} \schemestart P \arrow(P--Q){<=>[$\mathrm{k_{pq}}$]} Q \arrow{&...
2
votes
1answer
281 views

How can I modify a bibliography style to include annotations with xpatch?

I need to create an annotated bibliography using the biblatex-sbl package. I have managed to hack something together by creating a custom bbx file, but I was introduced to xpatch as a possible, more ...
5
votes
2answers
832 views

n-base to decimal calculations in LaTeX

I have to make an assignment about converting base-n notation to decimal and vice versa. We are allowed to make it on paper, and send it in digitally by scanning. However, I'd like to send it in ...
4
votes
3answers
705 views

How to add a horizontal piece of text on a figure?

I have the following piece of latex code to produce a figure. Here I am using the \stackinset command of the stackengine package to write labels for each column (Model 1, Model 2 and Model 3). \...
6
votes
2answers
417 views

Two-column document with annotations between columns

How can I create a dcoument (e.g. a book) with two columns and some annotation, such as references BETWEEN them? See example picture: The references and some comments are in the gap between the ...
8
votes
6answers
1k views

How to draw tikz node behind text

I am trying to annotate an equation using tikz. I'd like to highlight a part of that equation using a tikz node, but the left part of the equation gets covered: \documentclass[varwidth, border={0pt ...
1
vote
1answer
113 views

GO board drawing with flexible annotations

As Tikz beginner, I'd learn skills for GO board drawing to do the following conveniently: add stones in arbitrary board positions (BOTH for grid points and unit squares) with text tag or other ...
1
vote
1answer
125 views

\pdftooltip does not work all sentence

MWE \documentclass[a5paper,11pt]{article} \usepackage{pdfcomment} \usepackage{multicol} \usepackage{color} \setlength{\columnseprule}{1mm} \renewcommand{\columnseprulecolor}{\color{black}} \begin{...
1
vote
1answer
102 views

Annotating vertical relations with multiline equations

It would be nice to be able to create something like this in LaTeX: So basically, the idea is to write relations vertically, have them be extensible, and be able to annotate them with possibly ...
2
votes
1answer
490 views

Circled references within code lstlisting

So I just want to create some circled numbers within my code lstlisting, which I could easily reference within a nearby description text. This is my description text and I want to refer to [1] in \...
0
votes
1answer
192 views

How the pdfcomment package produces nice copyable moveable pdf annotations and why it cannot be a Latex maths formula

Unsuccessful with a global question Annotation on a pdf : copyable, moveable, and including LaTeX maths and Comments/tips on a (non Latex) pdf including mathematical formulas, I come back with very ...
0
votes
0answers
118 views

Annotation on a pdf : copyable, moveable, and including LaTeX maths [duplicate]

My need: As a teacher, regularly I need to annotate a pdf document of around hundreds of pages of maths. I need to be able to write maths myself in these annotations. Annotations tend to be "always ...
2
votes
1answer
98 views

Using pin edge to show axis corresponding to different line plots in a multi-axis plot

I am trying to use the pin options to draw a |- path from a node defined on a line plot to point the axis corresponding to the plot. My current code and output is as follows. \documentclass{...
0
votes
0answers
215 views

Highlighting Java annotations in lstlistings [duplicate]

Is it possible to highlight Java annotations in lstlisting? I could not find any similar questions in tex.stackexchange. I'm searching for some yellow-like color. Update: I found another question ...
6
votes
2answers
315 views

Annotate drawing produced by TikZ turtle

I'm trying to prepare math exercises for kids. To that end, I have the following minimal turtle ride: \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{turtle} \def\xs{1,2,3} \begin{...