Questions tagged [parbox]
177 questions
4
votes
1 answer
How to add margin inside a parbox?
I have create a parbox as below that I would like to have a margin between the border the text for top, bottom, left, and right:
\begin{center}\shadowbox{\parbox{0.85\textwidth}{text text text}}\end{center}
Can anyone enlighten me? Thanks!
lokheart
- 215
3
votes
1 answer
Automatically justify text in \parbox
The left part of the attached figure showes the nomal typeset of \parbox.
The first/second lines are fully filled with words, and the rest words are bent to the third line.
What interests me is: how to justify words of the last line autometically as…
lyl
- 2,727
3
votes
1 answer
How to align right every new line in latex parbox
How to align right every new line which I made using \ in parbox?
I've used parbox in latex for creating different part in latex business card.
On the left side I've used parbox and it is automatically left aligned.
How to create parbox on the right…
Matija Lukic
- 155
2
votes
1 answer
How to draw vertical line with exactly the height of a parbox next to it
I am trying to create small sections for a cv where the section name and a vertical line should be next to the content. The section name should be centered and the vertical line should be exactly the height of the content. This is the desired…
owmal
- 325
2
votes
3 answers
parbox in enumerate
The box is exceeds the right boundary probably because of the textwidth. I would like to have it aligned. Besides, what is \noindent for? Why it seems to be the same with or without it.
\begin{enumerate}
\item The Young King tells the story of the…
Tiina
- 491
2
votes
1 answer
Create "inner" and "outer" parbox
Is there a way to automate the mirroring of parboxes every time a new page occurs?
I have a \documentclass{book} that consists of two side-by-side \parbox. I would like one of the \parbox to always remain the "outer" and the other to always remain…
AML
- 2,265
1
vote
2 answers
What's the difference between [position]] and [inner-pos] parameters in \parbox?
I am trying to understand the documentation of \parbox (documentation link: http://www.emerson.emory.edu/services/latex/latex_147.html). However, I don't understand the difference between [position] and [inner-pos]. To use [position], you need to…
1
vote
2 answers
Make the line down in parbox
Why do I get a line in the middle?
\documentclass{article}
\begin{document}
%%\parbox[alignment][height][inner-alignment]{width}{text}
The answer is:\parbox[c][][b]{2cm}{\hrulefill}.\par
\end{document}
user77538
- 43
1
vote
1 answer
aligning text level of text and parbox where text is wrapped
I would like this:
With the Tex code at the bottom I obtain this:
Tex code:
\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{document}
Text1 \> \parbox{0.8\textwidth}{bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla…
User123456789
- 157
1
vote
1 answer
Parbox for longtext
I'm looking for basic way of placing long text into parbox or some other box which will break the page if needed.
Please take a look at my code. What is…
Luman75
- 225
1
vote
1 answer
vertical alignment of parbox one below the other
I want to align all the parboxes vertically so that the left corners are are equally offset from the dates which are in the left side
\documentclass{article}…
js bibra
- 21,280
1
vote
1 answer
Space above parbox too small when it has newlines
I have the following MWE:
\documentclass{article}
\begin{document}
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
\parbox{\linewidth}{
\centering\large
AAA qqq XXX \\
qqq AAA…
apriori
- 953
1
vote
1 answer
Text inside parbox is invisible
The text inside the \parbox isn't showing up on the compiled pdf. What is the solution to this problem?
Best regards from…
Ali.Mohamed
- 13
0
votes
0 answers
An automatic parbox
I want a box (or minipage) containing some lines to make a specific height.
Vertical spaces can be added automatically to fill between lines to adjust height.
The box has to be as close as possible to the right margin.
I was able to manage this…
InfiniteLooper
- 163
0
votes
0 answers
Parbox figure and linespacing adjustments
I need a table of 5 columns where the last column contains figures. When I use \parbox , the spacing between lines increases and the figures are not aligned under the lat column. How can I fix it please. Here is the code
\begin{table}[h]
\caption{…