请选择 进入手机版 | 继续访问电脑版
楼主: oliyiyi
3757 23

latex剪裁线的技巧 [推广有奖]

版主

泰斗

0%

还不是VIP/贵宾

-

TA的文库  其他...

计量文库

威望
7
论坛币
272091 个
通用积分
31269.1753
学术水平
1435 点
热心指数
1554 点
信用等级
1345 点
经验
383778 点
帖子
9599
精华
66
在线时间
5466 小时
注册时间
2007-5-21
最后登录
2024-3-21

初级学术勋章 初级热心勋章 初级信用勋章 中级信用勋章 中级学术勋章 中级热心勋章 高级热心勋章 高级学术勋章 高级信用勋章 特级热心勋章 特级学术勋章 特级信用勋章

oliyiyi 发表于 2015-10-14 07:37:27 |显示全部楼层 |坛友微信交流群

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

LaTeX 其实就是各种调用宏包。开源的力量真是太强大,凡是我能想到的前人基本都做了,而且做的非常不错。话说某天我看到 Knuth 的巨作:The TEX Book,页面四角各有一个类似于剪裁标记的东西,开始当时我一直没搞明白叫什么现在才知道叫:Crop Mark,就是给印刷商剪裁纸张用的。在 LaTeX-Community 讨论了用 crop 宏包实现该功能。不多言廖,自己到论坛看吧。

补 Illustrator 在线帮助:这里[http://help.adobe.com/zh_CN/Illu ... 196cbc5f-64b3a.html]为打印准备图稿时,打印设备需要几种标记来精确套准图稿元素并校验正确的颜色。可以在图稿中添加以下几种印刷标记:

裁切标记 水平和垂直细(毛细)标线,用来划定对页面进行修边的位置。裁切标记还有助于各分色相互对齐。
套准标记 页面范围外的小靶标,用于对齐彩色文档中的各分色。
颜色条 彩色小方块,表示 CMYK 油墨和色调灰度(以 10% 增量递增)。服务提供商使用这些标记调整印刷机上的油墨密度。
页面信息 为胶片标上画板编号的名称、输出时间和日期、所用线网数、分色网线角度以及各个版的颜色。这些标签位于图像上方。

  1. \documentclass[11pt,b5paper,english]{article}
  2. \usepackage[T1]{fontenc}
  3. \usepackage[utf8]{inputenc}
  4. \usepackage{babel}
  5. \usepackage[
  6. centering,
  7. headheight=14pt,
  8. headsep=25pt,
  9. includeheadfoot,
  10. text={6in,7.7in},
  11. dvips=false,
  12. pdftex=false,
  13. vtex=false
  14. ]{geometry}
  15. \usepackage[a4,cam,center]{crop}
  16. \usepackage{blindtext}
  17. \pagestyle{headings}
  18. \begin{document}
  19. \blinddocument
  20. \end{document}
复制代码

效果图如下:



选自:http://hi.baidu.com/asnahu/blog/item/3c3c029b79cbc0a3c8eaf46b.html



二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:LaTeX Late atex ATE LAT 技巧

缺少币币的网友请访问有奖回帖集合
https://bbs.pinggu.org/thread-3990750-1-1.html
rrjj101022 发表于 2015-10-14 07:46:43 |显示全部楼层 |坛友微信交流群
谢谢分享~~~
已有 1 人评分论坛币 收起 理由
oliyiyi + 60 沙发奖励

总评分: 论坛币 + 60   查看全部评分

使用道具

oliyiyi 发表于 2015-10-14 07:48:59 |显示全部楼层 |坛友微信交流群
今天分享的章节设计带有裁剪线的设计,整个设计比较突出的部分是section的设计做成了前文的mdframed的样式。









  1. \documentclass[a4paper]{book} %
  2. %
  3. \usepackage[fleqn]{amsmath} %
  4. \usepackage{amsthm,amssymb} %
  5. \usepackage[explicit]{titlesec} %
  6. \usepackage{titletoc} %
  7. \usepackage[english]{babel} %
  8. \usepackage{txfonts} %
  9. \usepackage{xcolor}
  10. \usepackage{colortbl} %

  11. \usepackage[format=plain,listformat=empty,labelsep=space,position=below,width=\linewidth, labelfont={normal},font={normal}]{caption} %

  12. \usepackage[margin=6pt,justification=raggedright]{subcaption} %

  13. \usepackage[paperwidth=170mm, paperheight=240mm, textwidth=132mm,verbose, driver=none, showcrop, showframe]{geometry}
  14. %
  15. \usepackage[a4,frame,center]{crop}
  16. \usepackage[most]{tcolorbox}
  17. \usepackage{bookmark} % %
  18. %
  19. \setlength{\unitlength}{1mm} %

  20. \definecolor{ThemeColour}{rgb}{0.45,0.00,0.45} %
  21. \definecolor{DarkGrey}{rgb}{0.92,0.92,0.92}
  22. \definecolor{DarkRed}{rgb}{0.45,0.00,0.00} %
  23. \definecolor{LightCream}{rgb}{1.00,1.00,0.90} %

  24. \newcommand\Hrule{\noindent\color{ThemeColour}{\rule{\linewidth}{3pt}}} %
  25. \newcommand\hseprule{\color{DarkRed}{\rule{\linewidth}{0.7pt}}} %

  26. \titleformat{\chapter}[display]
  27. {\color{ThemeColour}\bfseries\itshape\fontsize{30}{30}\selectfont} %
  28. {\Hrule\vspace*{6pt}\\ {\color{black}\,\chaptername\hspace{8pt}\normalfont\fontsize{42}{45}\selectfont{\thechapter}}} %
  29. {0pt}{\bfseries\normalfont\fontsize{15}{18}\selectfont{#1} \\ \vspace*{-9pt}\Hrule}[\vspace{18pt}] %

  30. \titlespacing{\chapter}{0pt}{12pt}{6pt}[0pt] %
  31. \renewcommand{\thechapter}{\arabic{chapter}} %

  32. \newtcolorbox{sectionbox}[2][]{nobeforeafter, boxsep=4.2pt,boxrule=1.2pt,arc=3pt,outer arc=3.2pt,width=\linewidth,
  33. coltitle=white,colbacktitle=ThemeColour,after=\hfill,colframe=black,colback=DarkGrey,title={#2},fonttitle=\bfseries,#1}

  34. \titleformat{\section} %
  35.   {\normalfont\bfseries\itshape\fontsize{12}{14}\selectfont}
  36.   {}{0pt}
  37. {\begin{sectionbox}
  38. {\fontsize{14}{16}\selectfont{Section\hspace{5.6pt}\thetitle}}{#1}
  39. \end{sectionbox}}

  40. \titlespacing{\section}{0pt}{10pt}{6pt}[0pt] % 0, 10, 6, 0
  41. \renewcommand{\thesection}{\arabic{section}} % make-up of number
  42. %
  43. \def\figtab{\kern 0.8pt}

  44. \addto\captionsenglish{ % this seems to work
  45. \renewcommand{\figurename}{Fig\hspace{0.7pt}.} %
  46. \renewcommand{\thefigure}{\thechapter{\figtab.\figtab}\arabic{figure}} % good
  47. \renewcommand{\thesubfigure}{\hspace{0.5pt}\alph{subfigure}\hspace{0.4pt}} %
  48. }
  49. \raggedbottom

  50. \begin{document}

  51. \pagestyle{plain}

  52. \chapter{Introduction to number}

  53. \section{Section one - only small gap above (ok)}

  54. \section{Section two - directly follows section one - gap ok}

  55. \section{Section three - directly follows section two}

  56. \clearpage

  57. \section{Section four - shows 40mm gap at the top of the page (far too much)}

  58. \section{Section five - directly follows section four - gap ok}

  59. \section{Section six} \vspace{50mm}

  60. \noindent Even though the page is nearly full.\vspace{50mm}

  61. \noindent Even though the page is nearly full.

  62. \end{document}
复制代码


缺少币币的网友请访问有奖回帖集合
https://bbs.pinggu.org/thread-3990750-1-1.html

使用道具

condmn 发表于 2015-10-14 08:46:59 |显示全部楼层 |坛友微信交流群

回帖奖励 +5

使用道具

函数小乖乖 在职认证  发表于 2016-3-14 19:41:34 |显示全部楼层 |坛友微信交流群

使用道具

SMACKDOWN 发表于 2016-3-14 20:06:09 |显示全部楼层 |坛友微信交流群
谢谢楼主分享。

使用道具

SMACKDOWN 发表于 2016-3-14 20:07:02 |显示全部楼层 |坛友微信交流群
谢谢楼主分享。

使用道具

SMACKDOWN 发表于 2016-3-14 20:07:36 |显示全部楼层 |坛友微信交流群

回帖奖励 +5

谢谢楼主分享。

使用道具

感谢分享!!

使用道具

感谢分享!!

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-3-29 03:03