Giter Club home page Giter Club logo

Comments (3)

AllenDowney avatar AllenDowney commented on August 24, 2024

I generally use {\tt} because it's easier to type, but have to use \verb""
for some special characters like underscore. They should have the same
effect. What difference are you seeing?

On Wed, Sep 23, 2015 at 4:15 AM, Jialiu Wang [email protected]
wrote:

In line 4796, two different styles were used to display almost the same
thing:
blah blah \verb"'dx is 3'" blah blah {\tt 'dy is 4'} blah

They have different displaying effects. Why they are used in this way?


Reply to this email directly or view it on GitHub
#1.

from thinkpython.

jlwangPoincare avatar jlwangPoincare commented on August 24, 2024

In my environment, when the PDF file is generated, the quotation marks are
displayed in different ways. The ones in \verb"'dx is 3'" (a pair of single
quotation marks inside the double quotation marks) look like vertical
quotation marks, while the ones in {\tt 'dy is 4'} seem like written
towards the down-left direction.

This is what the paragraph looks like on my computer.

2015-09-23 5:27 GMT-07:00 Allen Downey [email protected]:

I generally use {\tt} because it's easier to type, but have to use \verb""
for some special characters like underscore. They should have the same
effect. What difference are you seeing?

On Wed, Sep 23, 2015 at 4:15 AM, Jialiu Wang [email protected]
wrote:

In line 4796, two different styles were used to display almost the same
thing:
blah blah \verb"'dx is 3'" blah blah {\tt 'dy is 4'} blah

They have different displaying effects. Why they are used in this way?


Reply to this email directly or view it on GitHub
#1.


Reply to this email directly or view it on GitHub
#1 (comment)
.

from thinkpython.

AllenDowney avatar AllenDowney commented on August 24, 2024

Ah, now I understand the issue. I will clean this up to make it
consistent. Thanks!

On Wed, Sep 23, 2015 at 2:42 PM, Jialiu Wang [email protected]
wrote:

In my environment, when the PDF file is generated, the quotation marks are
displayed in different ways. The ones in \verb"'dx is 3'" (a pair of single
quotation marks inside the double quotation marks) look like vertical
quotation marks, while the ones in {\tt 'dy is 4'} seem like written
towards the down-left direction.

This is what the paragraph looks like on my computer.

2015-09-23 5:27 GMT-07:00 Allen Downey [email protected]:

I generally use {\tt} because it's easier to type, but have to use
\verb""
for some special characters like underscore. They should have the same
effect. What difference are you seeing?

On Wed, Sep 23, 2015 at 4:15 AM, Jialiu Wang [email protected]
wrote:

In line 4796, two different styles were used to display almost the same
thing:
blah blah \verb"'dx is 3'" blah blah {\tt 'dy is 4'} blah

They have different displaying effects. Why they are used in this way?


Reply to this email directly or view it on GitHub
#1.


Reply to this email directly or view it on GitHub
<
#1 (comment)

.


Reply to this email directly or view it on GitHub
#1 (comment)
.

from thinkpython.

Related Issues (11)

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.