mirror of
				https://github.com/flynx/photobook.git
				synced 2025-10-31 11:20:10 +00:00 
			
		
		
		
	forgot saveboxes existed... :)
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									170b564a3a
								
							
						
					
					
						commit
						a48f729774
					
				| @ -3046,12 +3046,38 @@ | |||||||
| % | % | ||||||
| % NOTE: these should be used in a box. | % NOTE: these should be used in a box. | ||||||
| % NOTE: these are centered in origin. | % NOTE: these are centered in origin. | ||||||
|  | % | ||||||
| % XXX these can affect the items after -- need to encapsulate better + test... | % XXX these can affect the items after -- need to encapsulate better + test... | ||||||
| % XXX something's odd with these -- when \foldmarksize is <6mm the bottom  | % XXX something's odd with these -- when \foldmarksize is <6mm the bottom  | ||||||
| %		fold mark gets messed up... | %		fold mark gets messed up... | ||||||
| % XXX do we need to make centering block size dependant on \foldmarksize  | % XXX do we need to make centering block size dependant on \foldmarksize  | ||||||
| %		or are the two independent??? (test) | %		or are the two independent??? (test) | ||||||
| % XXX doc... | % XXX doc... | ||||||
|  | 
 | ||||||
|  | % XXX need to handle baseline arg... | ||||||
|  | %\newsavebox\photobook@foldinmark | ||||||
|  | %\sbox{\photobook@foldinmark}{% | ||||||
|  | %	\vspace{\dimexpr 0.5\foldmarksize + #1 \relax}% | ||||||
|  | %	\smash{\makebox[0pt][l]{% | ||||||
|  | %		% size-agnostic centering... | ||||||
|  | %		\hspace{-5mm}{\makebox[1cm][c]{% | ||||||
|  | %			\begin{tikzpicture}% | ||||||
|  | %				\draw[white, ultra thick]  | ||||||
|  | %					(-0.3333\foldmarksize,03333\foldmarksize)  | ||||||
|  | %					-- (0,0)  | ||||||
|  | %					-- (0.3333\foldmarksize,0.3333\foldmarksize); | ||||||
|  | %				\draw[white, ultra thick]  | ||||||
|  | %					(0,0.6666\foldmarksize)  | ||||||
|  | %					-- (0,-0.3333\foldmarksize); | ||||||
|  | %				\draw[black, thin]  | ||||||
|  | %					(-0.3333\foldmarksize,03333\foldmarksize)  | ||||||
|  | %					-- (0,0)  | ||||||
|  | %					-- (0.3333\foldmarksize,0.3333\foldmarksize); | ||||||
|  | %				\draw[black, thin]  | ||||||
|  | %					(0,0.6666\foldmarksize)  | ||||||
|  | %					-- (0,-0.3333\foldmarksize); | ||||||
|  | %			\end{tikzpicture}}}}}} | ||||||
|  | 
 | ||||||
| \newcommand\foldinmark[1][0pt]{ | \newcommand\foldinmark[1][0pt]{ | ||||||
| 	\vspace{\dimexpr 0.5\foldmarksize + #1 \relax}% | 	\vspace{\dimexpr 0.5\foldmarksize + #1 \relax}% | ||||||
| 	\smash{\makebox[0pt][l]{% | 	\smash{\makebox[0pt][l]{% | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user