Search found 9 matches

by hkyz
Mon Feb 25, 2013 1:10 am
Forum: Graphics, Figures & Tables
Topic: Text selectable in Output after clipping
Replies: 0
Views: 1971

Text selectable in Output after clipping

I have a TikZ figure whose code I don't want to modify. I want some parts of this figure not to be displayed. So, I add a clipping code at the beginning. However, the texts in the clipped sections are still visible in the produced PDF if selected by mouse.

Consider the following minimal code ...
by hkyz
Thu Feb 14, 2013 12:09 am
Forum: General
Topic: New Command with Arguments in Parentheses
Replies: 2
Views: 5660

Re: New Command with Arguments in Parentheses

Thanks for the answer.
by hkyz
Mon Feb 11, 2013 6:14 am
Forum: General
Topic: New Command with Arguments in Parentheses
Replies: 2
Views: 5660

New Command with Arguments in Parentheses

I want to overload a definition with three variations using arguments in parenthesis. Something like the non-working code below:
\documentclass{article}

\def\f{F}
\def\f(#1){F(#1)}
\def\f(#1,#2){F_{#1}^{#2}}

\begin{document}

$\f$
$\f(1)$
$\f(1,2)$

\end{document}
Any ideas on how to do such a ...
by hkyz
Mon Nov 05, 2012 12:04 am
Forum: General
Topic: Appendix in the Middle of a Document
Replies: 2
Views: 4157

Appendix in the Middle of a Document

Are there any means to write appendices in the middle of the document, yet they will be appended at the end of document?

What I want to achieve is something like this:


\documentclass{article}
\begin{document}

\section{Section A}
See Appendix A.

\begin{appendix} %%%
\section{Appendix A ...
by hkyz
Sat May 05, 2012 4:59 am
Forum: Page Layout
Topic: Set Page Size to Figure Size
Replies: 2
Views: 5216

Set Page Size to Figure Size

I want to produce a document consisting of a single tikZ figure.

\documentclass{article}
\usepackage{tikz}
\begin{document}
\pagestyle{empty}
\centering
\begin{tikzpicture}
\draw (0,0) arc (0:360:3cm);
\draw (0,0) arc (0:360:2cm);
\draw (-2,0) arc (0:360:2cm);
\draw (-1,-1) arc (0:360:2cm);
\draw ...
by hkyz
Sat May 05, 2012 4:38 am
Forum: Math & Science
Topic: Parentheses around a sigma sum with huge subscript
Replies: 3
Views: 5551

Re: Parentheses around a sigma sum with huge subscript

Stefan's solution works well. Thanks a lot.
by hkyz
Wed Apr 25, 2012 10:17 pm
Forum: Math & Science
Topic: Parentheses around a sigma sum with huge subscript
Replies: 3
Views: 5551

Parentheses around a sigma sum with huge subscript

Consider the the following expression:


\begin{equation}
A = \left( \sum_{\substack{i<B\\i<C\\i<D}}{i} \right)
\end{equation}


When latex renders it, there is significant empty space above the sigma sum that is covered by the parentheses. Any ideas on how to reduce the vertical size of the ...
by hkyz
Wed Apr 25, 2012 10:06 pm
Forum: Math & Science
Topic: Aligned Equations flushed left
Replies: 2
Views: 11009

Re: Aligned Equations flushed left

That did the trick. Thanks Stefan, both for the welcome and the answer.
by hkyz
Wed Apr 25, 2012 9:42 am
Forum: Math & Science
Topic: Aligned Equations flushed left
Replies: 2
Views: 11009

Aligned Equations flushed left

I want to write a multi-lined equation where the lines are aligned to the equal sign on the first line. I can do this with align*, for example:
\begin{align*}
a = & b + c + \\
& d + e
\end{align*}
Yielding to
a = b + c +
d + e
However, the result is horizontally centered on the page. I want the ...