เป็นเรื่องที่ user เก่า(และแก่ด้วย) อย่างผมถึงกับต้องตีอกชกหัวตัวเอง ตกม้าตายเอาง่าย ๆ เรื่องมีอยู่ว่า ผมเข้าใจเอาเองมาตลอดว่าใน LaTeX เขียน underscore '_' ได้เฉพาะใน math mode และจะหมายถึงการใส่ตัวห้อย (subscript)
ปัญหาของผมที่เจอบ่อย ๆ ก็คือเวลาที่ผมต้องการจะเขียนชื่อไฟล์ที่มีตัว underscore นี้ ผมมักใช้ท่าพิเศษ เช่นใช้คำสั่ง \verb หรือ \url ซึ่งสามารถใช้งานได้ปกติ แต่ไม่ใช่ท่ามาตรฐาน ออกจะเป็นขบวนท่านอกด่านไปซักหน่อย วันนี้ต้องเขียนเอกสารอธิบายไฟล์ โดยต้องอ้างชื่อไฟล์หลายไฟล์ และบางชื่อไฟล์ต้องไปอยู่ในหลายสถานที่ ๆ ไม่ค่อยจะได้อยู่ เช่น ใน \caption เป็นต้น และนั่นคือที่มาของปัญหาเพราะขบวนท่า \verb ไม่ทำงาน ขบวนท่า \url ทำบ้างไม่ทำบ้าง ก็เลยต้องหาวิธี แล้วก็พบว่าวิธีมาตรฐานนั้นมีมานานมากแล้วตั้งแต่ LaTeX 2.09 โน่น สุดยอดไหมหล่ะ ก็แค่ใช้ \_ เท่านั้นเอง ง่ายสะดวก ตรงไปตรงมา จบ
Tags: underscore
Hi there, I enjoy reading all of your article post.
I like to write a little comment to support you.
It's actually a great and helpful piece of info.
I'm happy that you shared this helpful information with us.
Please stay us informed like this. Thanks for sharing.
I believe this is one of the most important information for me.
And i'm glad studying your article. But wanna observation on few general things, The web site style is great,
the articles is actually excellent : D. Good process, cheers
Inspiring quest there. What occurred after? Thanks!
I am sure this post has touched all the internet visitors, its
really really nice article on building up new weblog.
Excellent blog right here! Also your website quite a bit up very fast!
What web host are you the usage of? Can I am getting your associate
hyperlink in your host? I wish my web site loaded up as quickly as yours lol
Hi there, every time i used to check weblog posts here in the
early hours in the dawn, as i like to find out more
and more.
I was suggested this website through my cousin. I'm now not certain whether
or not this post is written via him as no one else
know such special approximately my trouble.
You're amazing! Thanks!
continuously i used to read smaller articles that also clear their motive, and that
is also happening with this article which I am reading
here.