3

I am preparing a poster with LaTeX and I want my blocks to be only half boxed to the bottom-right. Which means that I want to draw a half box made of only two lines. Can anyone help me?

  • Welcome to TeX.SX! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – Marco Daniel May 11 '13 at 16:59
4

enter image description here

\documentclass{article}

\def\fbx#1{\vbox{\hbox{\hbox{#1}\setbox0\lastbox\copy0\kern\fboxsep\vrule width\fboxrule depth\dimexpr \fboxsep+\dp0\relax}%
            \hrule height\fboxrule}}

\begin{document}

\fbx{hello} 

\bigskip

 \fbx{\parbox{3cm}{a a a a a a a a a a a a a a a a a a a a a}}

\end{document}
  • Thank you for your response, it did help me!! But I found another option also witch could do the same: \setbeamertemplate{blocks}[rounded]% [shadow=true] \begin{block}{Bloc arrondi et ombré} Un bloc avec option rounded et shadow Un peu d'ombre en plus\dots \end{block} – user30547 May 24 '13 at 12:23
  • @user30547 OK beamer is a big package and I don't know it that well, my answer just used basic tex commands but if beamer has something already that is good too. It may help other people to find that if you answer the question yourself and accept your answer rather than mine. (I can manage without the 15 points:-) – David Carlisle May 24 '13 at 12:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.