From: François Fleuret Date: Wed, 23 Oct 2024 06:23:22 +0000 (+0200) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=ad251e802aad8aa3985aff2e2add561c4ef4c5eb;p=tex.git Update. --- diff --git a/sliderule.pdf b/sliderule.pdf new file mode 100644 index 0000000..0e6d8ae Binary files /dev/null and b/sliderule.pdf differ diff --git a/sliderule.tex b/sliderule.tex new file mode 100644 index 0000000..ae0aee5 --- /dev/null +++ b/sliderule.tex @@ -0,0 +1,38 @@ +%% -*- mode: latex; mode: reftex; mode: flyspell; coding: utf-8; tex-command: "pdflatex.sh" -*- + +\documentclass[11pt,a4paper,twoside]{article} +\usepackage[a4paper,top=1cm,bottom=1cm,left=1cm,right=1cm]{geometry} +\usepackage[utf8]{inputenc} +\usepackage{amsmath,amssymb,dsfont} +\usepackage[pdftex]{graphicx} +\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue,citecolor=blue]{hyperref} +\usepackage[round]{natbib} +\usepackage{tikz} +\usetikzlibrary{arrows,arrows.meta,calc} +\usetikzlibrary{patterns,backgrounds} +\usetikzlibrary{positioning,fit} +\usetikzlibrary{shapes.geometric,shapes.multipart} +\usetikzlibrary{patterns.meta,decorations.pathreplacing,calligraphy} +\usetikzlibrary{tikzmark} +\usetikzlibrary{decorations.pathmorphing} + +\pagestyle{empty} + +\begin{document} + +\makebox[\textwidth][c]{ +\begin{tikzpicture} +\draw[draw=none] (-7,-2)--(7,23); +\draw (0,-1) -- (0,21); +% for x in range(1,12): print(f"{x}/{math.log(x)}") +\foreach \x/\y in {1/0.000,2/3.004,3/4.761,4/6.008,5/6.975,6/7.765,7/8.433,8/9.011,9/9.522,10/9.978,12/10.769,14/11.437,16/12.015,18/12.526,20/12.982,23/13.588,26/14.119,29/14.592,33/15.152,37/15.648,42/16.197,47/16.685,53/17.206,59/17.670,66/18.156,74/18.652,83/19.149,93/19.642}{ + \draw (0,\y)--+(-1,0) node[left] {$\x$}; + \draw (0,\y)--+(1,0) node[right] {$\x$}; + \node[draw,circle] at (-5, 10) {\Huge A}; + \node[draw,circle] at (5, 10) {\Huge B}; +} + +\end{tikzpicture} +} + +\end{document}