Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
109 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{...
user avatar
  • 4,977
1 vote
1 answer
56 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 ...
user avatar
  • 113
2 votes
0 answers
52 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{...
user avatar
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{...
user avatar
0 votes
1 answer
46 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 ...
user avatar
1 vote
1 answer
46 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
51 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 ...
user avatar
  • 177
1 vote
2 answers
114 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 ...
user avatar
  • 265
1 vote
3 answers
192 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
user avatar
0 votes
1 answer
39 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{...
user avatar
  • 876
0 votes
1 answer
91 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. \...
user avatar
  • 1
0 votes
1 answer
38 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[...
user avatar
0 votes
3 answers
158 views

Draw a hash table horizontally

How to create this design? It's possible with forest?
user avatar
  • 3
0 votes
0 answers
45 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?
user avatar
0 votes
1 answer
87 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.
user avatar
4 votes
2 answers
215 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{...
user avatar
3 votes
2 answers
505 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{...
user avatar
0 votes
0 answers
80 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 ...
user avatar
  • 129
1 vote
0 answers
68 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 ...
user avatar
2 votes
1 answer
46 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[...
user avatar
  • 29.1k
0 votes
2 answers
104 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{...
user avatar
  • 933
0 votes
1 answer
51 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
74 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.
user avatar
  • 327
0 votes
1 answer
182 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 ...
user avatar
2 votes
1 answer
337 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 ...
user avatar
1 vote
1 answer
231 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}} \...
user avatar
3 votes
2 answers
372 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 ...
user avatar
  • 31
3 votes
1 answer
112 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 ...
user avatar
  • 108
1 vote
2 answers
668 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 ...
user avatar
  • 3,271
2 votes
1 answer
63 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 ([...
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
74 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.
user avatar
  • 113
5 votes
2 answers
3k 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 ...
user avatar
  • 273
4 votes
1 answer
206 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 ...
user avatar
  • 359
0 votes
1 answer
103 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) ...
user avatar
3 votes
1 answer
872 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){\...
user avatar
6 votes
1 answer
361 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.
user avatar
  • 191
3 votes
2 answers
316 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 ...
user avatar
  • 53
2 votes
1 answer
67 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 ...
user avatar
  • 1,086
5 votes
1 answer
268 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. %...
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{\...
user avatar
  • 16.8k
10 votes
1 answer
536 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 ...
user avatar