From c5ef1b6370d3229f52b292fa72c5b4700a77e32f Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Wed, 2 Aug 2023 03:24:42 -0700 Subject: fixed dpi scaling --- src/etc/employment/index.php | 12 ++++++++++++ src/etc/employment/techsupport.php | 29 +++++++++++++++++++++++++++++ src/phplatex.php | 4 ++-- src/writing/derivative.php | 2 +- 4 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 src/etc/employment/index.php create mode 100644 src/etc/employment/techsupport.php diff --git a/src/etc/employment/index.php b/src/etc/employment/index.php new file mode 100644 index 0000000..c41b29d --- /dev/null +++ b/src/etc/employment/index.php @@ -0,0 +1,12 @@ + +

+ This page is a list of things you could pay me to do. Isn't that fun? +

+ + diff --git a/src/etc/employment/techsupport.php b/src/etc/employment/techsupport.php new file mode 100644 index 0000000..803778a --- /dev/null +++ b/src/etc/employment/techsupport.php @@ -0,0 +1,29 @@ + +

+ I've grown up around computers and am intimately familiar with the operation of all types of digital systems. + I'm always happy to help set up new computers, phones, and tablets, or to assist in resolving problems that + have emerged. I understand exactly how important your data is--whether that's + your photos, your writing, or your work--and I'm always willing to + be flexible in my approach to engineering a solution that fits your needs. +

+

+ As a programmer, I have thousands of hours of experience with every facet of Windows, MacOS, and Linux computers-- + I've built multiple computers for my own personal use, and I maintain server hardware on premises to run my services. +

+

Examples

+ +

Contact

+

+ Please contact me at kai@kaistevenson.com. +

+ diff --git a/src/phplatex.php b/src/phplatex.php index 4d2c60b..2b9f490 100644 --- a/src/phplatex.php +++ b/src/phplatex.php @@ -82,7 +82,7 @@ function texify($string,$dpi='90',$fore="",$back="",$extraprelude="",$trans=FALS # check if image for that TeX in the cache, return img HTML if it exists if (file_exists($heredir.'/lateximages/'.$hashfn.'.'.$imgfmt)) - return ''.$stralt.''; + return ''.$stralt.''; # otherwise try to make and store: @@ -134,6 +134,6 @@ function texify($string,$dpi='90',$fore="",$back="",$extraprelude="",$trans=FALS copy($tfn.'.'.$imgfmt, $heredir.'/lateximages/'.$hashfn.'.'.$imgfmt); # Clean up temporary files, and return link to just-created image - return phplatex_cleantmp($tfn,$heredir).'LaTeX formula: '.$stralt.''; + return phplatex_cleantmp($tfn,$heredir).'LaTeX formula: '.$stralt.''; } ?> diff --git a/src/writing/derivative.php b/src/writing/derivative.php index edf8071..aad4332 100644 --- a/src/writing/derivative.php +++ b/src/writing/derivative.php @@ -6,7 +6,7 @@ include($_SERVER["DOCUMENT_ROOT"] . "/phplatex.php"); require($_SERVER["DOCUMENT_ROOT"] . "/vars.php"); function tex($latex) { global $c_fg, $c_bg; - return texify($latex, 130, $c_fg, $c_bg, "", FALSE); + return texify($latex, 260, $c_fg, $c_bg, "", FALSE); } ?>

-- cgit v1.2.3-70-g09d2