Tikz设计页眉设计样例分享 - Eufisky - The lost book
章节设计
用tikz设计一个灰色页眉

Tikz设计页眉设计样例分享

Eufisky posted @ 2014年6月20日 23:28 in LaTeX with tags latex 页眉设计 , 3782 阅读

效果图:

enter image description here

代码如下:

\documentclass{book}
\usepackage[a6paper]{geometry}
\usepackage{fancyhdr}
\usepackage{tikzpagenodes}
\usetikzlibrary{shapes.geometric}
\usepackage{lipsum}

\pagestyle{fancy}
\fancyhf{}
\renewcommand\headrulewidth{0pt}
\fancyhead[OC]{\begin{tikzpicture}[remember picture,overlay]
\node[diamond,draw,font=\small\itshape] at (current page header area.south west) (dia) {\thepage};
\draw[double=white] (dia.east) -- (current page header area.south east);
\end{tikzpicture}}
\fancyhead[EC]{\begin{tikzpicture}[remember picture,overlay]
\node[diamond,draw,font=\small\itshape] at (current page header area.south east) (dia) {\thepage};
\draw[double=white] (dia.west) -- (current page header area.south west);
\end{tikzpicture}}
\fancyhead[OR]{\small\nouppercase\leftmark}
\fancyhead[EL]{\small\nouppercase\rightmark}

\begin{document}

\chapter{Test chapter}
\lipsum[2]
\section{Test section}
\lipsum[2]\lipsum[2]\lipsum[2]\lipsum[2]\lipsum[2]

\end{document}

效果图:

enter image description here

代码如下:

 

\documentclass{book}
\usepackage[a6paper]{geometry}
\usepackage{fancyhdr}
\usepackage{tikzpagenodes}
\usetikzlibrary{shapes.geometric}
\usepackage{lipsum}

\pagestyle{fancy}
\fancyhf{}
\renewcommand\headrulewidth{0pt}
\fancyhead[OC]{\begin{tikzpicture}[remember picture,overlay]
\node[diamond,draw,font=\small\itshape] at (current page header area.south west) (dia) {\thepage};
\draw (dia.3) -- (current page header area.south east|-dia.3);
\draw (dia.357) -- ([xshift=-7pt]current page header area.south east|-dia.357);
\end{tikzpicture}}
\fancyhead[EC]{\begin{tikzpicture}[remember picture,overlay]
\node[diamond,draw,font=\small\itshape] at (current page header area.south east) (dia) {\thepage};
\draw (dia.177) -- (current page header area.south west|-dia.177);
\draw (dia.183) -- ([xshift=7pt]current page header area.south west|-dia.183);
\end{tikzpicture}}
\fancyhead[OR]{\small\nouppercase\leftmark}
\fancyhead[EL]{\small\nouppercase\rightmark}

\begin{document}

\chapter{Test chapter}
\lipsum[2]
\section{Test section}
\lipsum[2]\lipsum[2]\lipsum[2]\lipsum[2]\lipsum[2]

\end{document}

效果图:

enter image description here

enter image description here

代码如下:

 

\documentclass{book}
\usepackage[a6paper]{geometry}% just for the example
\usepackage{fancyhdr}
\usepackage{stackengine}
\usepackage{graphicx}
\usepackage{lipsum}% just to generate text for the example

\pagestyle{fancy}
\fancyhf{}
\renewcommand\headrulewidth{0pt}
\fancyhead[OC]{%
  \def\stackalignment{c}%
  \topinset{\itshape\thepage}{\scalebox{5}{\(\diamond\)}}{1.5ex}{}%
  \rule{-.2ex}{0ex}%
  \def\stackalignment{l}%
  \stackon[1pt]{\rule[2.8ex]{2.5in}{.1ex}}{\rule{2.55in}{.1ex}}}
\fancyhead[EC]{%
  \def\stackalignment{r}%
  \stackon[1pt]{\rule[2.8ex]{2.5in}{.1ex}}{\rule{2.55in}{.1ex}}%
  \rule{-.2ex}{0ex}%
  \def\stackalignment{c}%
  \topinset{\itshape\thepage}{\scalebox{5}{\(\diamond\)}}{1.5ex}{}}
\begin{document}
\lipsum[2]\lipsum[2]\lipsum[2]\lipsum[2]
\end{document}
Avatar_small
seo service london 说:
2023年12月27日 03:37

Interesting topic for a blog. I have been searching the Internet for fun and came upon your website. Fabulous post. Thanks a ton for sharing your knowledge! It is great to see that some people still put in an effort into managing their websites. I'll be sure to check back again real soon. This particular tools are extremely important to me whenever I require because they help me get the practical analysis of my project completed

Avatar_small
스마일도메인 说:
2024年1月01日 19:57

excellent points altogether, you simply won a new reader. What may you suggest in regards to your put up that you simply made some days ago?

Avatar_small
바카라 게임 규칙 说:
2024年1月01日 20:14

After a hard day, reading your post gave me a really good idea. What a great post that could improve my experience.

Avatar_small
먹튀검증업체 순위 说:
2024年1月01日 20:32

I absolutely love your blog and find a lot of your post’s to be exactly I’m looking for. can you offer guest writers to write content to suit your needs? I wouldn’t mind writing a post or elaborating on a few of the subjects you write in relation to here. Again, awesome weblog!

Avatar_small
먹튀검증업체순위 说:
2024年1月01日 20:37

Your post has those facts which are not accessible from anywhere else. It’s my humble request to u please keep writing such remarkable articles

Avatar_small
먹튀스팟보증업체 说:
2024年1月01日 21:26

you’re truly a just right webmaster. The website loading velocity is amazing. It kind of feels that you’re doing any distinctive trick. Also, The contents are masterwork. you have performed a wonderful job in this subject!

Avatar_small
먹튀사이트모음 说:
2024年1月01日 21:45

I'm really impressed with your writing skills and also with the layout on your blog. Is this a paid theme or did you modify it yourself? Either way keep up the excellent quality writing, it is rare to see a great blog like this one today.

Avatar_small
스포츠토토 배팅방식 说:
2024年1月01日 21:58

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post . I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. Amazing knowledge and I like to share this kind of information with my friends and hope they like it they why I do . Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!

Avatar_small
토토사이트추천 说:
2024年1月01日 22:02

When I read an article on this topic, the first thought was profound and difficult, and I wondered if others could understand.. My site has a discussion board for articles and photos similar to this topic. Could you please visit me when you have time to discuss this topic?

Avatar_small
사설토토추천 说:
2024年1月01日 22:22

Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which I need, thanks to offer such a helpful information here. I was just browsing through the internet looking for some information and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject. Bookmarked this page, will come back for more. Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing.

Avatar_small
카지노쿠폰 说:
2024年1月01日 22:39

Attempting to say thank you will not just be sufficient, for the shocking clarity in your article. I will really get your RSS to stay instructed with respect to any updates. Wonderful work and much achievement in your business tries . At the point when you are prepared doing all that we have discussed in the past sections, which is thinking about your shopping list with cautious arranging exactness, discovering the medications you require recall that

Avatar_small
스포츠토토 说:
2024年1月01日 22:49

Attempting to say thank you will not just be sufficient, for the shocking clarity in your article. I will really get your RSS to stay instructed with respect to any updates. Wonderful work and much achievement in your business tries . At the point when you are prepared doing all that we have discussed in the past sections, which is thinking about your shopping list with cautious arranging exactness, discovering the medications you require recall that

Avatar_small
토토사이트 说:
2024年1月01日 23:19

I've been looking for articles on this topic for a long time. I don't know how grateful you are for posting about this topic. Thank you for the numerous articles on this site, and I will subscribe to the links on the bookmarks and visit them often. Have a nice day.

Avatar_small
꽁머니홍보 说:
2024年1月01日 23:36

I've been looking for articles on this topic for a long time. I don't know how grateful you are for posting about this topic. Thank you for the numerous articles on this site, and I will subscribe to the links on the bookmarks and visit them often. Have a nice day.

Avatar_small
사설먹튀검증업체 说:
2024年1月01日 23:51

Thank you so much for posting a good article. You wrote it easily and interestingly so that everyone could understand it. I will also try to write such a great article. Have a great day today.

Avatar_small
토토사이트정보 说:
2024年1月02日 01:04

This is a great article thanks for sharing this informative information. I will visit your blog regularly for some latest post. I will visit your blog regularly for Some latest post

Avatar_small
인터넷바카라 说:
2024年1月02日 02:22

I came to this site with the introduction of a friend around me and I was very impressed when I found your writing. I'll come back often after bookmarking!

Avatar_small
더킹카지노주소 说:
2024年1月02日 02:34

Last time, my friend recommended this article, but he was disappointed that it was different from me. I found out that each person could think differently, so I think I should be more careful, but I hope you continue to post good posts https://totobun.com

Avatar_small
꽁머니게시판 说:
2024年1月02日 02:53

A lifeguard is a rescuer who supervises the safety and rescue of swimmers, and other water sports participants such as in a swimming pool, water park, beach, river and lake.

Avatar_small
คาสิโนออนไลน์ 说:
2024年1月02日 03:04

I think the articles on this blog are very good and informative. Thank you for letting me know about https://totosoda.com that is hard to come across. Please share your thoughts in the future. Hope to see more information.

Avatar_small
양방배팅사이트 说:
2024年1月02日 03:21

Thanks for sharing this information. I really like your blog post very much. You have really shared a informative and interesting blog post with people..

Avatar_small
안전한 바카라 说:
2024年1月02日 03:35

This article is an appealing wealth of informative data that is interesting and well-written. I commend your hard work on this and thank you for this information. You’ve got what it takes to get attention.

Avatar_small
총판 걸릴확률 说:
2024年1月02日 03:47

I am thankful to you for sharing this plethora of useful information. I found this resource utmost beneficial for me. Thanks a lot for hard work.

Avatar_small
토토사이트홍보 说:
2024年1月02日 03:47

It is a good site post without fail. Not too many people would actually, the way you just did. I am impressed that there is so much information about this subject that has been uncovered and you’ve defeated yourself this time, with so much quality. Good Works!

Avatar_small
엔트리사다리 说:
2024年1月02日 03:54

This article is an appealing wealth of informative data that is interesting and well-written. I commend your hard work on this and thank you for this information. You’ve got what it takes to get attention.

Avatar_small
해외배팅사이트가입 说:
2024年1月02日 03:57

I am thankful to you for sharing this plethora of useful information. I found this resource utmost beneficial for me. Thanks a lot for hard work.

Avatar_small
먹튀폴리스검증업체 说:
2024年1月02日 04:04

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post . I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. Amazing knowledge and I like to share this kind of information with my friends and hope they like it they why I do . Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!

Avatar_small
해외토토사이트 说:
2024年1月02日 04:06

After a hard day, reading your post gave me a really good idea. What a great post that could improve my experience.

Avatar_small
메이저놀이터 说:
2024年1月02日 04:17

Attempting to say thank you will not just be sufficient, for the shocking clarity in your article. I will really get your RSS to stay instructed with respect to any updates. Wonderful work and much achievement in your business tries . At the point when you are prepared doing all that we have discussed in the past sections, which is thinking about your shopping list with cautious arranging exactness, discovering the medications you require recall that

Avatar_small
스피드키노 说:
2024年1月02日 04:22

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained!

Avatar_small
바카라사이트추천 说:
2024年1月02日 04:32

Attempting to say thank you will not just be sufficient, for the shocking clarity in your article. I will really get your RSS to stay instructed with respect to any updates. Wonderful work and much achievement in your business tries . At the point when you are prepared doing all that we have discussed in the past sections, which is thinking about your shopping list with cautious arranging exactness, discovering the medications you require recall that

Avatar_small
온라인카지노 说:
2024年1月02日 04:33

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post . I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. Amazing knowledge and I like to share this kind of information with my friends and hope they like it they why I do . Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!

Avatar_small
바카라사이트 说:
2024年1月02日 04:45

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post . I definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work. Amazing knowledge and I like to share this kind of information with my friends and hope they like it they why I do . Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!

Avatar_small
로얄클럽접속 说:
2024年1月02日 04:49

Attempting to say thank you will not just be sufficient, for the shocking clarity in your article. I will really get your RSS to stay instructed with respect to any updates. Wonderful work and much achievement in your business tries . At the point when you are prepared doing all that we have discussed in the past sections, which is thinking about your shopping list with cautious arranging exactness, discovering the medications you require recall that

Avatar_small
퍼스트카지노 说:
2024年1月02日 05:02

Thanks for an interesting blog. What else may I get that sort of info written in such a perfect approach? I have an undertaking that I am just now operating on, and I have been on the lookout for such info.

Avatar_small
메이저놀이터추천 说:
2024年1月02日 05:04

I am thankful to you for sharing this plethora of useful information. I found this resource utmost beneficial for me. Thanks a lot for hard work.

Avatar_small
seo service london 说:
2024年1月13日 03:41

This is a fabulous post I seen because of offer it. It is really what I expected to see trust in future you will continue in sharing such a mind boggling post

Avatar_small
먹튀검증 说:
2024年1月19日 19:31

I learn some new stuff from it too, thanks for sharing your information.

Avatar_small
카지노사이트 说:
2024年1月19日 20:34

Very likely I’m going to bookmark your blog . You absolutely have wonderful stories. Cheers for sharing with us your blo

Avatar_small
카지노 说:
2024年1月19日 21:04

Easily, the article is actually the best topic on this registry related issue. I fit in with your conclusions and will eagerly look forward to your next updates

Avatar_small
슬롯커뮤니티 说:
2024年1月19日 21:50

Interesting topic for a blog. I have been searching the Internet for fun and came upon your website. Fabulous post. Thanks a ton for sharing your knowledge! It is great to see that some people still put in an effort into managing their websites. I'll be sure to check back again real soon.

Avatar_small
카지노사이트 说:
2024年1月19日 22:06

I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job!

Avatar_small
머니맨 说:
2024年1月19日 22:39

Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has the same topic with your article. Thanks, great share

Avatar_small
바카라 사이트 说:
2024年1月19日 23:16

I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post.

Avatar_small
온라인카지노 说:
2024年1月20日 00:10

It is a great website.. The Design looks very good.. Keep working like that!

Avatar_small
먹튀검증 说:
2024年1月20日 00:48

Very good points you wrote here..Great stuff…I think you’ve made some truly interesting points.Keep up the good work.

Avatar_small
슬롯사이트 说:
2024年1月20日 01:30

There is definately a great deal to know about this subject. I like all of the points you've made

Avatar_small
industrial outdoor s 说:
2024年1月20日 02:02

Nice knowledge gaining article. This post is really the best on this valuable topic.

Avatar_small
카지노사이트 说:
2024年1月20日 18:26

You ought to basically fantastic not to mention solid advice, which means notice

Avatar_small
소액결제현금화 说:
2024年1月20日 18:57

very interesting keep posting.

Avatar_small
스포츠무료중계 说:
2024年1月20日 20:44

Admiring the time and effort you put into your blog and detailed information you offer!..

Avatar_small
카지노커뮤니티 说:
2024年1月20日 21:28

"Appreciating the dedication you put into your blog and detailed information you provide.
It’s awesome to come across a blog every once in a
while that isn’t the same old rehashed material. Fantastic read!"

Avatar_small
하노이 유흥 说:
2024年1月25日 17:16

하노이 꼭 가봐야 할 베스트 업소 추천 안내 및 예약, 하노이 밤문화 에 대해서 정리해 드립니다. 하노이 가라오케, 하노이 마사지, 하노이 풍선바, 하노이 밤문화를 제대로 즐기시기 바랍니다. 하노이 밤문화 베스트 업소 요약 베스트 업소 추천 및 정리.

Avatar_small
카지노사이트 说:
2024年1月25日 17:24

카지노사이트 바카라사이트 우리카지노 카지노는 바카라, 블랙잭, 룰렛 및 슬롯 등 다양한 게임을 즐기실 수 있는 공간입니다. 게임에서 승리하면 큰 환호와 함께 많은 당첨금을 받을 수 있고, 패배하면 아쉬움과 실망을 느끼게 됩니다.

Avatar_small
마사지 说:
2024年1月27日 18:47

Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share

Avatar_small
무료스포츠중계 说:
2024年1月27日 19:08

An interesting dialogue is price comment. I feel that it is best to write more on this matter, it may not be a taboo topic however usually individuals are not enough to talk on such topics. To the next. Cheers.

Avatar_small
먹튀검증 说:
2024年1月27日 19:27

Excellent and very exciting site. Love to watch. Keep Rocking

Avatar_small
먹튀사이트 说:
2024年1月28日 16:32

No.1 먹튀검증 사이트, 먹튀사이트, 검증사이트, 토토사이트, 안전사이트, 메이저사이트, 안전놀이터 정보를 제공하고 있습니다. 먹튀해방으로 여러분들의 자산을 지켜 드리겠습니다. 먹튀검증 전문 커뮤니티 먹튀클린만 믿으세요!!

Avatar_small
베트남 유흥 说:
2024年1月28日 16:37

베트남 남성전용 커뮤니티❣️ 베트남 하이에나 에서 베트남 밤문화를 추천하여 드립니다. 베트남 가라오케, 베트남 VIP마사지, 베트남 이발관, 베트남 황제투어 남자라면 꼭 한번은 경험 해 봐야할 화끈한 밤문화로 모시겠습니다.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter