<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Anicca-vijja &#187; LaTeX</title>
	<atom:link href="http://www.anicca-vijja.de/tag/latex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anicca-vijja.de</link>
	<description>Start anywhere</description>
	<lastBuildDate>Mon, 30 Jan 2012 13:05:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cropping marks with &#8216;memoir class&#8217;, &#8216;geometry,&#8217; and &#8216;crop&#8217; in LaTeX</title>
		<link>http://www.anicca-vijja.de/2010/03/cropping-marks-with-memoir-geometry-and-crop-in-latex/</link>
		<comments>http://www.anicca-vijja.de/2010/03/cropping-marks-with-memoir-geometry-and-crop-in-latex/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 10:51:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[LaTeX]]></category>

		<guid isPermaLink="false">http://www.anicca-vijja.de/?p=488</guid>
		<description><![CDATA[Cropping marks are important for print versions of documents. In LaTeX, this can be done with various options of document classes. However, sometimes the packages one uses do not fit together &#8211; especially in cases when only some parts of a package are interesting/ needed and other parts of other packages. The following preamble describes [...]]]></description>
			<content:encoded><![CDATA[<p>Cropping marks are important for print versions of documents. In LaTeX, this can be done with various options of document classes. However, sometimes the packages one uses do not fit together &#8211; especially in cases when only some parts of a package are interesting/ needed and other parts of other packages.</p>
<p>The following preamble describes the conjoint use of &#8216;memoir&#8217; document class and the packages &#8216;geometry&#8217; and &#8216;crop&#8217;:</p>
<pre>\DisemulatePackage{crop} %to allow package 'crop'
                         %instead of emulation by 'memoir'
\setstocksize{297mm}{210mm} %a4 paper as base -&gt; redundant
\settrimmedsize{210mm}{148mm}{*} %use only a5paper area
                         % -&gt; redundant
\usepackage[driver=none]{geometry} %to allow usage of 'crop'
\geometry{paper=a4paper,layout=a5paper,centering,
          textwidth=100mm, textheight=147mm} %text area
\usepackage[cam,a4,center]{crop} %load package 'crop'
</pre>
<p>In the text, just use the following LaTeX command:</p>
<pre>\crop[cam]
</pre>
<p>to get plain cropping marks. Other options are available and can be get from the respective manuals.</p>
<div id="attachment_492" class="wp-caption aligncenter" style="width: 221px"><a href="http://www.anicca-vijja.de/wp-content/uploads/2010/03/cropmarks_Latex.png" rel="lightbox[488]"><img class="size-medium wp-image-492" title="cropmarks_Latex" src="http://www.anicca-vijja.de/wp-content/uploads/2010/03/cropmarks_Latex-211x300.png" alt="" width="211" height="300" /></a><p class="wp-caption-text">crop marks with LaTeX</p></div>
<p style="text-align: center;">
]]></content:encoded>
			<wfw:commentRss>http://www.anicca-vijja.de/2010/03/cropping-marks-with-memoir-geometry-and-crop-in-latex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LaTeX &#8211; put page numbers out of the margin</title>
		<link>http://www.anicca-vijja.de/2009/05/latex-put-page-numbers-out-of-the-margin/</link>
		<comments>http://www.anicca-vijja.de/2009/05/latex-put-page-numbers-out-of-the-margin/#comments</comments>
		<pubDate>Tue, 12 May 2009 11:35:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[LaTeX]]></category>

		<guid isPermaLink="false">http://www.anicca-vijja.de/?p=300</guid>
		<description><![CDATA[I like efficient but also nice looking page styles. One important thing for me is to see chapter as well as section-/ sub-section titles together with page numbers on the same vertical level. This looks like the following: You will see that the page numbers are outside the text area. This can be accomplished while [...]]]></description>
			<content:encoded><![CDATA[<p>I like efficient but also nice looking page styles. One important thing for me is to see chapter as well as section-/ sub-section titles together with page numbers on the same vertical level. This looks like the following:</p>
<div id="attachment_301" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.anicca-vijja.de/wp-content/uploads/2009/05/latex_pagestyle.png" rel="lightbox[300]"><img class="size-medium wp-image-301" title="latex_pagestyle" src="http://www.anicca-vijja.de/wp-content/uploads/2009/05/latex_pagestyle-300x167.png" alt="latex page style" width="300" height="167" /></a><p class="wp-caption-text">latex page style</p></div>
<p>You will see that the page numbers are outside the text area. This can be accomplished while working with &#8216;memoir class&#8217; with the following code in the preamble that produces a page style:</p>
<pre>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
% headers and footers
\makepagestyle{abook}
\makeheadposition{abook}{flushright}{flushleft}{}{}
\makerunningwidth{abook}{1.2\textwidth}
\makeoddhead{abook}{\itshape\rightmark}{}{\hspace{2em}\rule[-0.4ex]{0.4pt}{5mm}~~~\thepage\hspace{2em}}
\makeevenhead{abook}{\hspace{2em}\thepage~~~\rule[-0.4ex]{0.4pt}{5mm}\hspace{3em}}{}{\itshape\leftmark}
% PW
\makeatletter
\def\brule{\rule[1.5em]{\textwidth}{0.4pt}}
% LG
\def\abookheadrule{\ifodd\c@page\brule\else\hspace*{0.2\textwidth}\brule\fi}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%\makeatletter % because of \@chapapp
\makepsmarks {abook}{
\nouppercaseheads
\createmark {chapter} {both} {shownumber}{\@chapapp\ }{. \ }
\createmark {section} {right}{shownumber}{} {. \ }
\createmark {subsection} {right}{shownumber}{} {. \ }
\createmark {subsubsection}{right}{shownumber}{} {. \ }
\createplainmark {toc} {both} {\contentsname}
\createplainmark {lof} {both} {\listfigurename}
\createplainmark {lot} {both} {\listtablename}
\createplainmark {bib} {both} {\bibname}
\createplainmark {index} {both} {\indexname}
\createplainmark {glossary} {both} {\glossaryname}
}
\makeatother
\setsecnumdepth{subsubsection}
\pagestyle{abook}</pre>
<p>The output can be seen <a href="http://www.anicca-vijja.de/lg/materials/latex_pagestyle_v1.pdf">here</a> as .pdf and the .tex file is <a href="http://www.anicca-vijja.de/lg/materials/latex_pagestyle_v1.tex">here</a>. Thanks to Lars Madsen and Peter Wilson for their help to realize that. If you work with komascript, it is easy as well. The following code is necessary for the preamble:</p>
<pre>\documentclass[oneside,english,ngerman]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{scrpage2}
% make headrule
\setheadsepline{0.4pt}
% produce page numbers - different for even and odd pages
\lehead{
 \hspace{2em}\pagemark~~~\rule[-0.4ex]{0.4pt}{5mm}\hspace{3em}\headmark
}
\rohead{
 \headmark\hspace{3em}\rule[-0.4ex]{0.4pt}{5mm}~~~\pagemark\hspace{2em}
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.anicca-vijja.de/2009/05/latex-put-page-numbers-out-of-the-margin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LaTeX &#8211; fancy chapter and title page styles</title>
		<link>http://www.anicca-vijja.de/2009/05/latex-fancy-chapter-and-title-page-styles/</link>
		<comments>http://www.anicca-vijja.de/2009/05/latex-fancy-chapter-and-title-page-styles/#comments</comments>
		<pubDate>Sun, 10 May 2009 21:02:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[R]]></category>

		<guid isPermaLink="false">http://www.anicca-vijja.de/?p=255</guid>
		<description><![CDATA[Do you also think that (La)TeX is wonderful, but most styles are a little bit boring and they do not look very exciting? Maybe this is not really important for scientific publications, but as long as people from practice or non-scientific fields of interest are part of the intended audience, it makes really sense to [...]]]></description>
			<content:encoded><![CDATA[<p>Do you also think that (La)TeX is wonderful, but most styles are a little bit boring and they do not look very exciting? Maybe this is not really important for scientific publications, but as long as people from practice or non-scientific fields of interest are part of the intended audience, it makes really sense to think seriously about the layout. In the past, I used <a href="http://www.komascript.de/" target="_blank">koma-script</a> which works fine and produces very good results. It is fitted for European needs and its special local requirements. Some time ago, I needed a better style for title pages and chapters. In &#8216;memoir class&#8217; from Peter Wilson I found the right document class for LaTeX. It provides a lot of styles that can be changed quite easily and without much effort to fit personal requirements. It allows for nice looking epigraphs and all that stuff of page layout which is necessary (many different font sizes, etc.). For the bad news &#8211; memoir is incompatible with &#8216;fancyhdr&#8217; &#8211; and for the good news &#8211; it provides equivalent opportunities. The <a title="memoir class documentation" href="http://www.ctan.org/tex-archive/macros/latex/contrib/memoir/memman.pdf" target="_blank">user guide of memoir</a> is very comprehensive. However, the short guide written by Lars Madsen is a good starting point to produce page styles together with memoir. Further styles can be found on the pages of <a href="http://zoonek.free.fr/LaTeX/" target="_blank">Vincent Zoonekynd</a>. There are <a href="http://zoonek.free.fr/LaTeX/LaTeX_samples_chapter/0.html" target="_blank">chapter</a> styles and <a href="http://zoonek.free.fr/LaTeX/LaTeX_samples_title/0.html" target="_blank">title page</a> styles available together with TeX-code and how the output looks like. He even produced <a href="http://zoonek.free.fr/LaTeX/LaTeX_samples_section/0.html" target="_blank">section</a> styles. At this point it must be mentioned that Zoonekynd also offers a huge free <a href="http://zoonek2.free.fr/UNIX/48_R/all.html" target="_blank">R-book</a> on his website. Although it is not finished yet, it provides many examples of how to use <a title="R - open source statistical environment" href="http://www.r-project.org" target="_blank">R</a> for statistical analyses, graphics, and demonstrations. If you use <a href="http://www.lyx.org">Lyx</a> instead of plain TeX, the Lyx-Wiki contains a <a href="http://wiki.lyx.org/LyX/UsingMemoirInLyX" target="_blank">special page</a> dedicated to the memoir class.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anicca-vijja.de/2009/05/latex-fancy-chapter-and-title-page-styles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

