Posts

Showing posts from 2015

Latex protractor (360 degrees)

Latex code for protractor (180 degree)

\documentclass [ pstricks,border = 12pt ]{ standalone } \SpecialCoor \usepackage { pst-node,multido } \makeatletter \def\@protractor #1 { % \psset { dimen = middle,linewidth = .5 \pslinewidth } \pscustom { \psarc ( 0,0 ){ #1 }{ 0 }{ 180 } \psline ( -#1,-.3 )( #1,-.3 ) \closepath } \multido { \na = 0+90 }{ 3 }{ \psline ( !#1 .725 mul \na\space PtoC )} \multido { \ns = 0+1 }{ 180 }{ \psline ( !#1 .975 mul \ns\space PtoC )( #1; \ns )} \multido { \nm = 0+5 }{ 37 }{ \psline ( !#1 .950 mul \nm\space PtoC )( #1; \nm )} \multido { \nl = 0+10 }{ 19 }{ % \psline ( !#1 .925 mul \nl\space PtoC )( #1; \nl ) \uput { !#1 .850 mul }[ \nl ]{ ! \nl\space 90 sub }( 0,0 ){ \small $ \nl $ } \uput { !#1 .775 mul }[ !180 \nl\space sub ]{ !90 \nl\space sub }( 0,0 ){ \small $ \nl $ } \psline ( !#1 .05 mul \nl\space PtoC )( !#1 .725 mul \nl\space PtoC ) }} \def\protractor { \pst@object { protractor }} \def\p...

To make dotted line in Adobe Illustrator

Go to the stroke tab. Just enter the following values after enabling the dashed line : 0 for the dash double the stroke for the gap

Bir Word Belgesinde Kapak Harici Kaç sayfa Olduğunu Bulmak

To count the number of pages in a MS Word document without the front page you do the following Press Ctrl+F9 . Word inserts an empty set of field code braces Type an equal sign and a space Press Ctrl+F9 again. Word inserts another empty set of field code braces Type NUMPAGES and a space. Position the insertion point just between the final two right braces. Type a minus sign and a 1. Your field code for the Y page number should now look very similar to this:  { = { NUMPAGES } – 1 } Press Shift+F9 to collapse the fields. The "1" may be exchanged for any other number if you want. SECTIONPAGES may be used to get the number of pages in a section of a document.

Batch creating files from a list in file

for /f %a in (list.txt) do echo. > %a.mkv