File:FindxHere.jpg

From TORI
Revision as of 03:43, 15 July 2020 by T (talk | contribs) (→‎C++ Generator of lines)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

FindxHere.jpg(796 × 309 pixels, file size: 21 KB, MIME type: image/jpeg)

Findx: Find $x$:

$x$ is here!


C++ Generator of lines

// you need to load ado.cin to run this example

#include<stdio.h> 
#include<math.h>
#include<stdlib.h>
#include"ado.cin"
main(){ int m,n; double x,y,t; FILE *o;
o=fopen("findxcc.eps","w"); ado(o,202,102);
fprintf(o,"1 1 translate\n");
#define M(x,y) fprintf(o,"%6.3f %6.3f M\n",0.+x,0.+y);
#define L(x,y) fprintf(o,"%6.3f %6.3f L\n",0.+x,0.+y);
M(0,0)L(0,100)L(200,0)
fprintf(o,"1 setlinecap 1 setlinejoin .8 W 0 0 0 RGB C S\n");
fprintf(o,"showpage\n%c%cTrailer",'%','%'); fclose(o);
     system("epstopdf findxcc.eps");    
     system(    "open findxcc.pdf");
     getchar(); system("killall Preview");
}

Latex generator of labels

 \documentclass[12pt]{article} %<br>
 \usepackage{geometry}            %<br>
 \usepackage{graphicx} %<br>
 \usepackage{color} %<br>
 \usepackage{rotate} %<br>
 \paperwidth 382px %<br>
 \paperheight 148px %<br>
 \textwidth 420px %<br>
 \textheight 220px %<br>
 \pagestyle {empty} %<br>
 \parindent 0pt %<br>
 \topmargin -100px %<br>
 \oddsidemargin -100px %<br>
 \newcommand \sx {\scalebox} %<br>
 \begin{document} %<br>
 \begin{picture}(402,202)  %<br>
 \put(201,101){\includegraphics{findxcc}} %<br>
 \put(192,150){\sx{1.3}{$a$}} %<br>
 \put(290,90){\sx{1.3}{$b$}} %<br>
 \put(290,160){\sx{1.3}{$x$}} %<br>
 \put(60,180){\sx{1.3}{Find $x$ :}} %<br>
 \put(90,80){\sx{1.4}{ \color{blue} \it $x$ is here \qbezier(5, 2)(60, 20)(91, 54) }} %<br>
 \put(286,164){\sx{1.8}{ \color{blue} \circle{12} }} %<br>
 \end{picture} %<br>
 \end{document}   %<br>

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current17:50, 20 June 2013Thumbnail for version as of 17:50, 20 June 2013796 × 309 (21 KB)Maintenance script (talk | contribs)Importing image file

There are no pages that use this file.

Metadata