As of May 31, 2023, we have updated our Code of Conduct.

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
-1 votes
2 answers
60 views

put text at different height with tikz node

I want to position a text at a certain height. If put at (5,60) or any other number. It dosen't change the position on my pdf. What to do ? \documentclass{article} \usepackage{tikz} \usepackage[left=...
Houda Araj's user avatar
0 votes
1 answer
61 views

Import a picture in LaTeX? [duplicate]

I just started writing in LaTeX. I want to import a picture but failing. The picture is .png format.
Festona's user avatar
  • 39
2 votes
1 answer
77 views

\rotatebox{} without horizontal translation

I would like to rotate an element inside of a picture environment about a specified point. I tried using \rotatebox{} for this. This webpage describes what \rotatebox{} does: Rotate the element about ...
rnwst's user avatar
  • 23
0 votes
1 answer
231 views

Use LATEX’s picture environment to make a picture of a 3–4–5 Pythagorean triangle,

i have written the coe but the hypotenies is not coming out right here is my code \begin{picture}(450,350) \put(0,0){\circle{5}} \put(450,350){\circle{5}} \put(450,0){\circle{5}} \put(0,350){\circle{5}...
Priyanka_3030's user avatar
0 votes
0 answers
50 views

Wrapfigure not working

I can't figure out why the first code shows the picture in a totally different place, while the second one works just fine, any clue? The one not working: \begin{wrapfigure}{r}{0.5\textwidth} \...
GoofyMushroom0's user avatar
2 votes
2 answers
145 views

How to centre the picture position horizontally?

I am drawing pictures in picture-mode with commands. The code example is below: \documentclass[a4paper,12pt]{article} \usepackage[english]{babel} \oddsidemargin 0mm \oddsidemargin 0mm \textheight ...
Nick's user avatar
  • 395
2 votes
1 answer
165 views

How to Give Stars a Glow Effect

Consider the code \documentclass[a5paper,12pt,onecolumn,openany,final]{book} \usepackage[hmargin=0.7in,vmargin=0.75in]{geometry} \usepackage{pstricks,psvectorian} \usepackage{color} \usepackage{...
mlchristians's user avatar
  • 7,600
1 vote
1 answer
87 views

Reverting to earlier LaTeX picture environment for compilation with TexLive 2020?

I have written a document in Overleaf that I wish to submit to arXiv. The document compiles fine on Overleaf with TexLive 2021, but fails when uploading to arXiv. From what I understand arXiv compiles ...
tommym's user avatar
  • 113
2 votes
0 answers
86 views

Centering Figure issue

I am still new in Latex and have some difficulty centering a figure from MATLAB. As you can see the code from MATLAB prints perfectly on Latex so does the picture. However, I use \centering and \begin{...
Riddle72's user avatar
  • 107
0 votes
0 answers
23 views

Centering Figure issue [duplicate]

I am still new in Latex and have some difficulty centering a figure from MATLAB. As you can see the code from MATLAB prints perfectly on Latex so does the picture. However, I use \centering and \begin{...
Riddle72's user avatar
  • 107
0 votes
1 answer
98 views

Problem with inserting picture

I want to insert a picture with this code below. But, before that picture, I write some paragraphs and those paragraphs are almost at the bottom part of the page (the picture is bigger than the ...
Louisa V's user avatar
1 vote
1 answer
54 views

When using NewTX, let picture's \circle produce “o” instead of “a” in the text layer of PDF

Running pdflatex on \documentclass{article} \usepackage{newtxtext} \usepackage[slantedGreek,subscriptcorrection]{newtxmath} \pagestyle{empty} \newcommand{\opencolon}{% {\setlength{\unitlength}{.1ex}%...
user avatar
1 vote
0 answers
80 views

Overlaying text with the picture environment

I use the picture environment to add some rotated text to the right at several places throughout my document. Obviously this affects the positioning of the text that follows. I would like to avoid ...
220284's user avatar
  • 209
1 vote
2 answers
156 views

How to use TikZ in a Picture environment way?

Now in paper for code I'm using picture environment for picture drawing. However it's not convenient since there's some fixed vector directions, which are hard to define for specific dot (if I want to ...
taciturno's user avatar
  • 265
1 vote
3 answers
322 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
Tarandeep Kaur's user avatar
0 votes
1 answer
47 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{...
Schüler's user avatar
  • 886
2 votes
3 answers
134 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. \...
cel's user avatar
  • 21
0 votes
1 answer
276 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[...
mingabua's user avatar
0 votes
3 answers
211 views

Draw a hash table horizontally

How to create this design? It's possible with forest?
L. WD's user avatar
  • 3
0 votes
0 answers
77 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?
Tarek Acila's user avatar
0 votes
1 answer
125 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.
Timéolee's user avatar
4 votes
2 answers
277 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{...
Gessiel Rojas's user avatar
3 votes
2 answers
1k 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{...
William Entriken's user avatar
0 votes
0 answers
91 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 ...
MathTeX's user avatar
  • 129
1 vote
0 answers
69 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 ...
user2661923's user avatar
2 votes
1 answer
59 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[...
Rmano's user avatar
  • 36.8k
0 votes
2 answers
178 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{...
Charlotte's user avatar
  • 943
0 votes
1 answer
74 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 ...
user avatar
0 votes
1 answer
80 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.
Partha's user avatar
  • 327
0 votes
1 answer
289 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 ...
Pratapa Chandra Nayak's user avatar
2 votes
1 answer
495 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 ...
John Forkosh's user avatar
1 vote
1 answer
302 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}} \...
user321627's user avatar
3 votes
2 answers
378 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 ...
jane's user avatar
  • 31
3 votes
1 answer
124 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 ...
npjg's user avatar
  • 108
1 vote
2 answers
980 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 ...
ivo Welch's user avatar
  • 3,595
2 votes
1 answer
70 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 ([...
Cao Thành Thái's user avatar
77 votes
25 answers
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 ...
user avatar
1 vote
1 answer
100 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.
King Khan's user avatar
  • 113
5 votes
2 answers
4k views

How can I position elements absolutely on a page?

I am trying to position elements absolutely on a page. These positioned elements use the put{} command itself. The coordinate origin should always be in the top left corner on every page, also when ...
miile7's user avatar
  • 273
4 votes
1 answer
230 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 ...
Oromion's user avatar
  • 361
0 votes
1 answer
110 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) ...
Gabriele Nicolardi's user avatar
3 votes
1 answer
914 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){\...
Bhaskar Vashishth's user avatar
6 votes
1 answer
428 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.
anonymous's user avatar
  • 191
4 votes
2 answers
339 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 ...
Tobias's user avatar
  • 73
2 votes
1 answer
69 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 ...
olpa's user avatar
  • 1,116
5 votes
1 answer
283 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. %...
Stefan K.'s user avatar
  • 463
4 votes
1 answer
3k 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{\...
Masroor's user avatar
  • 17.5k
10 votes
1 answer
544 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 ...
Håkon Hægland's user avatar