Skip to main content

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 vote
1 answer
70 views

Turning Adobe Reader into an interactive picture editor?

The animate package has shown me that interaction via javascript in PDFs is possible. I would like a WYSIWYG / GUI for editing picture environments, in particular the coordinates of \put directives. ...
Jason Gross's user avatar
  • 2,169
1 vote
1 answer
82 views

fbox with multiple lines in lower right corner of page?

I want to put a framed box with text in the lower right corner of the page. The whole page is in a picture environment. The content is programmatically created (from a database), so the amount of text ...
OsakaWebbie's user avatar
1 vote
0 answers
57 views

Drawing arcs with arrowheads

The code below (which uses the pict2e package) seems to do what I intended but I want to do some further editing and add some other lines and label the angles differently. When angles are adjacent to ...
Michael Hardy's user avatar
1 vote
1 answer
141 views

Aligning Images with Bullet Points in a Three-Column Layout Using LaTeX

I'm working with LaTeX to create a document that has a three-column structure. In my layout, the first column is for topics, the second column contains a list of bullet points, and the third column ...
Daniel's user avatar
  • 131
3 votes
2 answers
80 views

Place element at each corner of minipage

General overview I try to put different elements on each corner of a minipage. MWE \documentclass[a4paper,12pt]{article} \usepackage{graphicx} \usepackage{picture} \usepackage{calc} \begin{document} ...
fauve's user avatar
  • 2,531
1 vote
0 answers
36 views

Alternative implementation of pict2e's \Vector

My implementation of pict2e (Aspose.TeX) lacks the definition of the \Vector command. I tried to implement it with \put and \vector but I am having problems with nearly vertical vectors (overflow and ...
stenio's user avatar
  • 111
-1 votes
2 answers
79 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
84 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
129 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
534 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
63 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} \...
user avatar
2 votes
2 answers
170 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
  • 415
2 votes
1 answer
188 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{...
DDS's user avatar
  • 9,768
1 vote
1 answer
105 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
95 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
138 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
60 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
97 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
194 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
418 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
49 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
150 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
597 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
267 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
155 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
152 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
310 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
94 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
75 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
  • 42.2k
0 votes
2 answers
299 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
  • 963
0 votes
1 answer
83 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
86 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
540 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
683 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
413 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
136 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
1k 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,818
2 votes
1 answer
73 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
78 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
114 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
6 votes
2 answers
5k 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
  • 283
4 votes
1 answer
254 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
  • 394
0 votes
1 answer
114 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's user avatar
  • 2,003
3 votes
1 answer
938 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
454 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
367 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