About how to edit the code in Word (technical posts)

Source: Internet
Author: User

Recently, due to various documents, including course setup and engineering documents

High requirements on the editing format in word ~

Baidu gave me a look at the code!


Tip 1:

Insert a table with one row and one column and write code in the table


Tip 2:

10 fonts used by programmers (reproduced in the previous article)

Commonly used word include Courier New, lucida console, consolas


If cleartype is enabled, use the lucida console or consolas

If cleartype is not enabled, use Courier New

Lucida console, 10 is a good choice ~

I compared the code font in codeblocks, which is the same as Courier New!

Slice comparison:








Tip 3:

Word Font mismatch after code pasting:

Select All, right click -- paragraph -- indent and spacing select the alignment mode as both ends align indent left and right all 0 Character Spacing segments before and after all 0 rows

I tried it and didn't try out the obvious effect. Maybe the posture is wrong? O (Clerk □clerk) O ~










About how to edit the code in Word (technical posts)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.