Code Monkey home page Code Monkey logo

word-macro's Introduction

一个可以实现仿真手写的宏,支持随机修改字号,行间距,字体,字间距

2020.11.1 updata:修复部分bug
2020.12.20 updata:优化代码,处理字间距、行间距、字偏移等细节,增加首行缩进。感谢Github@喃南下贡献
2020.9.12 updata:增加随机字间距功能,加了一种推荐字体

Word-Macro

以下教程感谢知乎@Canscxs贡献,如果图片加载有问题请移步知乎

首先单击视图>>查看宏(Mac用户为工具>)

1

给宏命名后,点击创建

2

然后复制代码1.1文件中代码,粘贴在Sub和End Sub之间,然后按下ctrl+s,关闭界面即可。

ps:默认参数可能并不适合你的需求,代码中提供了各种参数的修改指引,你可以根据指引调出需要的效果

3

可以根据自己的需求改字体,前提是你的电脑上有相同名称的字体,下面会推荐几个。

4

好了之后再点运行

5

下面是运行的效果,自己调一下参数会更好 6 7

下面是旧版代码运行效果,如有需要可以从代码1.0中复制


下面推荐的字体有

汉仪晨妹子W

汉仪平安行粗简(不太推荐)

杨任东竹石体-Extralight

凌慧体-简(macOS自带)

萌妹子体

张维镜手写楷书

手写大象体

陈静的字完整版

可以在以下链接中找到:

如果你想使用自己的字体,这个网站可以帮你制作你自己的手写体,非常简单,直接按网站提示来就行


如果这个项目对你有帮助,请点一下右上方star(收藏)

word-macro's People

Contributors

zhaoruheng avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.