Difference between revisions of "File:FindxHere.jpg"
(Importing image file) |
|||
| Line 1: | Line 1: | ||
| + | [[Findx]]: Find $x$: |
||
| − | Importing image file |
||
| + | |||
| + | $x$ is here! |
||
| + | |||
| + | |||
| + | ==[[C++]] Generator of lines== |
||
| + | #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== |
||
| + | <nowiki> |
||
| + | \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> |
||
| + | </nowiki> |
||
| + | |||
| + | [[Category:Findx]] |
||
| + | [[Category:C++]] |
||
| + | [[Category:Latex]] |
||
| + | [[Category:Humor]] |
||
Revision as of 09:44, 21 June 2013
Findx: Find $x$:
$x$ is here!
C++ Generator of lines
#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/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 17:50, 20 June 2013 | 796 × 309 (21 KB) | Maintenance script (talk | contribs) | Importing image file |
You cannot overwrite this file.
File usage
There are no pages that use this file.