Questions tagged [picture-mode]

{picture} is an environment to create simple pictures containing lines, arrows, boxes, circles, and text. Note that while this environment is not obsolete, new documents typically use much more powerful graphics creation systems, such as {tikz-pgf}, {pstricks}, {metapost}, or {asymptote}.

Filter by
Sorted by
Tagged with
0
votes
3answers
74 views

Plotting and labelling graph of greatest integer function using LaTeX picture environment

I want to plot and label the graph of greatest integer function f(x) = [x + 1] on the interval [−2, 2]. Using LATEX picture environment
0
votes
1answer
35 views

Drawing two tables such that one table contains a picture

I'm using this template in my exams. \documentclass[a4paper,12pt]{report} %########### PREAMBULE ##################### %Choix math\'ematiques \usepackage{latexsym,amsfonts,amsmath} \usepackage{...
0
votes
1answer
54 views

Curve solid then dotted in picture

I want to draw a curve which is solid over $0$ to $\rho_1$, but dashed (or dotted) thereafter. But, despite much experimentation, I can only get it solid all the time. Any thoughts appreciated. \...
0
votes
1answer
27 views

How to add a picture next to the text/Header?

I need you help. I want to write my CV with LaTeX and I got everything working except one thing. I want to add a picture next to the header/first part of the CV. This is my code: \documentclass[...
0
votes
3answers
105 views

Draw a hash table horizontally

How to create this design? It's possible with forest?
0
votes
0answers
41 views

Writing on Images

I hope you are having a nice day. There are a lot of Instagram pages that use LaTeX to write on images. Is it possible to write on images? If yes, how can I do that?
0
votes
1answer
56 views

How to typeset pictures like in picture?

I just want to typeset pictures like in picture, one in left and one in right,and the right one is slightly lower than the left one.
4
votes
2answers
177 views

How can I center my circuit?

\documentclass[11pt,letterpaper]{article} \usepackage[latin1]{inputenc} \usepackage{graphicx} \usepackage{geometry}[top=2cm,bottom=2cm,hmargin=2.5cm] \usepackage[american]{circuitikz} \begin{...
3
votes
2answers
375 views

How to draw a line?

Here is a page that is US letter size, in landscape orientation. There is a single line going from (0,0) to (11in, 7.5in). Is this possible to do in TeX? Here is what I have so far: \documentclass{...
0
votes
0answers
75 views

Convert TikZ code to `picture` environment

I created two figures using TikZ, they appear below. Now, the document doesn't compile in Scientific Workplace 5.5, it seems that it has issues with TikZ. In SWP5.5 the picture environment works well ...
1
vote
0answers
66 views

Unwanted glue with boxes in Picture environment [duplicate]

Per request, here is the image of mwe.pdf: See below for my problem, discussion of problem, and copy of mwe.tex. This is a difficult query to present because it necessarily involves inserting an ...
2
votes
1answer
33 views

Failure to patch pict2e to have a fillable oval

I am trying to patch "on the fly" pict2e.sty so that I can have filled ovals (this comes from here: https://github.com/Rmano/circledsteps/issues/5). I tried this: \documentclass{article} \usepackage[...
0
votes
2answers
73 views

Is it possible to rotate this graph in latex?

Is it possible to draw this graph in latex ? I want to rotate the given picture so that I can get a horizontal picture of this. I tried using \includegraphics[angle=270,origin=c]{pic} \begin{...
0
votes
1answer
41 views

including diagbox changes unrelated picture

Running the input \documentclass[a4paper]{article} \pagestyle{empty} %\usepackage{diagbox} \begin{document} \begin{picture}(10,30) \put(5,0){\vector(0,1){30}} \end{picture}% \end{document} through ...
0
votes
1answer
71 views

Drawing a certain figure

I know it's too much to ask but can anyone please help to draw this figure? Colorized would be amazing ! Thanks in advance.
0
votes
1answer
108 views

making a diagram in latex

I have seen the picture one wanted to make like that. But I have tried in the smart diagrams, but the central point is not there along with those arrows. I am writing my thesis for the final ...
2
votes
1answer
204 views

pdflatex says “Non-PDF special ignored!” trying to draw \circle in picture environment

I have several \circle{}'s in a picture environment that are drawn perfectly when the .tex file is run with latex, and the resulting .dvi is run through dvipdf to produce a .pdf But running the .tex ...
1
vote
1answer
108 views

How to enlarge graphical pictures made within the “picture” environment in Latex?

I am using the picture environment to make a drawing. For example: \setlength{\unitlength}{0.8cm} \begin{picture}(12,4) \thicklines \put(8,3.3){{\footnotesize $3$-simplex}} \put(9,3){\circle*{0.1}} \...
3
votes
2answers
358 views

graphs in latex

I am trying to build some kind of a tree, but in its node instead of a symbol I want to put a framebox. Also, in that framebox at a specific position I want an other framebox. While I couldn't find a ...
3
votes
1answer
76 views

pict2e: Cannot use decimal line slope argument inserted from macro

I am implementing nonstandard operators by drawing them as pictures using the pict2e package and then scaling them to fit in the various math modes. I store the picture's parameters in external macros ...
1
vote
2answers
375 views

highlighting numbers in table with ellipses

I am trying to figure out how to highlight numbers in tabulars with circles (well, ellipses), ideally not with the large overhead of tikz. Something along the following, except that I don't know how ...
2
votes
1answer
56 views

tikz scale not congruence in Tex

I have code for a figure below \begin{tikzpicture}[scale=1,font=\footnotesize] \coordinate (A) at (0,0); \coordinate (B) at (0:1.5); \coordinate (C) at ([shift={(B)}]-50:1); \coordinate (D) at ([...
77
votes
25answers
12k views

Welcoming 2019 Pi day: How to draw the letter π?

First of all: don't forget that exactly 140 years ago, Albert Einstein was born; but exactly one year ago, Stephen William Hawking passed away. What a special day for science! Question How to draw ...
1
vote
1answer
60 views

How to put matrix in picture environment

I want to put matrix in Picture environment. I am trying this way \put(20,20){\begin{pmatrix}\end{pmatrix}} but it does not work. How can I put matrix in picture environment.
3
votes
2answers
2k views

Absolute position on page

I am trying to position elements absolutely on a page. These positioned elmenets use the put{} command itself. The coordinate origin should always be in the top left corner on every page, also when ...
4
votes
1answer
184 views

Drawing arcs very close to segments with pict2e package

I would like to recreate this drawing only using the pict2e package, I present my progress, but I have the following question, it does not look much like the drawing except in +1,-1, it seems to me ...
0
votes
1answer
80 views

Crop figures generated by “picture” environment

I've got this piece this MWE: \documentclass[11pt]{article} \usepackage{amsmath} \begin{document} My equation \begin{equation*} \setlength{\unitlength}{1cm} \fbox{\begin{picture}(17,5)(-1.5,0) ...
3
votes
1answer
705 views

What does (250,75) means in ``\begin{picture}(250,75)``

In the code \begin{picture}(250,75) % draw triangle \put(15,10){\line(1,0){50}} \put(65,10){\line(0,1){50}} \put(65,60){\line(-1,-1){50}} % draw square \put(100,10){\line(1,0){50}} \put(150,10){\...
6
votes
1answer
309 views

How to make a parabola and a line in picture environment?

I'd like to make this picture using the picture environment of LaTeX and I have no idea how.
3
votes
2answers
290 views

pict2e doesn't draw filled circles at specified point

When compiling the pict2e code below I don't get the expected output of a red circle with a "white hole" (doughnut shaped figure). Instead it places one of the circles slightly off the specified ...
2
votes
1answer
66 views

Line ends at wrong location in picture environment

I draw a yellow square inside a grey square, exactly in the middle. Unexpectedly, the yellow square is not aligned horizontally but instead moved to the right: Why? If I understand correctly, the ...
5
votes
1answer
252 views

Color influences layout?

To verify a layout template, I use eso-pic. In this example, all boxes should start at 20mm from the left, but as soon as I use \color...put \color...put the X-coordinates of the boxes are deferred. %...
4
votes
1answer
2k views

Using \put command relative to page size

I want to include a logo in the pdf pages included in Beamer. I tried writing macro and progressed so far. \documentclass[fleqn,xcolor=dvipsnames]{beamer} \newlength{\logosize} \setlength{\...
10
votes
1answer
520 views

Macros and pgfmath within put in picture environment

I am trying to put some TikZ pictures into a Beamer slide to enhance readability. The position of the TikZ pictures on the slide will depend on how much text comes before. Since there will be many ...