Is there any way to trick latex to ignore the argument and to display only the value of?
You could simply redefine \ref so it will just printout its value, e.g.:
\renewcommand\ref[1]{#1}
or
\renewcommand\ref[1]{\textit{#1}}
or whatever you want.
Thanks.
That will definitely make my ...
Search found 30 matches
- Mon Jun 27, 2011 6:41 pm
- Forum: Text Formatting
- Topic: Get value of ref argument
- Replies: 2
- Views: 2540
- Mon Jun 27, 2011 6:37 pm
- Forum: Math & Science
- Topic: Double Label in 'flalign' Environment
- Replies: 3
- Views: 4324
Double Label in 'flalign' Environment
These labels do not make any sense at all since the starred version of this environment won't display equation numbers. Even if you could make it work, commands for cross reverences would yield simply nothing.
Thorsten
You are right about this.
But there are lots of non-star-version align ...
Thorsten
You are right about this.
But there are lots of non-star-version align ...
- Sun Jun 26, 2011 6:24 pm
- Forum: Text Formatting
- Topic: Get value of ref argument
- Replies: 2
- Views: 2540
Get value of ref argument
I have been given a book where the key of many references has been replaced with the real value.
For example instead of \ref{chonertwo} it writes \ref{1-2} (referencing to equation 1-2).
Of course this results to an error of missing reference.
Is there any way to trick latex to ignore the ...
For example instead of \ref{chonertwo} it writes \ref{1-2} (referencing to equation 1-2).
Of course this results to an error of missing reference.
Is there any way to trick latex to ignore the ...
- Sun Jun 26, 2011 6:17 pm
- Forum: Math & Science
- Topic: Double Label in 'flalign' Environment
- Replies: 3
- Views: 4324
Double Label in 'flalign' Environment
I have been given a book which contains many code blocks like the below
\begin{flalign*}
a_{11}& =b_{11}&
a_{12}& =b_{12}\\
a_{21}& =b_{21}&
a_{22}& =b_{22}+c_{22} \label{one} \label{two}
\end{flalign*}
containing more than one labels. This results to an error
! Package amsmath Error: Multiple ...
\begin{flalign*}
a_{11}& =b_{11}&
a_{12}& =b_{12}\\
a_{21}& =b_{21}&
a_{22}& =b_{22}+c_{22} \label{one} \label{two}
\end{flalign*}
containing more than one labels. This results to an error
! Package amsmath Error: Multiple ...
- Sat Jun 18, 2011 7:02 pm
- Forum: Graphics, Figures & Tables
- Topic: Vertical Line through entire Page
- Replies: 2
- Views: 8418
Vertical Line through entire Page
Thank you for your reply.
I can not specify the height of the minipage since the text is arbitrary. My ultimate goal is to create an environment where the text is surrounded by vertical lines.
I've tried solutions from existing packages like mdframed but none can be used with the multicol ...
I can not specify the height of the minipage since the text is arbitrary. My ultimate goal is to create an environment where the text is surrounded by vertical lines.
I've tried solutions from existing packages like mdframed but none can be used with the multicol ...
- Thu Jun 16, 2011 12:28 pm
- Forum: Graphics, Figures & Tables
- Topic: Vertical Line through entire Page
- Replies: 2
- Views: 8418
Vertical Line through entire Page
Hi,
how can I draw a line using the \rule command from the top of a minipage to the bottom of it?
The only possible way is to measure the text height inside the minipage?
Thank you
how can I draw a line using the \rule command from the top of a minipage to the bottom of it?
The only possible way is to measure the text height inside the minipage?
Thank you
- Wed May 11, 2011 7:19 pm
- Forum: Text Formatting
- Topic: Framed box spanning to 2 pages
- Replies: 2
- Views: 3350
Re: Framed box spanning to 2 pages
Thank you, mdframed is exactly what I need.
However, as also mentioned at documentation,
multicolumn environment is not yet supported.
So the question now is, if there's an alternative way
for creating a 2-column text (package or latex primitive)
without using the multicolumn.
However, as also mentioned at documentation,
multicolumn environment is not yet supported.
So the question now is, if there's an alternative way
for creating a 2-column text (package or latex primitive)
without using the multicolumn.
- Tue May 10, 2011 11:39 pm
- Forum: Text Formatting
- Topic: Framed box spanning to 2 pages
- Replies: 2
- Views: 3350
Framed box spanning to 2 pages
I would like to make a framed box
(a box surrounded by lines)
to include my "examples".
The problem is that I would like, if the text is long,
to span to the next page keeping the lines surrounded.
I've tried using a minipage inside a framebox but it doesn't span.
Is there any package to make so ...
(a box surrounded by lines)
to include my "examples".
The problem is that I would like, if the text is long,
to span to the next page keeping the lines surrounded.
I've tried using a minipage inside a framebox but it doesn't span.
Is there any package to make so ...
- Tue Mar 29, 2011 11:50 pm
- Forum: Text Formatting
- Topic: Noindent section first paragraph
- Replies: 7
- Views: 14062
Noindent section first paragraph
And it couldn't have done any harm if you would have told us that you compile with XeLaTeX.
As I stated I am only a novice user and I don't know what matters and what does not.
My only purpose for excluding such info was not to burden you with useless (as seemed to me) lines of code.
Anyway, I ...
As I stated I am only a novice user and I don't know what matters and what does not.
My only purpose for excluding such info was not to burden you with useless (as seemed to me) lines of code.
Anyway, I ...
- Tue Mar 29, 2011 7:44 pm
- Forum: Text Formatting
- Topic: Noindent section first paragraph
- Replies: 7
- Views: 14062
Noindent section first paragraph
You were right. This example works well.
I found by trial and error the package causing the misbehavior.
It is the {xgreek} package which I had removed from the original example
as I didn't thought it could be the one causing the problem
since it is used specifically for the Greek language only ...
I found by trial and error the package causing the misbehavior.
It is the {xgreek} package which I had removed from the original example
as I didn't thought it could be the one causing the problem
since it is used specifically for the Greek language only ...