537 reputation
787245
bio website pstricks.net/pstricks/…
location sandwiched in your smelly armpit
age 13
visits member for 2 years, 8 months
seen 3 hours ago

Stop visiting except for voting!

here

I'm just a single point on a complex plane. I'm not the strongest species that survives, nor the most intelligent, but the one most responsive to change. I always feel restless despite being in the safe zone. You can't teach me anything, but you can stimulate me to think! I am a detail-oriented analyst and interested in almost everything. Consistency, optimization, best-practice, & perfection are always my first priority in mind! Therefore by my questions & answers you'll fully recognize me. I can tell you more but then I have to kill you.

I distribute my rep in bounties as spending money for my & your pleasure is more meaningful than saving money in a bank & abandoning it unused.

"If you're an underdog, mentally disabled, physically disabled, if you don't fit in, if you're not as pretty as the others, you can still be a hero, read TEXBook!"

"Motivation isn't enough. If you've an idiot & you motivate him, now you've a motivated idiot."

Learning (La)TeX, PSTricks, & PGF/TikZ is similar to learning how to swim or drive a car. You don’t get the full benefit by watching someone else do it. Your own fingers must get involved.

Don't be lukewarm! If you cannot be the best, be the worst!

Beauty without intelligence is a masterpiece painted on a toilet paper.

For every problem, there is always a solution that is simple, neat, but wrong.

Best practices

  1. Use pdflatex \input{filename} instead of pdflatex filename.
  2. Don't specify the file extension in \includegraphics.
  3. Divide your project into a main & smaller input files & compile the main with pdflatex.
  4. Put each code snippet 4 either drawing a diagram or making a table into a standalone input file & compile it to produce a PDF.
  5. Define global macros 4 often-used materials, put them into a separate package thereby changing the macros in one place will effect the whole document.
  6. Remove unnecessary packages.
  7. Don't mix different series, families, font size, & shapes, ESPECIALLY IN ONE SENTENCE.
  8. Obey.

Clipboard


Jul
7
comment Is there a trick to reduce the number of counters in the following case?
Sorry, I switched to egreg's solution because of the minimal number of used characters.
Jul
7
comment Making an odd shaped table
Lucas, you need to finalize your previous questions to increase your accept rate as 0% accept rate is not good. For each of your previous questions, please decide the best answer and give it a green check mark.
Jul
7
comment Is there a trick to reduce the number of counters in the following case?
@RyanReich: OK. Thanks. I will learn the extension later after grasping Knuth's original TeX.
Jul
7
comment Is there a trick to reduce the number of counters in the following case?
The most compact solution!
Jul
7
accepted Is there a trick to reduce the number of counters in the following case?
Jul
6
comment Is there a trick to reduce the number of counters in the following case?
Defining \printpage seems to be unnecessary. Why don't you put its body directly into the first \ifnum?
Jul
6
comment Is there a trick to reduce the number of counters in the following case?
Who can compile it? I cannot.
Jul
6
revised Is there a trick to reduce the number of counters in the following case?
added 93 characters in body
Jul
6
comment Is there a trick to reduce the number of counters in the following case?
\pages=1 does not work. :-)
Jul
6
comment Is there a trick to reduce the number of counters in the following case?
No performance drawback?
Jul
6
asked Is there a trick to reduce the number of counters in the following case?
Jul
6
accepted How to attach a 2D rectangular image to a 3D curved surface with TikZ or PSTricks?
Jul
6
comment Is there a LaTeX trick to prevent a PDF viewer from copying the line number?
Note again: Compressing the PDF with gswin64c -sDEVICE=pdfwrite -dCompatibilityLevel=1.5 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=%1.pdf %1-temp.pdf will make the output no longer behave as expected.
Jul
6
accepted How to automatically arrange an unknown number of images?
Jul
6
answered What makes a loop inside \IfFileExists fail?
Jul
6
comment Teach me how to use \loop…\repeat constructs, etc
My answer based on combining the existing answers.
Jul
6
accepted Teach me how to use \loop…\repeat constructs, etc
Jul
6
revised Teach me how to use \loop…\repeat constructs, etc
added 3 characters in body
Jul
6
answered Teach me how to use \loop…\repeat constructs, etc
Jul
6
comment Teach me how to use \loop…\repeat constructs, etc
@egreg: I want to make the answer given by JLDiaz still work if I enclose it with \IfFileExists.