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
3
votes
2answers
106 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
66 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
64 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 ...
0
votes
0answers
39 views

iOS drawing app for sketching latex pictures?

the latex picture environment has a nice small set of drawing primitives, and the iPad has a nice writing pen. I am not an iOS programmer, but the latex primitive should be relatively easy to ...
2
votes
1answer
26 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
58 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
33 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
67 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
88 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
97 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
69 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
328 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
52 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
158 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
55 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 ([...
78
votes
25answers
11k 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 ...
1
vote
1answer
54 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
719 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
147 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
65 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
568 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
254 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
256 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
65 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
233 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
515 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 ...